added a patch to remove an assert and fix package installation with yum [release 5.2.1-31mamba;Sat Aug 26 2017]
This commit is contained in:
parent
84c200a1e3
commit
635a245c61
11
rpm-5.2.1-rpmdb-yum-disable-assert.patch
Normal file
11
rpm-5.2.1-rpmdb-yum-disable-assert.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- rpm-5.2.1/rpmdb/rpmdb.c.orig 2017-08-26 13:28:12.065070738 +0200
|
||||||
|
+++ rpm-5.2.1/rpmdb/rpmdb.c 2017-08-26 13:17:01.920477505 +0200
|
||||||
|
@@ -2554,7 +2554,7 @@
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
/* Iterating Packages database. */
|
||||||
|
- assert(mi->mi_rpmtag == RPMDBI_PACKAGES);
|
||||||
|
+// assert(mi->mi_rpmtag == RPMDBI_PACKAGES);
|
||||||
|
|
||||||
|
/* Fetch header with DB_NEXT. */
|
||||||
|
/* Instance 0 is the largest header instance in the database,
|
9
rpm.spec
9
rpm.spec
@ -33,7 +33,7 @@
|
|||||||
|
|
||||||
Name: rpm
|
Name: rpm
|
||||||
Version: 5.2.1
|
Version: 5.2.1
|
||||||
Release: 30mamba
|
Release: 31mamba
|
||||||
Summary: The RPM package management system
|
Summary: The RPM package management system
|
||||||
Group: System/Management
|
Group: System/Management
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -104,6 +104,7 @@ Patch65: rpm-5.2.1-build-fix-arm.patch
|
|||||||
Patch66: rpm-5.2.1-find_lang_support_localized_qt_and_man_files.patch
|
Patch66: rpm-5.2.1-find_lang_support_localized_qt_and_man_files.patch
|
||||||
Patch67: rpm-5.2.1-dont-fail-on-postun.patch
|
Patch67: rpm-5.2.1-dont-fail-on-postun.patch
|
||||||
Patch68: rpm-5.2.1-file-5.30.patch
|
Patch68: rpm-5.2.1-file-5.30.patch
|
||||||
|
Patch69: rpm-5.2.1-rpmdb-yum-disable-assert.patch
|
||||||
License: LGPL
|
License: LGPL
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
@ -256,7 +257,7 @@ This package should be installed if you want to develop Python programs that wil
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n rpm-%{version}
|
%setup -q -n rpm-%{version}
|
||||||
# -D -T
|
#-D -T
|
||||||
#:<< _EOF
|
#:<< _EOF
|
||||||
%patch0 -p1 -b .configure_openmamba
|
%patch0 -p1 -b .configure_openmamba
|
||||||
%patch2 -p1 -b .macrodirs
|
%patch2 -p1 -b .macrodirs
|
||||||
@ -311,6 +312,7 @@ This package should be installed if you want to develop Python programs that wil
|
|||||||
%patch66 -p1
|
%patch66 -p1
|
||||||
%patch67 -p1
|
%patch67 -p1
|
||||||
%patch68 -p1
|
%patch68 -p1
|
||||||
|
%patch69 -p1
|
||||||
|
|
||||||
mkdir platform-macros
|
mkdir platform-macros
|
||||||
cd platform-macros
|
cd platform-macros
|
||||||
@ -632,6 +634,9 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Aug 26 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 5.2.1-31mamba
|
||||||
|
- added a patch to remove an assert and fix package installation with yum
|
||||||
|
|
||||||
* Fri Mar 03 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 5.2.1-30mamba
|
* Fri Mar 03 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 5.2.1-30mamba
|
||||||
- added patch for file 5.30
|
- added patch for file 5.30
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user