spec file fix
OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=4
This commit is contained in:
parent
85b7dd53be
commit
d59465cf9e
@ -77,7 +77,7 @@ make -C python \
|
|||||||
install LIBDIR=%{_libdir} \
|
install LIBDIR=%{_libdir} \
|
||||||
DESTDIR=$RPM_BUILD_ROOT PREFIX=%_prefix
|
DESTDIR=$RPM_BUILD_ROOT PREFIX=%_prefix
|
||||||
install -D -m 755 %SOURCE1 $RPM_BUILD_ROOT/etc/init.d/sanlock
|
install -D -m 755 %SOURCE1 $RPM_BUILD_ROOT/etc/init.d/sanlock
|
||||||
install -D -m 755 %SOURCE1 $RPM_BUILD_ROOT/$(localstatedir)/adm/fillup-templates/sysconfig.sanlock
|
install -D -m 755 %SOURCE1 $RPM_BUILD_ROOT/%{_localstatedir}/adm/fillup-templates/sysconfig.sanlock
|
||||||
install -D -m 755 %SOURCE2 $RPM_BUILD_ROOT/etc/init.d/wdmd
|
install -D -m 755 %SOURCE2 $RPM_BUILD_ROOT/etc/init.d/wdmd
|
||||||
%if %{with_systemd}
|
%if %{with_systemd}
|
||||||
install -D -m 755 init.d/sanlock.service $RPM_BUILD_ROOT/%{_unitdir}/sanlock.service
|
install -D -m 755 init.d/sanlock.service $RPM_BUILD_ROOT/%{_unitdir}/sanlock.service
|
||||||
@ -130,6 +130,7 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
/etc/init.d/sanlock
|
/etc/init.d/sanlock
|
||||||
|
%{_localstatedir}/adm/fillup-templates/sysconfig.sanlock
|
||||||
/etc/init.d/wdmd
|
/etc/init.d/wdmd
|
||||||
%if %{with_systemd}
|
%if %{with_systemd}
|
||||||
%{_unitdir}/sanlock.service
|
%{_unitdir}/sanlock.service
|
||||||
|
Loading…
Reference in New Issue
Block a user