]> git.pld-linux.org Git - packages/dnf.git/commitdiff
disable some constants that do not exist in rpm5
authorElan Ruusamäe <glen@delfi.ee>
Sun, 15 Jun 2014 20:43:49 +0000 (23:43 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Sun, 15 Jun 2014 20:43:49 +0000 (23:43 +0300)
rpm5.patch

index af2a311ed1e24ddf90fe4daaf0e0f2e7369413d8..595db1aaf98bff190942eab2bddabe5bcc4ae4c4 100644 (file)
@@ -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
This page took 0.192983 seconds and 4 git commands to generate.