diff --git a/openscap.spec b/openscap.spec index c2e4e80..5572a03 100644 --- a/openscap.spec +++ b/openscap.spec @@ -2,10 +2,10 @@ %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} %if 0%{?fedora} <= 22 || (0%{?rhel} != 0 && 0%{?rhel} <= 7) -%global oscapdocker_pypkg python +%global oscapdocker_pypkg %{__python2} %global oscapdocker_pysitelib %{python_sitelib} %else -%global oscapdocker_pypkg python3 +%global oscapdocker_pypkg %{__python3} %global oscapdocker_pysitelib %{python3_sitelib} %endif @@ -14,7 +14,7 @@ restorecon -R /usr/bin/oscap /usr/libexec/openscap; \ Name: openscap Version: 1.2.6 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Set of open source libraries enabling integration of the SCAP line of standards Group: System Environment/Libraries License: LGPLv2+ @@ -332,6 +332,9 @@ rm -rf $RPM_BUILD_ROOT %{oscapdocker_pysitelib}/oscap_docker_python/* %changelog +* Tue Oct 13 2015 Zbyněk Moravec - 1.2.6-3 +- fix oscap-docker shebang + * Wed Oct 07 2015 Šimon Lukašík - 1.2.6-2 - put oscap-docker to openscap-containers subpackage - do not require atomic at all