diff --git a/SOURCES/reenable-signature-checking.patch b/SOURCES/reenable-signature-checking.patch new file mode 100644 index 0000000..bf73f12 --- /dev/null +++ b/SOURCES/reenable-signature-checking.patch @@ -0,0 +1,18 @@ +commit 8b5d5b4a7b91296f48f0514f6b5c1fea585d9a65 +Author: chantra +Date: Wed Mar 30 09:35:15 2022 -0700 + + Re-enable signature checking + + With https://github.com/chantra/rpm/commit/dc53b002bd3d03a21e9af406a9aff5e588710b5b we can now check digest + +diff --git a/reflink.py b/reflink.py +index 1af26ce..872844f 100644 +--- a/reflink.py ++++ b/reflink.py +@@ -24,5 +24,3 @@ class DnfReflink(dnf.Plugin): + return + if os.path.exists(TRANSCODER): + os.environ["LIBREPO_TRANSCODE_RPMS"] = f"{TRANSCODER} SHA256" +- # T76079288 +- rpm.addMacro("_pkgverify_level", "none") diff --git a/SPECS/dnf-plugin-cow.spec b/SPECS/dnf-plugin-cow.spec index e46a5fb..c34f7bd 100644 --- a/SPECS/dnf-plugin-cow.spec +++ b/SPECS/dnf-plugin-cow.spec @@ -1,7 +1,7 @@ %{!?dnf_lowest_compatible: %global dnf_lowest_compatible 4.2.23} Name: dnf-plugin-cow Version: 0.0.3 -Release: 2%{?dist} +Release: 3%{?dist} Summary: DNF plugin to enable Copy on Write in RPM URL: https://github.com/facebookincubator/dnf-plugin-cow License: MIT @@ -12,6 +12,9 @@ BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-dnf >= %{dnf_lowest_compatible} +Patch0: reenable-signature-checking.patch +Provides: dnf-plugin-cow(pr5) + %description Source package for DNF plugin to enable Copy on Write in DNF and RPM. @@ -52,6 +55,9 @@ install -D -p reflink.py %{buildroot}%{python3_sitelib}/dnf-plugins/reflink.py %{python3_sitelib}/dnf-plugins/__pycache__/reflink.* %changelog +* Mon Jun 13 2022 Manu Bretelle 0.0.3-3 +- Re-enable rpm signature validation + * Wed Mar 02 2022 Manu Bretelle 0.0.3-2 - Repackage for hyperscale experimental repos.