[PackageKit] Rework the manaully added requires so that PackageKit-glib doesn't

Richard Hughes rhughes at fedoraproject.org
Mon Sep 17 14:49:08 UTC 2012


commit 38fbad9316cf374d367f78fb66ad64773a86cfaf
Author: Richard Hughes <richard at hughsie.com>
Date:   Mon Sep 17 15:52:04 2012 +0100

    Rework the manaully added requires so that PackageKit-glib doesn't
    
      pull in so many deps.

 PackageKit.spec |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/PackageKit.spec b/PackageKit.spec
index 886484c..0562c65 100644
--- a/PackageKit.spec
+++ b/PackageKit.spec
@@ -3,7 +3,7 @@
 Summary:   Package management service
 Name:      PackageKit
 Version:   0.8.3
-Release:   2%{?dist}
+Release:   3%{?dist}
 License:   GPLv2+ and LGPLv2+
 URL:       http://www.packagekit.org
 Source0:   http://www.packagekit.org/releases/%{name}-%{version}.tar.xz
@@ -136,7 +136,6 @@ will almost instantly update itself to reflect this.
 Summary: GLib libraries for accessing PackageKit
 Group: Development/Libraries
 Requires: dbus >= 1.1.1
-Requires: %{name}%{?_isa} = %{version}-%{release}
 Requires: gobject-introspection
 Obsoletes: PackageKit-libs < %{version}-%{release}
 Provides: PackageKit-libs = %{version}-%{release}
@@ -366,7 +365,6 @@ update-mime-database %{_datadir}/mime &> /dev/null || :
 %{_datadir}/dbus-1/interfaces/*.xml
 /usr/lib/systemd/system/packagekit-offline-update.service
 %{_libexecdir}/pk-*offline-update
-%{_libdir}/gtk-2.0/modules/libpk-gtk-module.so
 
 %files docs
 %defattr(-,root,root,-)
@@ -430,6 +428,7 @@ update-mime-database %{_datadir}/mime &> /dev/null || :
 
 %files gtk3-module
 %defattr(-,root,root,-)
+%{_libdir}/gtk-2.0/modules/*.so
 %{_libdir}/gtk-3.0/modules/*.so
 %{_libdir}/gnome-settings-daemon-3.0/gtk-modules/*.desktop
 %{_datadir}/glib-2.0/schemas/*.gschema.xml
@@ -471,6 +470,10 @@ update-mime-database %{_datadir}/mime &> /dev/null || :
 %{_libdir}/pkgconfig/packagekit-plugin.pc
 
 %changelog
+* Mon Sep 07 2012 Richard Hughes  <rhughes at redhat.com> - 0.8.3-3
+- Rework the manaully added requires so that PackageKit-glib doesn't
+  pull in so many deps.
+
 * Fri Sep 07 2012 Richard Hughes  <rhughes at redhat.com> - 0.8.3-2
 - Work around a yum API break so that resolving still works
 - In e42ea3dc0b02ba73a11211de4062e87abfb77a6a yum changed the public API


More information about the scm-commits mailing list