- Do not build smart support on RHEL.

This commit is contained in:
Richard Hughes 2009-09-29 13:33:08 +00:00
parent 8379f9fb67
commit e0404312cf

View File

@ -10,7 +10,7 @@
Summary: Package management service
Name: PackageKit
Version: 0.5.3
Release: 0.1.%{?alphatag}git%{?dist}
Release: 0.2.%{?alphatag}git%{?dist}
#Release: 1%{?dist}
License: GPLv2+
Group: System Environment/Libraries
@ -33,7 +33,7 @@ Requires: PackageKit-yum-plugin = %{version}-%{release}
Requires: PackageKit-yum = %{version}-%{release}
Requires: shared-mime-info
Requires: comps-extras
%if 0%{?rhel} != 0
%if 0%{?rhel} == 0
Requires: preupgrade
%endif
BuildRequires: polkit >= %{polkit_version}
@ -85,6 +85,7 @@ Requires: %{name} = %{version}-%{release}
%description yum
A backend for PackageKit to enable yum functionality.
%if 0%{?rhel} == 0
%package smart
Summary: PackageKit SMART backend
Group: System Environment/Libraries
@ -93,6 +94,7 @@ Requires: %{name} = %{version}-%{release}
%description smart
A backend for PackageKit to enable SMART functionality.
%endif
%package docs
Summary: Documentation for PackageKit
@ -247,7 +249,9 @@ user to restart the computer or remove and re-insert the device.
%configure \
--disable-static \
--enable-yum \
%if 0%{?rhel} == 0
--enable-smart \
%endif
--with-default-backend=yum \
--disable-local \
--disable-ruck \
@ -349,12 +353,14 @@ update-mime-database %{_datadir}/mime &> /dev/null || :
%dir %{_datadir}/PackageKit/website/img/thumbnails
%{_datadir}/PackageKit/website/img/thumbnails/*.png
%if 0%{?rhel} == 0
%files smart
%defattr(-,root,root,-)
%doc README AUTHORS NEWS COPYING
%{_libdir}/packagekit-backend/libpk_backend_smart.so
%dir %{_datadir}/PackageKit/helpers/smart
%{_datadir}/PackageKit/helpers/smart/*
%endif
%files yum
%defattr(-,root,root,-)
@ -448,7 +454,10 @@ update-mime-database %{_datadir}/mime &> /dev/null || :
%{_includedir}/PackageKit/backend/*.h
%changelog
* Mon Sep 21 2009 Richard Hughes <rhughes@redhat.com> - 0.5.3-0.1.20090928git
* Tue Sep 29 2009 Richard Hughes <rhughes@redhat.com> - 0.5.3-0.2.20090928git
- Do not build smart support on RHEL.
* Mon Sep 28 2009 Richard Hughes <rhughes@redhat.com> - 0.5.3-0.1.20090928git
- Update to a newer git snapshot from the 0.5.x series.
- Fixes command-not-found functionality
- Lots of updated translations