From 7cef6323d28adb6121de27676e8811bc9e1a50e8 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Mar 31 2020 09:37:10 +0000 Subject: import PackageKit-1.1.10-2.el7 --- diff --git a/SOURCES/PackageKit-0.3.8-Fedora-Vendor.conf.patch b/SOURCES/PackageKit-0.3.8-Fedora-Vendor.conf.patch new file mode 100644 index 0000000..c01865f --- /dev/null +++ b/SOURCES/PackageKit-0.3.8-Fedora-Vendor.conf.patch @@ -0,0 +1,46 @@ +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 7d59235..87b0dab 100644 --- a/SPECS/PackageKit.spec +++ b/SPECS/PackageKit.spec @@ -6,13 +6,13 @@ Summary: Package management service Name: PackageKit Version: 1.1.10 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2+ and LGPLv2+ URL: http://www.freedesktop.org/software/PackageKit/ Source0: http://www.freedesktop.org/software/PackageKit/releases/%{name}-%{version}.tar.xz -# CentOS specific: set Vendor.conf up for CentOS -Patch0: PackageKit-0.3.8-CentOS-Vendor.conf.patch +# Fedora-specific: set Vendor.conf up for Fedora. +Patch0: PackageKit-0.3.8-Fedora-Vendor.conf.patch Requires: %{name}-glib%{?_isa} = %{version}-%{release} Requires: PackageKit-backend @@ -248,7 +248,7 @@ systemctl disable packagekit-offline-update.service > /dev/null 2>&1 || : %exclude %{_libdir}/libpackagekit*.so.* %{_libdir}/packagekit-backend/libpk_backend_dummy.so %{_libdir}/packagekit-backend/libpk_backend_test_*.so -%ghost %verify(not md5 size mtime) %{_localstatedir}/lib/PackageKit/transactions.db +%ghost %verify(not md5 size mtime) %attr(0644,-,-) %{_localstatedir}/lib/PackageKit/transactions.db %{_datadir}/dbus-1/system-services/*.service %{_datadir}/dbus-1/interfaces/*.xml %{_unitdir}/packagekit-offline-update.service @@ -300,8 +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 +* Tue Aug 13 2019 Richard Hughes - 1.1.10-2 +- Fix rpmdb permission of transaction database file +- Resolves: #1701358 * Mon Apr 23 2018 Richard Hughes - 1.1.10-1 - New upstream release