Update Python 2 dependency declarations to new packaging standards

This commit is contained in:
Iryna Shcherbina 2018-01-06 00:35:16 +01:00
parent 4e7b356165
commit e125136d91

View File

@ -15,7 +15,7 @@
Summary: Liberty Alliance Single Sign On Summary: Liberty Alliance Single Sign On
Name: lasso Name: lasso
Version: 2.5.1 Version: 2.5.1
Release: 9%{?dist} Release: 10%{?dist}
License: GPLv2+ License: GPLv2+
Group: System Environment/Libraries Group: System Environment/Libraries
Source: http://dev.entrouvert.org/lasso/lasso-%{version}.tar.gz Source: http://dev.entrouvert.org/lasso/lasso-%{version}.tar.gz
@ -32,7 +32,7 @@ BuildRequires: glib2-devel, swig
BuildRequires: libxml2-devel, xmlsec1-devel, openssl-devel, xmlsec1-openssl-devel BuildRequires: libxml2-devel, xmlsec1-devel, openssl-devel, xmlsec1-openssl-devel
BuildRequires: zlib-devel, check-devel BuildRequires: zlib-devel, check-devel
BuildRequires: libtool autoconf automake BuildRequires: libtool autoconf automake
BuildRequires: python-six BuildRequires: python2-six
Url: http://lasso.entrouvert.org/ Url: http://lasso.entrouvert.org/
@ -105,8 +105,8 @@ Obsoletes: %{name}-python < %{version}-%{release}
Summary: Liberty Alliance Single Sign On (lasso) Python bindings Summary: Liberty Alliance Single Sign On (lasso) Python bindings
Group: Development/Libraries Group: Development/Libraries
BuildRequires: python2-devel BuildRequires: python2-devel
BuildRequires: python-lxml BuildRequires: python2-lxml
Requires: python Requires: python2
Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
%description -n python2-lasso %description -n python2-lasso
@ -231,6 +231,10 @@ rm -fr %{buildroot}%{_defaultdocdir}/%{name}
%endif %endif
%changelog %changelog
* Fri Jan 05 2018 Iryna Shcherbina <ishcherb@redhat.com> - 2.5.1-10
- Update Python 2 dependency declarations to new packaging standards
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
* Sun Aug 20 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.5.1-9 * Sun Aug 20 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.5.1-9
- Add Provides for the old name without %%_isa - Add Provides for the old name without %%_isa