diff --git newt/newt.spec newt/newt.spec.tmp index 264f77a03e..f807ddb7af 100644 --- newt/newt.spec +++ newt/newt.spec.tmp @@ -7,7 +7,7 @@ Summary: A library for text mode user interfaces Name: newt Version: 0.52.20 -Release: 3%{?dist} +Release: 4%{?dist} License: LGPLv2 Group: System Environment/Libraries URL: https://pagure.io/newt @@ -55,12 +55,16 @@ newt. The newt-static package contains the static version of the newt library. Install it if you need to link statically with libnewt. -%package python +%package -n python2-newt +%{?python_provide:%python_provide python2-newt} +# Remove before F30 +Provides: %{name}-python%{?_isa} = %{version}-%{release} +Obsoletes: %{name}-python < %{version}-%{release} Summary: Python 2 bindings for newt Group: Development/Libraries Requires: %{name}%{?_isa} = %{version}-%{release} -%description python +%description -n python2-newt The newt-python package contains the Python 2 bindings for the newt library providing a python API for creating text mode interfaces. @@ -110,7 +114,7 @@ make DESTDIR=$RPM_BUILD_ROOT install %files static %{_libdir}/libnewt.a -%files python +%files -n python2-newt %doc peanuts.py popcorn.py %{python_sitearch}/*.so %{python_sitearch}/*.py* @@ -124,6 +128,10 @@ make DESTDIR=$RPM_BUILD_ROOT install %endif %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.52.20-4 +- Python 2 binary package renamed to python2-newt + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Aug 03 2017 Fedora Release Engineering - 0.52.20-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild