From 1224d7b427a507339087e2f72c481b560c85149b Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Sat, 8 Nov 2014 15:28:23 -0500 Subject: [PATCH] Split separate -libs package, so that NetworkManager can just depend on that, without dragging in the daemon (as well as libmozjs17). This allows the creation of more minimal systems that want programs like NM, but do not need the configurability of the daemon; it would be ok if only root is authorized. --- polkit.spec | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/polkit.spec b/polkit.spec index 0c9c03f..0eb6d33 100644 --- a/polkit.spec +++ b/polkit.spec @@ -6,7 +6,7 @@ Summary: An authorization framework Name: polkit Version: 0.112 -Release: 7%{?dist} +Release: 8%{?dist} License: LGPLv2+ URL: http://www.freedesktop.org/wiki/Software/polkit Source0: http://www.freedesktop.org/software/polkit/releases/%{name}-%{version}.tar.gz @@ -83,6 +83,14 @@ BuildArch: noarch %description docs Development documentation for polkit. +%package libs +Summary: Libraries for polkit +Group: Development/Libraries + +%description libs +Libraries files for polkit. + + %prep %setup -q %patch0 -p1 -b .XDG_RUNTIME_DIR @@ -138,7 +146,6 @@ exit 0 %files -f polkit-1.lang %defattr(-,root,root,-) %doc COPYING NEWS README -%{_libdir}/lib*.so.* %{_datadir}/man/man1/* %{_datadir}/man/man8/* %{_datadir}/dbus-1/system-services/* @@ -157,7 +164,6 @@ exit 0 %{_bindir}/pkttyagent %dir %{_prefix}/lib/polkit-1 %{_prefix}/lib/polkit-1/polkitd -%{_libdir}/girepository-1.0/*.typelib # see upstream docs for why these permissions are necessary %attr(4755,root,root) %{_bindir}/pkexec @@ -174,7 +180,18 @@ exit 0 %defattr(-,root,root,-) %{_datadir}/gtk-doc +%files libs +%{_libdir}/lib*.so.* +%{_libdir}/girepository-1.0/*.typelib + %changelog +* Sat Nov 08 2014 Colin Walters - 0.112-8 +- Split separate -libs package, so that NetworkManager can just depend on + that, without dragging in the daemon (as well as libmozjs17). This + allows the creation of more minimal systems that want programs like NM, + but do not need the configurability of the daemon; it would be ok if only + root is authorized. + * Sun Aug 17 2014 Fedora Release Engineering - 0.112-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild