Python 2 binary package renamed to python2-stfl

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2017-08-19 09:44:11 -04:00
parent 1f7aea4208
commit 4fa8e8db01
1 changed files with 12 additions and 4 deletions

View File

@ -1,6 +1,6 @@
Name: stfl
Version: 0.22
Release: 23%{?dist}
Release: 24%{?dist}
Summary: The Structured Terminal Forms Language/Library
Group: System Environment/Libraries
@ -41,12 +41,16 @@ Requires: %{name} = %{version}-%{release}
Perl binding for STFL
%package python
%package -n python2-stfl
%{?python_provide:%python_provide python2-stfl}
# Remove before F30
Provides: %{name}-python%{?_isa} = %{version}-%{release}
Obsoletes: %{name}-python < %{version}-%{release}
Summary: Python binding for STFL
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%description python
%description -n python2-stfl
Python binding for STFL.
@ -133,7 +137,7 @@ rm -f %{buildroot}%{perl_archlib}/perllocal.pod
%{perl_vendorarch}/*.pm
%{perl_vendorarch}/auto/stfl/*
%files python
%files -n python2-stfl
%{python_sitearch}/stfl.py*
%{python_sitearch}/_stfl.so
@ -142,6 +146,10 @@ rm -f %{buildroot}%{perl_archlib}/perllocal.pod
%changelog
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.22-24
- Python 2 binary package renamed to python2-stfl
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.22-23
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild