Do not build the PackageKit-zif package on RHEL.
This commit is contained in:
parent
38c30451a0
commit
4fa0e89788
@ -3,7 +3,7 @@
|
||||
Summary: Package management service
|
||||
Name: PackageKit
|
||||
Version: 0.7.4
|
||||
Release: 5%{?dist}
|
||||
Release: 6%{?dist}
|
||||
License: GPLv2+ and LGPLv2+
|
||||
URL: http://www.packagekit.org
|
||||
Source0: http://www.packagekit.org/releases/%{name}-%{version}.tar.xz
|
||||
@ -62,7 +62,9 @@ BuildRequires: pango-devel
|
||||
BuildRequires: pm-utils-devel
|
||||
BuildRequires: fontconfig-devel
|
||||
BuildRequires: gobject-introspection-devel
|
||||
%if 0%{?rhel} == 0
|
||||
BuildRequires: zif-devel >= 0.2.5
|
||||
%endif
|
||||
|
||||
# functionality moved to udev itself
|
||||
Obsoletes: PackageKit-udev-helper < %{version}-%{release}
|
||||
@ -88,6 +90,7 @@ Provides: PackageKit-backend
|
||||
%description yum
|
||||
A backend for PackageKit to enable yum functionality.
|
||||
|
||||
%if 0%{?rhel} == 0
|
||||
%package zif
|
||||
Summary: PackageKit Zif backend
|
||||
Group: System Environment/Libraries
|
||||
@ -98,7 +101,6 @@ Provides: PackageKit-backend
|
||||
%description zif
|
||||
A backend for PackageKit to enable Zif functionality.
|
||||
|
||||
%if 0%{?rhel} == 0
|
||||
%package smart
|
||||
Summary: PackageKit SMART backend
|
||||
Group: System Environment/Libraries
|
||||
@ -266,8 +268,8 @@ NOCONFIGURE=1 ./autogen.sh
|
||||
%configure \
|
||||
--disable-static \
|
||||
--enable-yum \
|
||||
--enable-zif \
|
||||
%if 0%{?rhel} == 0
|
||||
--enable-zif \
|
||||
--enable-smart \
|
||||
--enable-introspection \
|
||||
%endif
|
||||
@ -382,11 +384,13 @@ update-mime-database %{_datadir}/mime &> /dev/null || :
|
||||
%dir %{_datadir}/PackageKit/helpers/yum
|
||||
%{_datadir}/PackageKit/helpers/yum/*
|
||||
|
||||
%if 0%{?rhel} == 0
|
||||
%files zif
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/packagekit-backend/libpk_backend_zif.so
|
||||
%dir %{_datadir}/PackageKit/helpers/zif
|
||||
%{_datadir}/PackageKit/helpers/zif/*
|
||||
%endif
|
||||
|
||||
%files yum-plugin
|
||||
%defattr(-, root, root)
|
||||
@ -464,6 +468,9 @@ update-mime-database %{_datadir}/mime &> /dev/null || :
|
||||
%{_libdir}/pkgconfig/packagekit-plugin.pc
|
||||
|
||||
%changelog
|
||||
* Tue May 29 2012 Richard Hughes <rhughes@redhat.com> - 0.7.4-6
|
||||
- Do not build the PackageKit-zif package on RHEL.
|
||||
|
||||
* Fri May 25 2012 Rex Dieter <rdieter@fedoraproject.org> 0.7.4-5
|
||||
- re-enable -browser-plugin content
|
||||
- make V=1
|
||||
|
||||
Loading…
Reference in New Issue
Block a user