openscap-containers require atomic only on x86_64

This is pragmatic choice. (Upcomming) OpenSCAP-Daemon will need to
import openscap-containers python fragments. We decide to fail in
run-time when atomic features of OpenSCAP-Daemon are used on other
architectures.
This commit is contained in:
Šimon Lukašík 2015-10-07 13:12:36 +02:00
parent 0098755089
commit a53fc56927

View File

@ -14,7 +14,7 @@ restorecon -R /usr/bin/oscap /usr/libexec/openscap; \
Name: openscap Name: openscap
Version: 1.2.6 Version: 1.2.6
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+
@ -168,7 +168,10 @@ for developing applications that use %{name}-engine-sce.
Summary: Utils for scanning containers Summary: Utils for scanning containers
Group: Applications/System Group: Applications/System
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
Requires: %{name}-scanner atomic Requires: %{name}-scanner
%ifarch x86_64
Requires: atomic
%endif
BuildArch: noarch BuildArch: noarch
%description containers %description containers
@ -332,6 +335,10 @@ rm -rf $RPM_BUILD_ROOT
%{oscapdocker_pysitelib}/oscap_docker_python/* %{oscapdocker_pysitelib}/oscap_docker_python/*
%changelog %changelog
* Wed Oct 07 2015 Šimon Lukašík <slukasik@redhat.com> - 1.2.6-2
- put oscap-docker to openscap-containers subpackage
- require atomic package only when exists
* Mon Oct 05 2015 Zbyněk Moravec <zmoravec@redhat.com> - 1.2.6-1 * Mon Oct 05 2015 Zbyněk Moravec <zmoravec@redhat.com> - 1.2.6-1
- upgrade to the latest upstream release - upgrade to the latest upstream release