Accepting request 581491 from Base:System
cleaned (forwarded request 581346 from dimstar) OBS-URL: https://build.opensuse.org/request/show/581491 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/polkit?expand=0&rev=59
This commit is contained in:
commit
ac6004c002
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 28 16:38:33 UTC 2018 - dimstar@opensuse.org
|
||||
|
||||
- Modernize spec-file by calling spec-cleaner
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 15 12:20:52 UTC 2017 - dimstar@opensuse.org
|
||||
|
||||
|
22
polkit.spec
22
polkit.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package polkit
|
||||
#
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -21,12 +21,12 @@ Name: polkit
|
||||
Version: 0.113
|
||||
Release: 0
|
||||
Summary: PolicyKit Authorization Framework
|
||||
License: LGPL-2.1+
|
||||
License: LGPL-2.1-or-later
|
||||
Group: System/Libraries
|
||||
Url: http://www.freedesktop.org/wiki/Software/polkit/
|
||||
URL: http://www.freedesktop.org/wiki/Software/polkit/
|
||||
Source0: http://www.freedesktop.org/software/polkit/releases/%{name}-%{version}.tar.gz
|
||||
Source1: http://www.freedesktop.org/software/polkit/releases/%{name}-%{version}.tar.gz.sign
|
||||
Source2: %name.keyring
|
||||
Source2: %{name}.keyring
|
||||
Source99: baselibs.conf
|
||||
# PATCH-FIX-OPENSUSE polkit-no-wheel-group.patch vuntz@opensuse.org -- In openSUSE, there's no special meaning for the wheel group, so we shouldn't allow it to be admin
|
||||
Patch0: polkit-no-wheel-group.patch
|
||||
@ -54,6 +54,7 @@ BuildRequires: pam-devel
|
||||
#!BuildIgnore: ruby
|
||||
Requires: dbus-1
|
||||
Requires: libpolkit0 = %{version}-%{release}
|
||||
# FIXME: use proper Requires(pre/post/preun/...)
|
||||
PreReq: permissions
|
||||
PreReq: pwdutils
|
||||
%if 0%{?with_systemd}
|
||||
@ -85,7 +86,7 @@ processes.
|
||||
%package devel
|
||||
Summary: Development files for PolicyKit
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %name = %{version}-%{release}
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: libpolkit0 = %{version}
|
||||
Requires: pkgconfig
|
||||
Requires: typelib-1_0-Polkit-1_0 = %{version}
|
||||
@ -159,7 +160,7 @@ make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
%make_install
|
||||
rm %{buildroot}%{_libdir}/*.la
|
||||
find %{buildroot} -type f -name "*.la" -delete -print
|
||||
# create $HOME for polkit user
|
||||
install -d %{buildroot}%{_localstatedir}/lib/polkit
|
||||
%find_lang polkit-1
|
||||
@ -192,22 +193,19 @@ exit 0
|
||||
%verify_permissions -e %{_prefix}/lib/polkit-1/polkit-agent-helper-1
|
||||
|
||||
%post -n libpolkit0 -p /sbin/ldconfig
|
||||
|
||||
%postun -n libpolkit0 -p /sbin/ldconfig
|
||||
|
||||
%files -n libpolkit0
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/libpolkit-agent-1.so.*
|
||||
%{_libdir}/libpolkit-gobject-1.so.*
|
||||
|
||||
%files -n typelib-1_0-Polkit-1_0
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/girepository-1.0/Polkit-1.0.typelib
|
||||
%{_libdir}/girepository-1.0/PolkitAgent-1.0.typelib
|
||||
|
||||
%files -f polkit-1.lang
|
||||
%defattr(-,root,root,-)
|
||||
%doc COPYING
|
||||
%license COPYING
|
||||
|
||||
%{_mandir}/man1/pkexec.1%{?ext_man}
|
||||
%{_mandir}/man1/pkaction.1%{?ext_man}
|
||||
%{_mandir}/man1/pkcheck.1%{?ext_man}
|
||||
@ -242,7 +240,6 @@ exit 0
|
||||
%endif
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/libpolkit-agent-1.so
|
||||
%{_libdir}/libpolkit-gobject-1.so
|
||||
%{_libdir}/pkgconfig/polkit-agent-1.pc
|
||||
@ -255,7 +252,6 @@ exit 0
|
||||
%{_datadir}/gettext/its/polkit.loc
|
||||
|
||||
%files doc
|
||||
%defattr(-,root,root,-)
|
||||
%doc NEWS
|
||||
%doc %{_datadir}/gtk-doc/html/polkit-1/
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user