Package oscap-chroot as part of openscap-scanner

It has no dependencies and is just a very thin wrapper around oscap.
This commit is contained in:
Martin Preisler 2017-10-05 14:27:27 -04:00
parent a79bdf3051
commit 44a76dac86

View File

@ -14,7 +14,7 @@ restorecon -R /usr/bin/oscap /usr/libexec/openscap; \
Name: openscap
Version: 1.2.15
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Set of open source libraries enabling integration of the SCAP line of standards
Group: System Environment/Libraries
License: LGPLv2+
@ -304,6 +304,7 @@ rm -rf $RPM_BUILD_ROOT
%files scanner
%{_mandir}/man8/oscap.8.gz
%{_bindir}/oscap
%{_bindir}/oscap-chroot
%{_sysconfdir}/bash_completion.d
%files utils
@ -315,6 +316,7 @@ rm -rf $RPM_BUILD_ROOT
%{_bindir}/*
%exclude %{_bindir}/oscap
%exclude %{_bindir}/oscap-docker
%exclude %{_bindir}/oscap-chroot
%files content-sectool
%defattr(-,root,root,-)
@ -338,6 +340,9 @@ rm -rf $RPM_BUILD_ROOT
%{oscapdocker_pysitelib}/oscap_docker_python/*
%changelog
* Thu Oct 05 2017 Martin Preisler <mpreisle@redhat.com> - 1.2.15-2
- moved oscap-chroot to openscap-scanner because it's a thin wrapper script with no dependencies
* Fri Aug 25 2017 Jan Černý <jcerny@redhat.com> - 1.2.15-1
- upgrade to the latest upstream release