diff --git lasso/lasso.spec lasso/lasso.spec.tmp index 9f55923162..d52c823da3 100644 --- lasso/lasso.spec +++ lasso/lasso.spec.tmp @@ -15,7 +15,7 @@ Summary: Liberty Alliance Single Sign On Name: lasso Version: 2.5.1 -Release: 7%{?dist} +Release: 8%{?dist} License: GPLv2+ Group: System Environment/Libraries Source: http://dev.entrouvert.org/lasso/lasso-%{version}.tar.gz @@ -96,7 +96,11 @@ PHP language bindings for the lasso (Liberty Alliance Single Sign On) library. %endif %if %{with_python} -%package python +%package -n python2-lasso +%{?python_provide:%python_provide python2-lasso} +# Remove before F30 +Provides: %{name}-python%{?_isa} = %{version}-%{release} +Obsoletes: %{name}-python < %{version}-%{release} Summary: Liberty Alliance Single Sign On (lasso) Python bindings Group: Development/Libraries BuildRequires: python2-devel @@ -104,7 +108,7 @@ BuildRequires: python-lxml Requires: python Requires: %{name}%{?_isa} = %{version}-%{release} -%description python +%description -n python2-lasso Python language bindings for the lasso (Liberty Alliance Single Sign On) library. %endif @@ -219,13 +223,17 @@ rm -fr %{buildroot}%{_defaultdocdir}/%{name} %endif %if %{with_python} -%files python +%files -n python2-lasso %defattr(-,root,root) %{python_sitearch}/lasso.py* %{python_sitearch}/_lasso.so %endif %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 2.5.1-8 +- Python 2 binary package renamed to python2-lasso + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Aug 03 2017 Fedora Release Engineering - 2.5.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild