x
OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=26
This commit is contained in:
parent
eb7bf75cec
commit
bdccc7884c
@ -28,6 +28,7 @@ Group: Development/Tools/Other
|
||||
Source: http://www.open-scap.org/download/%name-%version.tar.bz2
|
||||
Source1: oscap-scan.init
|
||||
Source2: sysconfig.oscap-scan
|
||||
URL: http://www.open-scap.org/
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: libcurl-devel libgcrypt-devel libnl-1_1-devel libxml2-devel
|
||||
# Use package name cause of "have choice for perl(XML::Parser): brp-check-suse perl-XML-Parser"
|
||||
@ -150,6 +151,12 @@ ln -s %{_datadir}/openscap/scap-fedora14-xccdf.xml $RPM_BUILD_ROOT/%{_datadir}/
|
||||
|
||||
%postun -n libopenscap%{soname} -p /sbin/ldconfig
|
||||
|
||||
%preun utils
|
||||
%{stop_on_removal oscap-scan}
|
||||
|
||||
%postun utils
|
||||
%{restart_on_update oscap-scan}
|
||||
|
||||
%post utils
|
||||
%{fillup_and_insserv -n oscap-scan}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user