Do not build the smart backend, it's about to be removed from Fedora

This commit is contained in:
Richard Hughes 2013-08-21 08:42:59 +01:00
parent 2304a404db
commit 65cd6791e7

View File

@ -6,7 +6,7 @@
Summary: Package management service
Name: PackageKit
Version: 0.8.10
Release: 1%{?dist}
Release: 2%{?dist}
License: GPLv2+ and LGPLv2+
URL: http://www.packagekit.org
Source0: http://www.packagekit.org/releases/%{name}-%{version}.tar.xz
@ -73,6 +73,9 @@ Obsoletes: udev-packagekit < %{version}-%{release}
# No more GTK+-2 plugin
Obsoletes: PackageKit-gtk-module < %{version}-%{release}
# No more smart in Fedora
Obsoletes: PackageKit-smart < %{version}-%{release}
%description
PackageKit is a D-Bus abstraction layer that allows the session user
to manage packages in a secure way using a cross-distro,
@ -102,17 +105,6 @@ Provides: PackageKit-backend
A backend for PackageKit to enable Zif functionality.
%endif
%if 0%{?rhel} == 0
%package smart
Summary: PackageKit SMART backend
Group: System Environment/Libraries
Requires: smart
Requires: %{name}%{?_isa} = %{version}-%{release}
%description smart
A backend for PackageKit to enable SMART functionality.
%endif
%package docs
Summary: Documentation for PackageKit
Group: Development/Libraries
@ -254,7 +246,6 @@ NOCONFIGURE=1 ./autogen.sh
--disable-bash-completion \
%if 0%{?rhel} == 0
--enable-zif \
--enable-smart \
--enable-introspection \
--enable-bash-completion \
%endif
@ -361,14 +352,6 @@ update-mime-database %{_datadir}/mime &> /dev/null || :
%defattr(-,root,root,-)
%{_datadir}/gtk-doc/html/PackageKit
%if 0%{?rhel} == 0
%files smart
%defattr(-,root,root,-)
%{_libdir}/packagekit-backend/libpk_backend_smart.so
%dir %{_datadir}/PackageKit/helpers/smart
%{_datadir}/PackageKit/helpers/smart/*
%endif
%files yum
%defattr(-,root,root,-)
%config(noreplace) %{_sysconfdir}/PackageKit/Yum.conf
@ -447,6 +430,9 @@ update-mime-database %{_datadir}/mime &> /dev/null || :
%{_libdir}/pkgconfig/packagekit-plugin.pc
%changelog
* Tue Aug 20 2013 Richard Hughes <rhughes@redhat.com> - 0.8.10-2
- Do not build the smart backend, it's about to be removed from Fedora.
* Fri Jul 26 2013 Richard Hughes <rhughes@redhat.com> - 0.8.10-1
- New upstream release
- Actually return the error if any PkClient methods failed