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:
Silvan Calarco 2024-01-05 17:29:05 +01:00
parent 84c200a1e3
commit 635a245c61
2 changed files with 18 additions and 2 deletions

View 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,

View File

@ -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
@ -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