]> git.pld-linux.org Git - packages/rpm.git/commitdiff
python: export rpm.RPMSENSE_MISSINGOK auto/th/rpm-5.4.10-50
authorElan Ruusamäe <glen@delfi.ee>
Sat, 27 Apr 2013 19:22:33 +0000 (22:22 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Sat, 27 Apr 2013 19:22:33 +0000 (22:22 +0300)
python-rpmsense-missingok.patch [new file with mode: 0644]
rpm.spec

diff --git a/python-rpmsense-missingok.patch b/python-rpmsense-missingok.patch
new file mode 100644 (file)
index 0000000..d9a0731
--- /dev/null
@@ -0,0 +1,12 @@
+--- rpm-5.4.10/python/rpmmodule.c~     2013-04-27 22:07:40.000000000 +0300
++++ rpm-5.4.10/python/rpmmodule.c      2013-04-27 22:07:54.410867637 +0300
+@@ -500,6 +500,9 @@
+     REGISTER_ENUM(RPMSENSE_SCRIPT_PREUN);
+     REGISTER_ENUM(RPMSENSE_SCRIPT_POSTUN)
+ #endif
++#if defined(RPM_VENDOR_PLD)
++    REGISTER_ENUM(RPMSENSE_MISSINGOK);
++#endif
+     REGISTER_ENUM(RPMDEPS_FLAG_NOUPGRADE);
+     REGISTER_ENUM(RPMDEPS_FLAG_NOREQUIRES);
index ae96ff8fa2e43710bf5bbe0392a3609dbc04bc71..c5a40ae8ab3d20433177fa1e1d254b5f7b858a77 100644 (file)
--- a/rpm.spec
+++ b/rpm.spec
@@ -52,7 +52,7 @@ Summary(ru.UTF-8):    Менеджер пакетов от RPM
 Summary(uk.UTF-8):     Менеджер пакетів від RPM
 Name:          rpm
 Version:       5.4.10
-Release:       49
+Release:       50
 License:       LGPL
 Group:         Base
 # http://rpm5.org/files/rpm/rpm-5.4/rpm-5.4.10-0.20120706.src.rpm
@@ -161,6 +161,7 @@ Patch66:    %{name}-payload-use-hashed-inode.patch
 Patch67:       rpm-repackage-dont-force-max-compression.patch
 Patch68:       rubyprov-archdirs.patch
 Patch69:       rubyprov-abi-versioned.patch
+Patch70:       python-rpmsense-missingok.patch
 
 # Patches imported from Mandriva
 
@@ -886,6 +887,7 @@ Dokumentacja API RPM-a oraz przewodniki w formacie HTML generowane ze
 %patch65 -p1
 %patch66 -p1
 %patch67 -p1
+%patch70 -p1
 
 %patch1000 -p1
 %patch1001 -p1
This page took 0.966854 seconds and 4 git commands to generate.