Accepting request 926578 from Base:System

OBS-URL: https://build.opensuse.org/request/show/926578
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/polkit?expand=0&rev=78
This commit is contained in:
Dominique Leuenberger 2021-10-25 13:17:08 +00:00 committed by Git OBS Bridge
commit 5e11e9fa3f
3 changed files with 37 additions and 10 deletions

View File

@ -1 +1,2 @@
libpolkit0 libpolkit-agent-1-0
libpolkit-gobject-1-0

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Oct 20 15:12:07 UTC 2021 - Marcus Meissner <meissner@suse.com>
- fork libpolkit0 package into libpolkit-agent-1-0 and libpolkit-gobject-1-0
as mandated. bsc#1191781
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Jul 18 12:16:13 UTC 2021 - Callum Farmer <gmbr3@opensuse.org> Sun Jul 18 12:16:13 UTC 2021 - Callum Farmer <gmbr3@opensuse.org>

View File

@ -60,7 +60,8 @@ BuildRequires: pkgconfig(systemd)
# gtk-doc drags indirectyly ruby in for one of the helpers. This in turn causes a build cycle. # gtk-doc drags indirectyly ruby in for one of the helpers. This in turn causes a build cycle.
#!BuildIgnore: ruby #!BuildIgnore: ruby
Requires: dbus-1 Requires: dbus-1
Requires: libpolkit0 = %{version}-%{release} Requires: libpolkit-agent-1-0 = %{version}-%{release}
Requires: libpolkit-gobject-1-0 = %{version}-%{release}
%sysusers_requires %sysusers_requires
Requires(post): permissions Requires(post): permissions
%systemd_ordering %systemd_ordering
@ -79,7 +80,8 @@ 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: libpolkit-agent-1-0 = %{version}
Requires: libpolkit-gobject-1-0 = %{version}
Requires: pkgconfig Requires: pkgconfig
Requires: typelib-1_0-Polkit-1_0 = %{version} Requires: typelib-1_0-Polkit-1_0 = %{version}
@ -96,17 +98,31 @@ BuildArch: noarch
%description doc %description doc
Development documentation for PolicyKit Authorization Framework. Development documentation for PolicyKit Authorization Framework.
%package -n libpolkit0 %package -n libpolkit-agent-1-0
Summary: PolicyKit Authorization Framework -- Libraries Summary: PolicyKit Authorization Framework -- Agent Library
Group: System/Libraries Group: System/Libraries
Requires: %{name} >= %{version} Requires: %{name} >= %{version}
Obsoletes: libpolkit0 < %version-%release
%description -n libpolkit0 %description -n libpolkit-agent-1-0
PolicyKit is a toolkit for defining and handling authorizations. PolicyKit is a toolkit for defining and handling authorizations.
It is used for allowing unprivileged processes to speak to privileged It is used for allowing unprivileged processes to speak to privileged
processes. processes.
This package contains the libraries only. This package contains the agent library only.
%package -n libpolkit-gobject-1-0
Summary: PolicyKit Authorization Framework -- GObject Library
Group: System/Libraries
Requires: %{name} >= %{version}
Obsoletes: libpolkit0 < %version-%release
%description -n libpolkit-gobject-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 contains the gobject library only.
%package -n typelib-1_0-Polkit-1_0 %package -n typelib-1_0-Polkit-1_0
Summary: PolicyKit Authorization Framework -- Introspection bindings Summary: PolicyKit Authorization Framework -- Introspection bindings
@ -175,11 +191,15 @@ install -m0644 %{SOURCE3} %{buildroot}%{_sysusersdir}/
%verify_permissions -e %{_bindir}/pkexec %verify_permissions -e %{_bindir}/pkexec
%verify_permissions -e %{_libexecdir}/polkit-1/polkit-agent-helper-1 %verify_permissions -e %{_libexecdir}/polkit-1/polkit-agent-helper-1
%post -n libpolkit0 -p /sbin/ldconfig %post -n libpolkit-agent-1-0 -p /sbin/ldconfig
%postun -n libpolkit0 -p /sbin/ldconfig %postun -n libpolkit-agent-1-0 -p /sbin/ldconfig
%post -n libpolkit-gobject-1-0 -p /sbin/ldconfig
%postun -n libpolkit-gobject-1-0 -p /sbin/ldconfig
%files -n libpolkit0 %files -n libpolkit-agent-1-0
%{_libdir}/libpolkit-agent-1.so.* %{_libdir}/libpolkit-agent-1.so.*
%files -n libpolkit-gobject-1-0
%{_libdir}/libpolkit-gobject-1.so.* %{_libdir}/libpolkit-gobject-1.so.*
%files -n typelib-1_0-Polkit-1_0 %files -n typelib-1_0-Polkit-1_0