rename newt-python3 subpackage to python3-newt

This commit is contained in:
Miroslav Lichvar 2018-02-21 15:47:02 +01:00
parent 21fd3773fe
commit 8690470f0f

View File

@ -60,13 +60,18 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
The python2-newt package contains the Python 2 bindings for the newt library
providing a python API for creating text mode interfaces.
%package python3
%package -n python3-newt
%{?python_provide:%python_provide python3-newt}
# Remove before F30
Provides: %{name}-python3 = %{version}-%{release}
Provides: %{name}-python3%{?_isa} = %{version}-%{release}
Obsoletes: %{name}-python3 < %{version}-%{release}
Summary: Python 3 bindings for newt
Group: Development/Libraries
Requires: %{name}%{?_isa} = %{version}-%{release}
%description python3
The newt-python3 package contains the Python 3 bindings for the newt library
%description -n python3-newt
The python3-newt package contains the Python 3 bindings for the newt library
providing a python API for creating text mode interfaces.
%prep
@ -109,7 +114,7 @@ make DESTDIR=$RPM_BUILD_ROOT install
%{python2_sitearch}/*.so
%{python2_sitearch}/*.py*
%files python3
%files -n python3-newt
%doc peanuts.py popcorn.py
%{python3_sitearch}/*.so
%{python3_sitearch}/*.py*