diff --git a/rpm-5.2.1-rpmdb-yum-disable-assert.patch b/rpm-5.2.1-rpmdb-yum-disable-assert.patch new file mode 100644 index 0000000..ee40a5f --- /dev/null +++ b/rpm-5.2.1-rpmdb-yum-disable-assert.patch @@ -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, diff --git a/rpm.spec b/rpm.spec index 0c4a815..d9ce8cf 100644 --- a/rpm.spec +++ b/rpm.spec @@ -33,7 +33,7 @@ Name: rpm Version: 5.2.1 -Release: 30mamba +Release: 31mamba Summary: The RPM package management system Group: System/Management 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 Patch67: rpm-5.2.1-dont-fail-on-postun.patch Patch68: rpm-5.2.1-file-5.30.patch +Patch69: rpm-5.2.1-rpmdb-yum-disable-assert.patch License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel @@ -256,7 +257,7 @@ This package should be installed if you want to develop Python programs that wil %prep %setup -q -n rpm-%{version} -# -D -T +#-D -T #:<< _EOF %patch0 -p1 -b .configure_openmamba %patch2 -p1 -b .macrodirs @@ -311,6 +312,7 @@ This package should be installed if you want to develop Python programs that wil %patch66 -p1 %patch67 -p1 %patch68 -p1 +%patch69 -p1 mkdir platform-macros cd platform-macros @@ -632,6 +634,9 @@ fi %endif %changelog +* Sat Aug 26 2017 Silvan Calarco 5.2.1-31mamba +- added a patch to remove an assert and fix package installation with yum + * Fri Mar 03 2017 Silvan Calarco 5.2.1-30mamba - added patch for file 5.30