- spec: fix permisssions on config files

OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=36
This commit is contained in:
James Fehlig 2017-04-03 15:44:34 +00:00 committed by Git OBS Bridge
parent a1a50e1c49
commit 88af9ec68d
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Apr 3 15:43:17 UTC 2017 - jfehlig@suse.com
- spec: fix permisssions on config files
-------------------------------------------------------------------
Mon Apr 3 15:31:43 UTC 2017 - jfehlig@suse.com

View File

@ -181,9 +181,9 @@ make -C reset \
DESTDIR=$RPM_BUILD_ROOT
%endif
install -D -m 755 src/sanlock.conf $RPM_BUILD_ROOT/%{_sysconfdir}/sanlock/sanlock.conf
install -D -m 755 %SOURCE2 $RPM_BUILD_ROOT/%{_localstatedir}/adm/fillup-templates/sysconfig.sanlock
install -D -m 755 %SOURCE4 $RPM_BUILD_ROOT/%{_localstatedir}/adm/fillup-templates/sysconfig.wdmd
install -D -m 644 src/sanlock.conf $RPM_BUILD_ROOT/%{_sysconfdir}/sanlock/sanlock.conf
install -D -m 644 %SOURCE2 $RPM_BUILD_ROOT/%{_localstatedir}/adm/fillup-templates/sysconfig.sanlock
install -D -m 644 %SOURCE4 $RPM_BUILD_ROOT/%{_localstatedir}/adm/fillup-templates/sysconfig.wdmd
%if %{with_systemd}
install -D -m 644 init.d/sanlock.service $RPM_BUILD_ROOT/%{_unitdir}/sanlock.service