Extract oscap tool to a separate package (rhbz#1115116)
This commit is contained in:
parent
c7987e1224
commit
e81c8b5435
@ -6,7 +6,7 @@ restorecon -R /usr/bin/oscap /usr/libexec/openscap; \
|
|||||||
|
|
||||||
Name: openscap
|
Name: openscap
|
||||||
Version: 1.0.9
|
Version: 1.0.9
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Set of open source libraries enabling integration of the SCAP line of standards
|
Summary: Set of open source libraries enabling integration of the SCAP line of standards
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
@ -65,19 +65,30 @@ The %{name}-perl package contains the bindings so that %{name}
|
|||||||
libraries can be used by perl.
|
libraries can be used by perl.
|
||||||
|
|
||||||
|
|
||||||
%package utils
|
%package scanner
|
||||||
Summary: Openscap utilities
|
Summary: OpenSCAP Scanner Tool (oscap)
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
Requires: libcurl >= 7.12.0
|
Requires: libcurl >= 7.12.0
|
||||||
Requires: rpmdevtools rpm-build
|
|
||||||
BuildRequires: libcurl-devel >= 7.12.0
|
BuildRequires: libcurl-devel >= 7.12.0
|
||||||
|
|
||||||
%description utils
|
%description scanner
|
||||||
The %{name}-utils package contains oscap command-line tool. The oscap
|
The %{name}-scanner package contains oscap command-line tool. The oscap
|
||||||
is configuration and vulnerability scanner, capable of performing
|
is configuration and vulnerability scanner, capable of performing
|
||||||
compliance checking using SCAP content.
|
compliance checking using SCAP content.
|
||||||
|
|
||||||
|
%package utils
|
||||||
|
Summary: OpenSCAP Utilities
|
||||||
|
Group: Applications/System
|
||||||
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
|
Requires: rpmdevtools rpm-build
|
||||||
|
Requires: %{name}-scanner%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
|
%description utils
|
||||||
|
The %{name}-utils package contains command-line tools build on top
|
||||||
|
of OpenSCAP library. Historically, openscap-utils included oscap
|
||||||
|
tool which is now separated to %{name}-scanner sub-package.
|
||||||
|
|
||||||
%package content-sectool
|
%package content-sectool
|
||||||
Summary: Sectool content
|
Summary: Sectool content
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
@ -277,12 +288,18 @@ exit 0
|
|||||||
%{_libdir}/libopenscap_sce.so
|
%{_libdir}/libopenscap_sce.so
|
||||||
%{_includedir}/openscap/sce_engine_api.h
|
%{_includedir}/openscap/sce_engine_api.h
|
||||||
|
|
||||||
|
%files scanner
|
||||||
|
%{_mandir}/man8/oscap.8.gz
|
||||||
|
%{_bindir}/oscap
|
||||||
|
%{_sysconfdir}/bash_completion.d
|
||||||
|
|
||||||
%files utils
|
%files utils
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc docs/oscap-scan.cron
|
%doc docs/oscap-scan.cron
|
||||||
%{_mandir}/man8/*
|
%{_mandir}/man8/*
|
||||||
|
%exclude %{_mandir}/man8/oscap.8.gz
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
%{_sysconfdir}/bash_completion.d
|
%exclude %{_bindir}/oscap
|
||||||
|
|
||||||
%files content-sectool
|
%files content-sectool
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
@ -305,6 +322,9 @@ exit 0
|
|||||||
# %{_mandir}/man8/openscap_selinux.8.*
|
# %{_mandir}/man8/openscap_selinux.8.*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jul 01 2014 Šimon Lukašík <slukasik@redhat.com> - 1.0.9-2
|
||||||
|
- Extract oscap tool to a separate package (rhbz#1115116)
|
||||||
|
|
||||||
* Wed Jun 25 2014 Martin Preisler <mpreisle@redhat.com> - 1.0.9-1
|
* Wed Jun 25 2014 Martin Preisler <mpreisle@redhat.com> - 1.0.9-1
|
||||||
- upgrade
|
- upgrade
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user