[PackageKit] Add back the preupgrade Require to fix a warning in g-s-d.

Richard Hughes rhughes at fedoraproject.org
Thu Jan 26 13:45:04 UTC 2012


commit e68e9484ef840901c851fb69946f5681320cf0cd
Author: Richard Hughes <richard at hughsie.com>
Date:   Thu Jan 26 13:44:18 2012 +0000

    Add back the preupgrade Require to fix a warning in g-s-d.

 PackageKit.spec |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/PackageKit.spec b/PackageKit.spec
index 655ac7e..7629b66 100644
--- a/PackageKit.spec
+++ b/PackageKit.spec
@@ -3,7 +3,7 @@
 Summary:   Package management service
 Name:      PackageKit
 Version:   0.7.2
-Release:   3%{?dist}
+Release:   4%{?dist}
 License:   GPLv2+ and LGPLv2+
 URL:       http://www.packagekit.org
 Source0:   http://www.packagekit.org/releases/%{name}-%{version}.tar.xz
@@ -21,6 +21,9 @@ Requires: PackageKit-glib = %{version}-%{release}
 Requires: PackageKit-backend
 Requires: shared-mime-info
 Requires: comps-extras
+%if 0%{?rhel} == 0
+Requires: preupgrade
+%endif
 
 BuildRequires: glib2-devel >= 2.16.1
 BuildRequires: dbus-devel  >= 1.1.1
@@ -458,6 +461,9 @@ update-mime-database %{_datadir}/mime &> /dev/null || :
 %{_libdir}/pkgconfig/packagekit-plugin.pc
 
 %changelog
+* Thu Jan 26 2012 Richard Hughes  <rhughes at redhat.com> - 0.7.2-4
+- Add back the preupgrade Require to fix a warning in g-s-d.
+
 * Thu Jan 26 2012 Tomas Bzatek <tbzatek at redhat.com> - 0.7.2-3
 - Rebuilt for new libarchive
 


More information about the scm-commits mailing list