diff --git a/SOURCES/PackageKit-0.3.8-RHEL-Vendor.conf.patch b/SOURCES/PackageKit-0.3.8-RHEL-Vendor.conf.patch new file mode 100644 index 0000000..5eaec51 --- /dev/null +++ b/SOURCES/PackageKit-0.3.8-RHEL-Vendor.conf.patch @@ -0,0 +1,45 @@ +diff -urNp PackageKit-0.8.14.old/etc/Vendor.conf PackageKit-0.8.14/etc/Vendor.conf +--- PackageKit-0.8.14.old/etc/Vendor.conf 2013-12-02 15:14:19.644838900 +0000 ++++ PackageKit-0.8.14/etc/Vendor.conf 2013-12-02 15:15:26.956925038 +0000 +@@ -12,7 +12,7 @@ + # If the value is set to 'none' then no link is shown. + # + # default=http://www.packagekit.org/pk-package-not-found.html +-DefaultUrl=http://www.packagekit.org/pk-package-not-found.html ++DefaultUrl=https://access.redhat.com/site/solutions/537113#Missing_Package + + # The URL which is shown to the user when a codec could not be found. + # It should explain why certain codecs cannot be used, and perhaps show +@@ -21,7 +21,7 @@ DefaultUrl=http://www.packagekit.org/pk- + # If the value is set to 'none' then the value of DefaultUrl is used. + # + # default=none +-CodecUrl=none ++CodecUrl=https://access.redhat.com/site/solutions/537113#Missing_Codec + + # The URL which is shown to the user when hardware drivers could not be found. + # It should explain why some hardware is not supported, and links to futher +@@ -30,7 +30,7 @@ CodecUrl=none + # If the value is set to 'none' then the value of DefaultUrl is used. + # + # default=none +-HardwareUrl=none ++HardwareUrl=https://access.redhat.com/site/solutions/537113#Missing_Driver + + # The URL which is shown to the user when fonts could not be found. + # Alternatives should probably be suggested where possible. +@@ -38,7 +38,7 @@ HardwareUrl=none + # If the value is set to 'none' then the value of DefaultUrl is used. + # + # default=none +-FontUrl=none ++FontUrl=https://access.redhat.com/site/solutions/537113#Missing_Font + + # The URL which is shown to the user when programs handing a mime tpye could not + # be found. It should probably explain how to use wine if the program is a +@@ -47,4 +47,4 @@ FontUrl=none + # If the value is set to 'none' then the value of DefaultUrl is used. + # + # default=none +-MimeUrl=none ++MimeUrl=https://access.redhat.com/site/solutions/537113#Missing_MIME_Support diff --git a/SPECS/PackageKit.spec b/SPECS/PackageKit.spec index 13fbb9f..d318a41 100644 --- a/SPECS/PackageKit.spec +++ b/SPECS/PackageKit.spec @@ -6,11 +6,17 @@ Summary: Package management service Name: PackageKit Version: 1.2.6 -Release: 2.0.1%{?dist} +Release: 2%{?dist} License: GPL-2.0-or-later AND LGPL-2.1-or-later URL: http://www.freedesktop.org/software/PackageKit/ Source0: http://www.freedesktop.org/software/PackageKit/releases/%{name}-%{version}.tar.xz +%if 0%{?fedora} +Patch0: PackageKit-0.3.8-Fedora-Vendor.conf.patch +%elif 0%{?rhel} +Patch0: PackageKit-0.3.8-RHEL-Vendor.conf.patch +%endif + # https://pagure.io/fedora-workstation/issue/233 # https://github.com/PackageKit/PackageKit/pull/404 Patch1: package-remove-password-prompt.patch @@ -253,9 +259,6 @@ systemctl disable packagekit-offline-update.service > /dev/null 2>&1 || : %{_datadir}/vala/vapi/packagekit-glib2.deps %changelog -* Wed Apr 29 2026 EL Errata - 1.2.6-2.0.1 -- remove RHEL vendor patch PackageKit-0.3.8-RHEL-Vendor.conf.patch - * Mon Apr 27 2026 Richard Hughes - 1.2.6-2 - Backport fix for CVE-2026-41651. - Resolves: #RHEL-170502