Accepting request 993702 from Base:System

OBS-URL: https://build.opensuse.org/request/show/993702
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/polkit?expand=0&rev=84
This commit is contained in:
Dominique Leuenberger 2022-08-09 13:26:00 +00:00 committed by Git OBS Bridge
commit 1e1eab4965
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Aug 8 07:28:25 UTC 2022 - Thorsten Kukuk <kukuk@suse.com>
- Use %_pam_vendordir
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Aug 3 12:03:30 UTC 2022 - Marcus Meissner <meissner@suse.com> Wed Aug 3 12:03:30 UTC 2022 - Marcus Meissner <meissner@suse.com>

View File

@ -177,8 +177,8 @@ find %{buildroot} -type f -name "*.la" -delete -print
# create $HOME for polkit user # create $HOME for polkit user
install -d %{buildroot}%{_localstatedir}/lib/polkit install -d %{buildroot}%{_localstatedir}/lib/polkit
%find_lang polkit-1 %find_lang polkit-1
mkdir -p %{buildroot}%{_distconfdir}/pam.d mkdir -p %{buildroot}%{_pam_vendordir}
mv %{buildroot}%{_sysconfdir}/pam.d/* %{buildroot}%{_distconfdir}/pam.d/ mv %{buildroot}%{_sysconfdir}/pam.d/* %{buildroot}%{_pam_vendordir}/
mv %{buildroot}%{_sysconfdir}/polkit-1/rules.d/50-default.rules %{buildroot}%{_datadir}/polkit-1/rules.d/50-default.rules mv %{buildroot}%{_sysconfdir}/polkit-1/rules.d/50-default.rules %{buildroot}%{_datadir}/polkit-1/rules.d/50-default.rules
mkdir -p %{buildroot}%{_sysusersdir} mkdir -p %{buildroot}%{_sysusersdir}
install -m0644 %{SOURCE3} %{buildroot}%{_sysusersdir}/ install -m0644 %{SOURCE3} %{buildroot}%{_sysusersdir}/
@ -238,7 +238,7 @@ install -m0644 %{SOURCE3} %{buildroot}%{_sysusersdir}/
%{_datadir}/polkit-1/actions/org.freedesktop.policykit.policy %{_datadir}/polkit-1/actions/org.freedesktop.policykit.policy
%attr(0700,polkitd,root) %dir %{_datadir}/polkit-1/rules.d %attr(0700,polkitd,root) %dir %{_datadir}/polkit-1/rules.d
%attr(0700,polkitd,root) %{_datadir}/polkit-1/rules.d/50-default.rules %attr(0700,polkitd,root) %{_datadir}/polkit-1/rules.d/50-default.rules
%{_distconfdir}/pam.d/polkit-1 %{_pam_vendordir}/polkit-1
%dir %{_sysconfdir}/polkit-1 %dir %{_sysconfdir}/polkit-1
%attr(0700,polkitd,root) %dir %{_sysconfdir}/polkit-1/rules.d %attr(0700,polkitd,root) %dir %{_sysconfdir}/polkit-1/rules.d
%{_bindir}/pkaction %{_bindir}/pkaction