[packages/dnf] disable some constants that do not exist in rpm5
glen
glen at pld-linux.org
Sun Jun 15 22:44:24 CEST 2014
commit ce7d4706b45ca82f4b992c344e370da65288035b
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sun Jun 15 23:43:49 2014 +0300
disable some constants that do not exist in rpm5
rpm5.patch | 14 +++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-)
---
diff --git a/rpm5.patch b/rpm5.patch
index af2a311..595db1a 100644
--- a/rpm5.patch
+++ b/rpm5.patch
@@ -1,11 +1,15 @@
---- dnf/dnf/base.py~ 2014-05-02 11:00:42.000000000 +0300
-+++ dnf/dnf/base.py 2014-06-15 20:38:11.739642641 +0300
-@@ -347,8 +347,7 @@
+--- dnf/dnf/base.py 2014-06-15 20:38:11.739642641 +0300
++++ ./dnf/base.py 2014-06-15 23:42:32.536552554 +0300
+@@ -345,10 +345,9 @@
+ 'nodocs': rpm.RPMTRANS_FLAG_NODOCS,
+ 'test': rpm.RPMTRANS_FLAG_TEST,
'justdb': rpm.RPMTRANS_FLAG_JUSTDB,
- 'nocontexts': rpm.RPMTRANS_FLAG_NOCONTEXTS,
- 'nocrypto' : rpm.RPMTRANS_FLAG_NOFILEDIGEST}
+- 'nocontexts': rpm.RPMTRANS_FLAG_NOCONTEXTS,
+- 'nocrypto' : rpm.RPMTRANS_FLAG_NOFILEDIGEST}
- _TS_VSFLAGS_TO_RPM = {'nocrypto' : rpm._RPMVSF_NOSIGNATURES |
- rpm._RPMVSF_NODIGESTS }
++ 'nocontexts': 0,
++ 'nocrypto' : 0}
+ _TS_VSFLAGS_TO_RPM = {'nocrypto' : rpm.RPMVSF_NODSAHEADER }
@property
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/dnf.git/commitdiff/ce7d4706b45ca82f4b992c344e370da65288035b
More information about the pld-cvs-commit
mailing list