From a927dbf2a2acebd5e87148fda7d6ca9e006557f2 Mon Sep 17 00:00:00 2001 From: Johnny Hughes Date: Nov 04 2018 17:24:13 +0000 Subject: Manual CentOS Debranding --- diff --git a/SOURCES/CentOS-Vendor-Branding.patch b/SOURCES/CentOS-Vendor-Branding.patch new file mode 100644 index 0000000..0eca3b6 --- /dev/null +++ b/SOURCES/CentOS-Vendor-Branding.patch @@ -0,0 +1,12 @@ +diff -uNrp PackageKit-1.1.5.orig/etc/Vendor.conf PackageKit-1.1.5/etc/Vendor.conf +--- PackageKit-1.1.5.orig/etc/Vendor.conf 2016-01-05 09:48:43.000000000 +0000 ++++ PackageKit-1.1.5/etc/Vendor.conf 2018-05-09 12:02:03.199032600 +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=none + + # 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 diff --git a/SOURCES/PackageKit-0.3.8-Fedora-Vendor.conf.patch b/SOURCES/PackageKit-0.3.8-Fedora-Vendor.conf.patch deleted file mode 100644 index c01865f..0000000 --- a/SOURCES/PackageKit-0.3.8-Fedora-Vendor.conf.patch +++ /dev/null @@ -1,46 +0,0 @@ -diff --git a/etc/Vendor.conf b/etc/Vendor.conf -index 69f7337..6c6f772 100644 ---- a/etc/Vendor.conf -+++ b/etc/Vendor.conf -@@ -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-package-not-found.html - # 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 a00e2f9..7d59235 100644 --- a/SPECS/PackageKit.spec +++ b/SPECS/PackageKit.spec @@ -11,8 +11,8 @@ License: GPLv2+ and LGPLv2+ URL: http://www.freedesktop.org/software/PackageKit/ Source0: http://www.freedesktop.org/software/PackageKit/releases/%{name}-%{version}.tar.xz -# Fedora-specific: set Vendor.conf up for Fedora. -Patch0: PackageKit-0.3.8-Fedora-Vendor.conf.patch +# CentOS specific: set Vendor.conf up for CentOS +Patch0: PackageKit-0.3.8-CentOS-Vendor.conf.patch Requires: %{name}-glib%{?_isa} = %{version}-%{release} Requires: PackageKit-backend @@ -300,6 +300,9 @@ systemctl disable packagekit-offline-update.service > /dev/null 2>&1 || : %{_datadir}/vala/vapi/packagekit-glib2.vapi %changelog +* Sun Nov 4 2018 Johnny Hughes - 1.1.10-1 +- Manual CentOS Debranding + * Mon Apr 23 2018 Richard Hughes - 1.1.10-1 - New upstream release - Resolves: #1576494