forked from pool/ocfs2-tools
Fix empty %pre section if !systemd_enabled
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/ocfs2-tools?expand=0&rev=114
This commit is contained in:
parent
1c09ae681b
commit
2d6547bf4a
@ -225,8 +225,8 @@ chmod a-x %{buildroot}/%{_libdir}/libocfs2.a
|
||||
python -c "import compileall; compileall.compile_dir('%{buildroot}/%{py_sitedir}/ocfs2interface', ddir='%{py_sitedir}/ocfs2interface')"
|
||||
%endif
|
||||
|
||||
%pre o2cb
|
||||
%if %{systemd_enabled}
|
||||
%pre o2cb
|
||||
%service_add_pre ocfs2.service o2cb.service
|
||||
%endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user