diff --git a/PackageKit-1.1.6-yumBackend-override_sigchecks.patch b/PackageKit-1.1.6-yumBackend-override_sigchecks.patch new file mode 100644 index 0000000..5e27419 --- /dev/null +++ b/PackageKit-1.1.6-yumBackend-override_sigchecks.patch @@ -0,0 +1,12 @@ +diff -Nru PackageKit-1.1.6.orig/backends/yum/yumBackend.py PackageKit-1.1.6/backends/yum/yumBackend.py +--- PackageKit-1.1.6.orig/backends/yum/yumBackend.py 2016-09-02 10:05:30.000000000 +0200 ++++ PackageKit-1.1.6/backends/yum/yumBackend.py 2017-11-15 02:28:33.226701894 +0100 +@@ -1710,7 +1710,7 @@ + + if hasattr(self.yumbase, "_override_sigchecks"): + # _override_sigchecks logic is reversed +- override_sigchecks = not only_trusted ++ override_sigchecks = 1 + + self.yumbase._override_sigchecks = override_sigchecks + diff --git a/PackageKit.spec b/PackageKit.spec index d157de4..43430de 100644 --- a/PackageKit.spec +++ b/PackageKit.spec @@ -1,6 +1,6 @@ Name: PackageKit Version: 1.1.6 -Release: 1mamba +Release: 2mamba Summary: A system designed to make installing and updating software on your computer easier Group: System/Management Vendor: openmamba @@ -22,6 +22,7 @@ Patch10: %{name}-0.6.21-revert_utf8_for_smart.patch Patch11: PackageKit-0.6.22-display_smart_errors_as_html.patch Patch12: PackageKit-0.8.11-smartBackend-fix-remove-packages.patch Patch13: PackageKit-0.9.5-smartBackend-correctly-raise-exceptions.patch +Patch14: PackageKit-1.1.6-yumBackend-override_sigchecks.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel @@ -179,6 +180,7 @@ This package contains static libraries and header files need for development. ##%patch12 -p1 ##%patch13 -p1 #sed -i "s|/usr/bin/python$|/usr/bin/python%{python27_version}|" backends/smart/smartBackend.py +%patch14 -p1 %build %configure \ @@ -294,6 +296,9 @@ rm -f %{buildroot}/var/lib/PackageKit/transactions.db #%{_libdir}/pkgconfig/packagekit-plugin.pc %changelog +* Wed Nov 15 2017 Silvan Calarco 1.1.6-2mamba +- yum backend: patched to enable overriding signature checks + * Sat Aug 26 2017 Silvan Calarco 1.1.6-1mamba - update to 1.1.6