1 --- dnf/dnf/base.py~ 2014-12-09 13:36:18.000000000 +0200
2 +++ dnf/dnf/base.py 2015-01-31 19:34:11.698771194 +0200
4 'nodocs': rpm.RPMTRANS_FLAG_NODOCS,
5 'test': rpm.RPMTRANS_FLAG_TEST,
6 'justdb': rpm.RPMTRANS_FLAG_JUSTDB,
7 - 'nocontexts': rpm.RPMTRANS_FLAG_NOCONTEXTS,
8 - 'nocrypto' : rpm.RPMTRANS_FLAG_NOFILEDIGEST}
9 - _TS_VSFLAGS_TO_RPM = {'nocrypto' : rpm._RPMVSF_NOSIGNATURES |
10 - rpm._RPMVSF_NODIGESTS}
13 + _TS_VSFLAGS_TO_RPM = {'nocrypto' : rpm.RPMVSF_NODSAHEADER }
19 installroot = self.conf.installroot
20 myts = dnf.rpm.transaction.initReadOnlyTransaction(root=installroot)
21 - myts.pushVSFlags(~(rpm._RPMVSF_NOSIGNATURES|rpm._RPMVSF_NODIGESTS))
22 + myts.pushVSFlags(~rpm.RPMVSF_NODSAHEADER)
23 idx = myts.dbMatch('name', 'gpg-pubkey')
26 --- dnf/dnf/rpm/transaction.py~ 2014-12-09 13:36:18.000000000 +0200
27 +++ dnf/dnf/rpm/transaction.py 2015-01-31 19:37:26.945547832 +0200
30 def initReadOnlyTransaction(root='/'):
31 read_ts = TransactionWrapper(root=root)
32 - read_ts.pushVSFlags((rpm._RPMVSF_NOSIGNATURES|rpm._RPMVSF_NODIGESTS))
33 + read_ts.pushVSFlags(rpm.RPMVSF_NODSAHEADER)
35 --- dnf/dnf/rpm/__init__.py~ 2014-12-09 13:36:18.000000000 +0200
36 +++ dnf/dnf/rpm/__init__.py 2015-01-31 19:36:50.920349099 +0200
38 """Calculate the release version for the system. :api"""
40 ts = transaction.initReadOnlyTransaction(root=installroot)
41 - ts.pushVSFlags(~(rpm._RPMVSF_NOSIGNATURES|rpm._RPMVSF_NODIGESTS))
42 + ts.pushVSFlags(~rpm.RPMVSF_NODSAHEADER)
43 for distroverpkg in dnf.const.DISTROVERPKG:
45 idx = ts.dbMatch('provides', distroverpkg)