Rename libuser-python3 to python3-libuser

Resolves: rhbz#1951968 - Rename libuser-python3 to python3-libuser
This commit is contained in:
Tomas Halman 2021-05-11 16:30:53 +02:00
parent 846d039d58
commit 227ff53772

View File

@ -1,6 +1,6 @@
Name: libuser Name: libuser
Version: 0.63 Version: 0.63
Release: 2%{?dist} Release: 3%{?dist}
License: LGPLv2+ License: LGPLv2+
URL: https://pagure.io/libuser URL: https://pagure.io/libuser
Source: http://releases.pagure.org/libuser/libuser-%{version}.tar.xz Source: http://releases.pagure.org/libuser/libuser-%{version}.tar.xz
@ -47,15 +47,15 @@ Requires: glib2-devel%{?_isa}
The libuser-devel package contains header files, static libraries, and other The libuser-devel package contains header files, static libraries, and other
files useful for developing applications with libuser. files useful for developing applications with libuser.
%package python3 %package -n python3-libuser
Summary: Python 3 bindings for the libuser library Summary: Python 3 bindings for the libuser library
Requires: libuser%{?_isa} = %{version}-%{release} Requires: libuser%{?_isa} = %{version}-%{release}
Provides: python3-libuser = %{version}-%{release} Provides: python3-libuser = %{version}-%{release}
Provides: python3-libuser%{?_isa} = %{version}-%{release} Provides: python3-libuser%{?_isa} = %{version}-%{release}
%{?python_provide:%python_provide python3-libuser} %{?python_provide:%python_provide python3-libuser}
%description python3 %description -n python3-libuser
The libuser-python3 package contains the Python bindings for The python3-libuser package contains the Python bindings for
the libuser library, which provides a Python 3 API for manipulating and the libuser library, which provides a Python 3 API for manipulating and
administering user and group accounts. administering user and group accounts.
@ -104,7 +104,7 @@ make
%exclude %{_libdir}/*.la %exclude %{_libdir}/*.la
%exclude %{_libdir}/%{name}/*.la %exclude %{_libdir}/%{name}/*.la
%files python3 %files -n python3-libuser
%doc python/modules.txt %doc python/modules.txt
%{python3_sitearch}/*.so %{python3_sitearch}/*.so
%exclude %{python3_sitearch}/*.la %exclude %{python3_sitearch}/*.la
@ -116,6 +116,9 @@ make
%{_datadir}/gtk-doc/html/* %{_datadir}/gtk-doc/html/*
%changelog %changelog
* Wed May 5 2021 Tomas Halman <thalman@redhat.com>
- Resolves: rhbz#1951968 - Rename libuser-python3 to python3-libuser
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.63-2 * Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.63-2
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 - Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937