Accepting request 99432 from Base:System
Split typelib file out (forwarded request 99423 from vuntz) OBS-URL: https://build.opensuse.org/request/show/99432 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/polkit?expand=0&rev=29
This commit is contained in:
commit
77d717d7ca
@ -1,3 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jan 9 09:33:30 UTC 2012 - vuntz@opensuse.org
|
||||||
|
|
||||||
|
- Split typelib file into typelib-1_0-Polkit-1_0 subpackage.
|
||||||
|
- Add typelib-1_0-Polkit-1_0 Requires to devel subpackage.
|
||||||
|
- Add explicit libpolkit0 Requires to devel subpackage: it was
|
||||||
|
missing before.
|
||||||
|
- Remove explicit glib2-devel Requires from devel subpackage: it
|
||||||
|
will automatically be added the pkgconfig() way.
|
||||||
|
- Improve summary of libpolkit0 subpackage.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jan 4 22:03:54 UTC 2012 - crrodriguez@opensuse.org
|
Wed Jan 4 22:03:54 UTC 2012 - crrodriguez@opensuse.org
|
||||||
|
|
||||||
|
20
polkit.spec
20
polkit.spec
@ -15,7 +15,6 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define with_systemd 0
|
%define with_systemd 0
|
||||||
|
|
||||||
Name: polkit
|
Name: polkit
|
||||||
@ -60,8 +59,9 @@ processes.
|
|||||||
Summary: Development files for PolicyKit
|
Summary: Development files for PolicyKit
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: %name = %{version}-%{release}
|
Requires: %name = %{version}-%{release}
|
||||||
|
Requires: libpolkit0 = %{version}
|
||||||
|
Requires: typelib-1_0-Polkit-1_0 = %{version}
|
||||||
Requires: pkgconfig
|
Requires: pkgconfig
|
||||||
Requires: glib2-devel
|
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
Development files for PolicyKit Authorization Framework.
|
Development files for PolicyKit Authorization Framework.
|
||||||
@ -77,7 +77,7 @@ BuildArch: noarch
|
|||||||
Development documentation for PolicyKit Authorization Framework.
|
Development documentation for PolicyKit Authorization Framework.
|
||||||
|
|
||||||
%package -n libpolkit0
|
%package -n libpolkit0
|
||||||
Summary: Libraries required for polkit
|
Summary: PolicyKit Authorization Framework -- Libraries
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Requires: %{name} = %{version}
|
Requires: %{name} = %{version}
|
||||||
|
|
||||||
@ -88,6 +88,17 @@ processes.
|
|||||||
|
|
||||||
This package contains the libraries only.
|
This package contains the libraries only.
|
||||||
|
|
||||||
|
%package -n typelib-1_0-Polkit-1_0
|
||||||
|
Summary: PolicyKit Authorization Framework -- Introspection bindings
|
||||||
|
Group: System/Libraries
|
||||||
|
|
||||||
|
%description -n typelib-1_0-Polkit-1_0
|
||||||
|
PolicyKit is a toolkit for defining and handling authorizations.
|
||||||
|
It is used for allowing unprivileged processes to speak to privileged
|
||||||
|
processes.
|
||||||
|
|
||||||
|
This package provides the GObject Introspection bindings for PolicyKit.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
@ -131,6 +142,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%files -n libpolkit0
|
%files -n libpolkit0
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{_libdir}/lib*.so.*
|
%{_libdir}/lib*.so.*
|
||||||
|
|
||||||
|
%files -n typelib-1_0-Polkit-1_0
|
||||||
|
%defattr(-,root,root,-)
|
||||||
%{_libdir}/girepository-1.0/Polkit-1.0.typelib
|
%{_libdir}/girepository-1.0/Polkit-1.0.typelib
|
||||||
%{_libdir}/girepository-1.0/PolkitAgent-1.0.typelib
|
%{_libdir}/girepository-1.0/PolkitAgent-1.0.typelib
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user