- add /etc/polkit-1/rules.d/50-default-privs.rules as ghost so it
gets associated with the package OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit-default-privs?expand=0&rev=140
This commit is contained in:
parent
aef6f99521
commit
1b927a81ee
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 27 12:54:05 UTC 2013 - lnussel@suse.de
|
||||||
|
|
||||||
|
- add /etc/polkit-1/rules.d/50-default-privs.rules as ghost so it
|
||||||
|
gets associated with the package
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Feb 27 10:34:24 UTC 2013 - lnussel@suse.de
|
Wed Feb 27 10:34:24 UTC 2013 - lnussel@suse.de
|
||||||
|
|
||||||
|
@ -51,6 +51,7 @@ Authors:
|
|||||||
%install
|
%install
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
mkdir -p $RPM_BUILD_ROOT/etc/polkit-1/rules.d/
|
mkdir -p $RPM_BUILD_ROOT/etc/polkit-1/rules.d/
|
||||||
|
> $RPM_BUILD_ROOT/etc/polkit-1/rules.d/50-default-privs.rules
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%{fillup_only -ns security polkit_default_privs}
|
%{fillup_only -ns security polkit_default_privs}
|
||||||
@ -61,6 +62,7 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
|
%ghost %attr(0644,root,root) /etc/polkit-1/rules.d/50-default-privs.rules
|
||||||
%config /etc/polkit-default-privs.standard
|
%config /etc/polkit-default-privs.standard
|
||||||
%config /etc/polkit-default-privs.restrictive
|
%config /etc/polkit-default-privs.restrictive
|
||||||
%config(noreplace) /etc/polkit-default-privs.local
|
%config(noreplace) /etc/polkit-default-privs.local
|
||||||
|
Loading…
Reference in New Issue
Block a user