forked from pool/openscap
fixed %post %pre syntax
OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=227
This commit is contained in:
parent
8c59323331
commit
afba4b9563
@ -223,15 +223,22 @@ ln -s %{_datadir}/openscap/scap-yast2sec-oval.xml %{buildroot}/%{_datadir}/open
|
||||
ln -s %{_datadir}/openscap/scap-yast2sec-xccdf.xml %{buildroot}/%{_datadir}/openscap/scap-xccdf.xml
|
||||
|
||||
%post -n libopenscap%{sover} -p /sbin/ldconfig
|
||||
%post -n libopenscap_sce%{sover} -p /sbin/ldconfig
|
||||
%post -n openscap-utils %service_add_post oscap-scan.service
|
||||
|
||||
%postun -n libopenscap%{sover} -p /sbin/ldconfig
|
||||
%postun -n libopenscap_sce%{sover} -p /sbin/ldconfig
|
||||
%postun -n openscap-utils %service_del_postun oscap-scan.service
|
||||
|
||||
%pre -n openscap-utils %service_add_pre oscap-scan.service
|
||||
%preun -n openscap-utils %service_del_preun oscap-scan.service
|
||||
%post -n libopenscap_sce%{sover} -p /sbin/ldconfig
|
||||
%postun -n libopenscap_sce%{sover} -p /sbin/ldconfig
|
||||
|
||||
%post -n openscap-utils
|
||||
%service_add_post oscap-scan.service
|
||||
|
||||
%postun -n openscap-utils
|
||||
%service_del_postun oscap-scan.service
|
||||
|
||||
%pre -n openscap-utils
|
||||
%service_add_pre oscap-scan.service
|
||||
|
||||
%preun -n openscap-utils
|
||||
%service_del_preun oscap-scan.service
|
||||
|
||||
%files
|
||||
%defattr(-, root, root)
|
||||
|
Loading…
Reference in New Issue
Block a user