Python 2 binary package renamed to python2-libuser

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2017-08-19 09:38:53 -04:00
parent 3342f4c810
commit 024213f25f

View File

@ -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
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.62-10
- Python 2 binary package renamed to python2-libuser
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.62-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild