Update Python 2 dependency declarations to new packaging standards

This commit is contained in:
Iryna Shcherbina 2018-02-07 05:36:13 +01:00
parent a892345a17
commit b00fe943dc

View File

@ -10,7 +10,7 @@
Name: librepo
Version: 1.8.1
Release: 5%{?dist}
Release: 6%{?dist}
Summary: Repodata downloading library
License: LGPLv2+
@ -42,14 +42,14 @@ Development files for librepo.
%package -n python2-%{name}
Summary: Python bindings for the librepo library
%{?python_provide:%python_provide python2-%{name}}
BuildRequires: pygpgme
BuildRequires: python2-pygpgme
BuildRequires: python2-devel
%if %{with tests}
BuildRequires: python-flask
BuildRequires: python-nose
BuildRequires: python2-flask
BuildRequires: python2-nose
%endif
BuildRequires: python-sphinx
BuildRequires: pyxattr
BuildRequires: python2-sphinx
BuildRequires: python2-pyxattr
Requires: %{name}%{?_isa} = %{version}-%{release}
%description -n python2-%{name}
@ -138,6 +138,10 @@ popd
%endif
%changelog
* Wed Feb 07 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.8.1-6
- Update Python 2 dependency declarations to new packaging standards
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
* Wed Jan 31 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.8.1-5
- Switch to %%ldconfig_scriptlets