Don't support out of tree backends in Fedora
This commit is contained in:
parent
261a26bcd3
commit
99795b3d2f
@ -85,6 +85,7 @@ Obsoletes: PackageKit-zif < 0.8.13-2
|
||||
# components now built-in
|
||||
Obsoletes: PackageKit-debug-install < 0.8.15-2
|
||||
Obsoletes: PackageKit-hawkey < 0.8.15-2
|
||||
Obsoletes: PackageKit-backend-devel < 0.8.15-2
|
||||
|
||||
# Udev no longer provides this functionality
|
||||
Obsoletes: PackageKit-device-rebind < 0.8.13-2
|
||||
@ -133,15 +134,6 @@ Provides: PackageKit-docs = %{version}-%{release}
|
||||
%description glib-devel
|
||||
GLib headers and libraries for PackageKit.
|
||||
|
||||
%package backend-devel
|
||||
Summary: Headers to compile out of tree PackageKit backends
|
||||
# explicit dep: packagekit-plugin.pc links with -lpackagekit-glib2
|
||||
# but doesn't refer to packagekit-glib2.pc
|
||||
Requires: %{name}-glib-devel%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description backend-devel
|
||||
Headers to compile out of tree PackageKit backends.
|
||||
|
||||
%package browser-plugin
|
||||
Summary: Browser Plugin for PackageKit
|
||||
Requires: gtk2
|
||||
@ -218,6 +210,10 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/modules/*.la
|
||||
rm -f $RPM_BUILD_ROOT%{_libdir}/gtk-3.0/modules/*.la
|
||||
rm -f $RPM_BUILD_ROOT%{_libdir}/polkit-1/extensions/libpackagekit-action-lookup.la
|
||||
|
||||
# we don't support out of tree backends in Fedora
|
||||
rm -rf $RPM_BUILD_ROOT%{_includedir}/PackageKit/plugin
|
||||
rm -f $RPM_BUILD_ROOT%{_libdir}/pkgconfig/packagekit-plugin.pc
|
||||
|
||||
touch $RPM_BUILD_ROOT%{_localstatedir}/cache/PackageKit/groups.sqlite
|
||||
|
||||
# create a link that GStreamer will recognise
|
||||
@ -338,12 +334,6 @@ systemctl enable packagekit-offline-update.service &> /dev/null || :
|
||||
%{_datadir}/gir-1.0/PackageKitPlugin-1.0.gir
|
||||
%{_datadir}/gtk-doc/html/PackageKit
|
||||
|
||||
%files backend-devel
|
||||
%defattr(-,root,root,-)
|
||||
%dir %{_includedir}/PackageKit
|
||||
%{_includedir}/PackageKit/plugin
|
||||
%{_libdir}/pkgconfig/packagekit-plugin.pc
|
||||
|
||||
%changelog
|
||||
* Thu Dec 19 2013 Richard Hughes <rhughes@redhat.com> - 0.8.15-2
|
||||
- Do not build the yum backend, and obsolete the subpackages.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user