[packages/poldek/erase_order] remove --noorder option during package removal
draenog
draenog at pld-linux.org
Thu Sep 19 18:01:40 CEST 2013
commit 6918f496e398bd0e4d6ea6750588cace337697ac
Author: Kacper Kornet <draenog at pld-linux.org>
Date: Thu Sep 19 16:57:55 2013 +0100
remove --noorder option during package removal
Don't prevent package reordering by rpm so the orphan directories are
not left behind.
poldek-noorder.patch | 13 +++++++++++++
poldek.spec | 2 ++
2 files changed, 15 insertions(+)
---
diff --git a/poldek.spec b/poldek.spec
index 95ee271..aacb3df 100644
--- a/poldek.spec
+++ b/poldek.spec
@@ -41,6 +41,7 @@ Source102: %{name}-debuginfo-snap.conf
Patch0: %{name}-size-type.patch
Patch1: %{name}-Os-fail-workaround.patch
Patch2: %{name}-config.patch
+Patch3: %{name}-noorder.patch
URL: http://poldek.pld-linux.org/
BuildRequires: %{db_pkg}-devel >= %{ver_db}-%{ver_db_rel}
BuildRequires: autoconf
@@ -206,6 +207,7 @@ Moduły języka Python dla poldka.
%patch0 -p1
%patch1 -p1
%patch2 -p1
+%patch3 -p1
%{__rm} m4/libtool.m4 m4/lt*.m4
diff --git a/poldek-noorder.patch b/poldek-noorder.patch
new file mode 100644
index 0000000..1c4fab3
--- /dev/null
+++ b/poldek-noorder.patch
@@ -0,0 +1,13 @@
+diff --git a/pm/rpm/rpminstall.c b/pm/rpm/rpminstall.c
+index c128216..7a77f2c 100644
+--- a/pm/rpm/rpminstall.c
++++ b/pm/rpm/rpminstall.c
+@@ -534,8 +534,6 @@ int pm_rpm_packages_uninstall(struct pkgdb *db, const tn_array *pkgs,
+ argv[nargs++] = (char*)ts->rootdir;
+ }
+
+- argv[nargs++] = "--noorder";
+-
+ if (ts->rpmopts)
+ for (i=0; i<n_array_size(ts->rpmopts); i++)
+ argv[nargs++] = n_array_nth(ts->rpmopts, i);
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/poldek.git/commitdiff/6918f496e398bd0e4d6ea6750588cace337697ac
More information about the pld-cvs-commit
mailing list