Python 2 binary package renamed to python2-openscap
This commit is contained in:
parent
b888ca51c6
commit
0c897651ea
@ -14,7 +14,7 @@ restorecon -R /usr/bin/oscap /usr/libexec/openscap; \
|
||||
|
||||
Name: openscap
|
||||
Version: 1.2.14
|
||||
Release: 7%{?dist}
|
||||
Release: 8%{?dist}
|
||||
Summary: Set of open source libraries enabling integration of the SCAP line of standards
|
||||
Group: System Environment/Libraries
|
||||
License: LGPLv2+
|
||||
@ -53,13 +53,17 @@ Requires: pkgconfig
|
||||
The %{name}-devel package contains libraries and header files for
|
||||
developing applications that use %{name}.
|
||||
|
||||
%package python
|
||||
%package -n python2-openscap
|
||||
%{?python_provide:%python_provide python2-openscap}
|
||||
# Remove before F30
|
||||
Provides: %{name}-python%{?_isa} = %{version}-%{release}
|
||||
Obsoletes: %{name}-python < %{version}-%{release}
|
||||
Summary: Python 2 bindings for %{name}
|
||||
Group: Development/Libraries
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
BuildRequires: python-devel
|
||||
|
||||
%description python
|
||||
%description -n python2-openscap
|
||||
The %{name}-python package contains the bindings so that %{name}
|
||||
libraries can be used by python.
|
||||
|
||||
@ -271,7 +275,7 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_datadir}/openscap/xsl/*
|
||||
%{_datadir}/openscap/cpe/*
|
||||
|
||||
%files python
|
||||
%files -n python2-openscap
|
||||
%defattr(-,root,root,-)
|
||||
%{python_sitearch}/*
|
||||
|
||||
@ -333,6 +337,10 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{oscapdocker_pysitelib}/oscap_docker_python/*
|
||||
|
||||
%changelog
|
||||
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.2.14-8
|
||||
- Python 2 binary package renamed to python2-openscap
|
||||
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
|
||||
|
||||
* Fri Aug 11 2017 Igor Gnatenko <ignatenko@redhat.com> - 1.2.14-7
|
||||
- Rebuilt after RPM update (№ 3)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user