openscap-1.2.6-3
Fix oscap-docker python shebang
This commit is contained in:
parent
848bbfc2a7
commit
1f4c612676
@ -2,10 +2,10 @@
|
|||||||
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
%{!?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)
|
%if 0%{?fedora} <= 22 || (0%{?rhel} != 0 && 0%{?rhel} <= 7)
|
||||||
%global oscapdocker_pypkg python
|
%global oscapdocker_pypkg %{__python2}
|
||||||
%global oscapdocker_pysitelib %{python_sitelib}
|
%global oscapdocker_pysitelib %{python_sitelib}
|
||||||
%else
|
%else
|
||||||
%global oscapdocker_pypkg python3
|
%global oscapdocker_pypkg %{__python3}
|
||||||
%global oscapdocker_pysitelib %{python3_sitelib}
|
%global oscapdocker_pysitelib %{python3_sitelib}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -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: 2%{?dist}
|
Release: 3%{?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+
|
||||||
@ -332,6 +332,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{oscapdocker_pysitelib}/oscap_docker_python/*
|
%{oscapdocker_pysitelib}/oscap_docker_python/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Oct 13 2015 Zbyněk Moravec <zmoravec@redhat.com> - 1.2.6-3
|
||||||
|
- fix oscap-docker shebang
|
||||||
|
|
||||||
* Wed Oct 07 2015 Šimon Lukašík <slukasik@redhat.com> - 1.2.6-2
|
* Wed Oct 07 2015 Šimon Lukašík <slukasik@redhat.com> - 1.2.6-2
|
||||||
- put oscap-docker to openscap-containers subpackage
|
- put oscap-docker to openscap-containers subpackage
|
||||||
- do not require atomic at all
|
- do not require atomic at all
|
||||||
|
Loading…
Reference in New Issue
Block a user