diff --git libuser/libuser.spec libuser/libuser.spec.tmp index 31f0d6a07f..9a00c4ecb8 100644 --- libuser/libuser.spec +++ libuser/libuser.spec.tmp @@ -1,6 +1,6 @@ Name: libuser Version: 0.62 -Release: 9%{?dist} +Release: 10%{?dist} Group: System Environment/Base License: LGPLv2+ URL: https://fedorahosted.org/libuser/ @@ -37,12 +37,16 @@ Requires: glib2-devel%{?_isa} The libuser-devel package contains header files, static libraries, and other files useful for developing applications with libuser. -%package python +%package -n python2-libuser +%{?python_provide:%python_provide python2-libuser} +# Remove before F30 +Provides: %{name}-python%{?_isa} = %{version}-%{release} +Obsoletes: %{name}-python < %{version}-%{release} Summary: Python 2 bindings for the libuser library Group: Development/Libraries Requires: libuser%{?_isa} = %{version}-%{release} -%description python +%description -n python2-libuser The libuser-python package contains the Python 2 bindings for the libuser library, which provides a Python 2 API for manipulating and administering user and group accounts. @@ -131,7 +135,7 @@ LC_ALL=C.UTF-8 python3 -c "import libuser" %exclude %{_libdir}/*.la %exclude %{_libdir}/%{name}/*.la -%files python +%files -n python2-libuser %doc python2/python/modules.txt %{python2_sitearch}/*.so %exclude %{python2_sitearch}/*.la @@ -148,6 +152,10 @@ LC_ALL=C.UTF-8 python3 -c "import libuser" %{_datadir}/gtk-doc/html/* %changelog +* Thu Aug 10 2017 Zbigniew Jędrzejewski-Szmek - 0.62-10 +- Python 2 binary package renamed to python2-libuser + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Aug 03 2017 Fedora Release Engineering - 0.62-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild