Accepting request 509459 from home:Alexander_Naumov:branches:Base:System

- adding %set_permissions and %verify_permissions macros for /run/uscreens/
- adding %tmpfiles_create macro for /usr/lib/tmpfiles.d/screen.conf

OBS-URL: https://build.opensuse.org/request/show/509459
OBS-URL: https://build.opensuse.org/package/show/Base:System/screen?expand=0&rev=77
This commit is contained in:
Alexander Naumov 2017-07-11 13:18:07 +00:00 committed by Git OBS Bridge
parent 487f973541
commit 152d9a4634
2 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Jul 11 15:03:24 UTC 2017 - alexander_naumov@opensuse.org
- adding %set_permissions and %verify_permissions macros
for /run/uscreens/
- adding %tmpfiles_create macro for /usr/lib/tmpfiles.d/screen.conf
-------------------------------------------------------------------
Thu Jul 11 14:30:37 UTC 2017 - alexander_naumov@opensuse.org

View File

@ -124,6 +124,11 @@ install -m 644 %{SOURCE1} %{buildroot}%{_prefix}/lib/tmpfiles.d
%post
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
%set_permissions /run/uscreens/
%tmpfiles_create /usr/lib/tmpfiles.d/screen.conf
%verifyscript
%verify_permissions -e /run/uscreens/
%preun
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz