[packages/rpm] python: export rpm.RPMSENSE_MISSINGOK
glen
glen at pld-linux.org
Sat Apr 27 21:23:02 CEST 2013
commit 4cfbd61fc1e3e0ba1540650eb73543e1c0a0beb4
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sat Apr 27 22:22:33 2013 +0300
python: export rpm.RPMSENSE_MISSINGOK
python-rpmsense-missingok.patch | 12 ++++++++++++
rpm.spec | 4 +++-
2 files changed, 15 insertions(+), 1 deletion(-)
---
diff --git a/rpm.spec b/rpm.spec
index ae96ff8..c5a40ae 100644
--- 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
diff --git a/python-rpmsense-missingok.patch b/python-rpmsense-missingok.patch
new file mode 100644
index 0000000..d9a0731
--- /dev/null
+++ b/python-rpmsense-missingok.patch
@@ -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);
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/rpm.git/commitdiff/4cfbd61fc1e3e0ba1540650eb73543e1c0a0beb4
More information about the pld-cvs-commit
mailing list