Removed python2-openscap subpackage

The latest upstream version does not provide Python 2 bindings
anymore.
This commit is contained in:
Jan Černý 2018-07-25 09:32:26 +02:00
parent f639c29d61
commit 4e4b56a198

View File

@ -1,6 +1,6 @@
Name: openscap
Version: 1.3.0_alpha1
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+
@ -46,21 +46,6 @@ BuildRequires: doxygen
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%package -n python2-openscap
%{?python_provide:%python_provide python2-openscap}
# Remove before F30
Provides: %{name}-python = %{version}-%{release}
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: python2-devel
%description -n python2-openscap
The %{name}-python package contains the bindings so that %{name}
libraries can be used by python.
%package python3
Summary: Python 3 bindings for %{name}
Group: Development/Libraries
@ -183,9 +168,6 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/openscap/xsl/*
%{_datadir}/openscap/cpe/*
%files -n python2-openscap
%{python_sitearch}/*
%files python3
%{python3_sitearch}/*
@ -229,6 +211,9 @@ rm -rf $RPM_BUILD_ROOT
%{python3_sitelib}/oscap_docker_python/*
%changelog
* Wed Jul 25 2018 Jan Černý <jcerny@redhat.com> - 1.3.0_alpha1-2
- removed python2-openscap subpackage
* Wed Jul 18 2018 Jan Černý <jcerny@redhat.com> - 1.3.0_alpha1-1
- upgrade to the latest upstream release
- change specfile to use CMake