Python 2 binary package renamed to python2-lasso

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2017-08-19 09:38:31 -04:00
parent c5e61ee1fc
commit 147d9caaec

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: 7%{?dist} Release: 8%{?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
@ -96,7 +96,11 @@ PHP language bindings for the lasso (Liberty Alliance Single Sign On) library.
%endif %endif
%if %{with_python} %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 Summary: Liberty Alliance Single Sign On (lasso) Python bindings
Group: Development/Libraries Group: Development/Libraries
BuildRequires: python2-devel BuildRequires: python2-devel
@ -104,7 +108,7 @@ BuildRequires: python-lxml
Requires: python Requires: python
Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
%description python %description -n python2-lasso
Python language bindings for the lasso (Liberty Alliance Single Sign On) Python language bindings for the lasso (Liberty Alliance Single Sign On)
library. library.
%endif %endif
@ -219,13 +223,17 @@ rm -fr %{buildroot}%{_defaultdocdir}/%{name}
%endif %endif
%if %{with_python} %if %{with_python}
%files python %files -n python2-lasso
%defattr(-,root,root) %defattr(-,root,root)
%{python_sitearch}/lasso.py* %{python_sitearch}/lasso.py*
%{python_sitearch}/_lasso.so %{python_sitearch}/_lasso.so
%endif %endif
%changelog %changelog
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 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 <releng@fedoraproject.org> - 2.5.1-7 * Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.1-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild