Ordering fixes
This commit is contained in:
parent
ca3040616f
commit
dd6c0d19b9
17
rpm-4.4.1-ordererase.patch
Normal file
17
rpm-4.4.1-ordererase.patch
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
--- rpm-4.4.1/lib/rpminstall.c.ordererase 2004-11-28 20:52:43.000000000 +0000
|
||||||
|
+++ rpm-4.4.1/lib/rpminstall.c 2005-04-27 15:56:11.000000000 +0100
|
||||||
|
@@ -835,14 +835,12 @@
|
||||||
|
ps = rpmpsFree(ps);
|
||||||
|
}
|
||||||
|
|
||||||
|
-#ifdef NOTYET
|
||||||
|
if (!stopUninstall && !(ia->installInterfaceFlags & INSTALL_NOORDER)) {
|
||||||
|
if (rpmtsOrder(ts)) {
|
||||||
|
numFailed += numPackages;
|
||||||
|
stopUninstall = 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
-#endif
|
||||||
|
|
||||||
|
if (!stopUninstall) {
|
||||||
|
(void) rpmtsSetFlags(ts, (rpmtsFlags(ts) | RPMTRANS_FLAG_REVERSE));
|
10
rpm.spec
10
rpm.spec
@ -20,7 +20,7 @@ Name: rpm
|
|||||||
%define version 4.4.1
|
%define version 4.4.1
|
||||||
Version: %{version}
|
Version: %{version}
|
||||||
%{expand: %%define rpm_version %{version}}
|
%{expand: %%define rpm_version %{version}}
|
||||||
Release: 10
|
Release: 11
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
Source: ftp://jbj.org/pub/rpm-devel/rpm-%{rpm_version}.tar.gz
|
Source: ftp://jbj.org/pub/rpm-devel/rpm-%{rpm_version}.tar.gz
|
||||||
Patch0: rpm-4.4.1-posttrans.patch
|
Patch0: rpm-4.4.1-posttrans.patch
|
||||||
@ -30,6 +30,8 @@ Patch3: rpm-4.4.1-read-macro.patch
|
|||||||
Patch4: rpm-4.4.1-fileconflicts.patch
|
Patch4: rpm-4.4.1-fileconflicts.patch
|
||||||
Patch5: rpm-4.4.1-prereq.patch
|
Patch5: rpm-4.4.1-prereq.patch
|
||||||
Patch6: rpm-4.4.1-nonmerged.patch
|
Patch6: rpm-4.4.1-nonmerged.patch
|
||||||
|
Patch7: rpm-4.4.1-prepostun.patch
|
||||||
|
Patch8: rpm-4.4.1-ordererase.patch
|
||||||
License: GPL
|
License: GPL
|
||||||
Conflicts: patch < 2.5
|
Conflicts: patch < 2.5
|
||||||
%ifos linux
|
%ifos linux
|
||||||
@ -145,6 +147,8 @@ shell-like rules.
|
|||||||
%patch4 -p1 -b .fileconflicts
|
%patch4 -p1 -b .fileconflicts
|
||||||
%patch5 -p1 -b .prereq
|
%patch5 -p1 -b .prereq
|
||||||
%patch6 -p1
|
%patch6 -p1
|
||||||
|
%patch7 -p1 -b .prepostun
|
||||||
|
%patch8 -p1 -b .ordererase
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
@ -515,6 +519,10 @@ exit 0
|
|||||||
%{__includedir}/popt.h
|
%{__includedir}/popt.h
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Apr 27 2005 Paul Nasrat <pnasrat@redhat.com> - 4.4.1-11
|
||||||
|
- Fix for (pre,postun) (#155700)
|
||||||
|
- Erase ordering
|
||||||
|
|
||||||
* Wed Apr 27 2005 Jeremy Katz <katzj@redhat.com> - 4.4.1-10
|
* Wed Apr 27 2005 Jeremy Katz <katzj@redhat.com> - 4.4.1-10
|
||||||
- add patch to fix segfault with non-merged hdlists
|
- add patch to fix segfault with non-merged hdlists
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user