|
|
@ -1,9 +1,13 @@
|
|
|
|
Name: libuser
|
|
|
|
Name: libuser
|
|
|
|
Version: 0.64
|
|
|
|
Version: 0.63
|
|
|
|
Release: 8%{?dist}
|
|
|
|
Release: 13%{?dist}
|
|
|
|
License: LGPL-2.0-or-later
|
|
|
|
License: LGPLv2+
|
|
|
|
URL: https://pagure.io/libuser
|
|
|
|
URL: https://pagure.io/libuser
|
|
|
|
Source: libuser-%{version}.tar.gz
|
|
|
|
Source: http://releases.pagure.org/libuser/libuser-%{version}.tar.xz
|
|
|
|
|
|
|
|
Patch0001: 0001-man-typo.patch
|
|
|
|
|
|
|
|
Patch0002: 0002-popt-memopy.patch
|
|
|
|
|
|
|
|
Patch0003: 0003-translation.patch
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: glib2-devel
|
|
|
|
BuildRequires: glib2-devel
|
|
|
|
BuildRequires: linuxdoc-tools
|
|
|
|
BuildRequires: linuxdoc-tools
|
|
|
|
BuildRequires: pam-devel
|
|
|
|
BuildRequires: pam-devel
|
|
|
@ -13,10 +17,11 @@ BuildRequires: libselinux-devel
|
|
|
|
BuildRequires: openldap-devel
|
|
|
|
BuildRequires: openldap-devel
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
# To make sure the configure script can find it
|
|
|
|
# To make sure the configure script can find it
|
|
|
|
|
|
|
|
BuildRequires: nscd
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: gcc
|
|
|
|
# For %%check
|
|
|
|
# For %%check
|
|
|
|
BuildRequires: openldap-clients
|
|
|
|
BuildRequires: openldap-clients
|
|
|
|
BuildRequires: openldap-servers
|
|
|
|
# BuildRequires: openldap-servers
|
|
|
|
BuildRequires: openssl
|
|
|
|
BuildRequires: openssl
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: bison
|
|
|
|
BuildRequires: bison
|
|
|
@ -49,9 +54,8 @@ files useful for developing applications with libuser.
|
|
|
|
%package -n python3-libuser
|
|
|
|
%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: libuser-python3 = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
Provides: python3-libuser = %{version}-%{release}
|
|
|
|
Provides: libuser-python3%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
Provides: python3-libuser%{?_isa} = %{version}-%{release}
|
|
|
|
Obsoletes: libuser-python3 < 0.63-4
|
|
|
|
|
|
|
|
%{?python_provide:%python_provide python3-libuser}
|
|
|
|
%{?python_provide:%python_provide python3-libuser}
|
|
|
|
|
|
|
|
|
|
|
|
%description -n python3-libuser
|
|
|
|
%description -n python3-libuser
|
|
|
@ -60,7 +64,7 @@ the libuser library, which provides a Python 3 API for manipulating and
|
|
|
|
administering user and group accounts.
|
|
|
|
administering user and group accounts.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -p 1
|
|
|
|
%autosetup -n libuser-%{version} -p1
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
./autogen.sh
|
|
|
|
./autogen.sh
|
|
|
@ -75,20 +79,21 @@ make
|
|
|
|
|
|
|
|
|
|
|
|
%find_lang %{name}
|
|
|
|
%find_lang %{name}
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
#%check
|
|
|
|
%make_build check || { cat test-suite.log; false; }
|
|
|
|
#make check || { cat test-suite.log; false; }
|
|
|
|
|
|
|
|
#
|
|
|
|
# Verify that all python modules load, just in case.
|
|
|
|
## Verify that all python modules load, just in case.
|
|
|
|
LD_LIBRARY_PATH=$RPM_BUILD_ROOT/%{_libdir}:${LD_LIBRARY_PATH}
|
|
|
|
#LD_LIBRARY_PATH=$RPM_BUILD_ROOT/%{_libdir}:${LD_LIBRARY_PATH}
|
|
|
|
export LD_LIBRARY_PATH
|
|
|
|
#export LD_LIBRARY_PATH
|
|
|
|
PYTHONPATH=$RPM_BUILD_ROOT%{python3_sitearch}
|
|
|
|
#PYTHONPATH=$RPM_BUILD_ROOT%{python3_sitearch}
|
|
|
|
export PYTHONPATH
|
|
|
|
#export PYTHONPATH
|
|
|
|
%{python3} -c "import libuser"
|
|
|
|
#%{python3} -c "import libuser"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%files -f %{name}.lang
|
|
|
|
|
|
|
|
%{!?_licensedir:%global license %%doc}
|
|
|
|
%license COPYING
|
|
|
|
%license COPYING
|
|
|
|
%doc AUTHORS NEWS README TODO docs/*.txt
|
|
|
|
%doc AUTHORS NEWS README TODO docs/*.txt
|
|
|
|
%config(noreplace) %{_sysconfdir}/libuser.conf
|
|
|
|
%config(noreplace) %{_sysconfdir}/libuser.conf
|
|
|
@ -116,67 +121,48 @@ export PYTHONPATH
|
|
|
|
%{_datadir}/gtk-doc/html/*
|
|
|
|
%{_datadir}/gtk-doc/html/*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 0.64-8
|
|
|
|
* Tue Jul 11 2023 Tomas Halman <thalman@redhat.com> - 0.63-13
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
- Translation update
|
|
|
|
|
|
|
|
Resolves: rhbz#2139662
|
|
|
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.64-7
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.64-6
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Aug 22 2023 Tomas Halman <thalman@redhat.com> - 0.64-5
|
|
|
|
|
|
|
|
- migrated to SPDX license
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.64-4
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jun 14 2023 Python Maint <python-maint@redhat.com> - 0.64-3
|
|
|
|
|
|
|
|
- Rebuilt for Python 3.12
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jan 24 2023 Tomas Halman <thalman@redhat.com>
|
|
|
|
* Thu Nov 10 2022 Tomas Halman <thalman@redhat.com> - 0.63-12
|
|
|
|
- Disabling fs_test, fakeroot does not work on all architectures
|
|
|
|
- correct popt memory handling
|
|
|
|
|
|
|
|
- Fix the manpage
|
|
|
|
|
|
|
|
Resolves: rhbz#2070943
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jan 23 2023 Tomas Halman <thalman@redhat.com>
|
|
|
|
* Fri Jul 15 2022 Tomas Halman <thalman@redhat.com> - 0.63-11
|
|
|
|
- Rebase to version 0.64
|
|
|
|
- remove build dependency for openldap-server
|
|
|
|
- Enable tests
|
|
|
|
Resolves: rhbz#2102876
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.63-14
|
|
|
|
* Tue Aug 17 2021 Tomas Halman <thalman@redhat.com> - 0.63-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
- Update changelog according git history
|
|
|
|
|
|
|
|
Resolves: rhbz#1993633
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Sep 23 2022 Correct popt memory handling
|
|
|
|
* Tue Aug 17 2021 Tomas Halman <thalman@redhat.com> - 0.63-9
|
|
|
|
- Resolves: rhbz#2125904 unable to change shells using sudo lchsh
|
|
|
|
- Fix broken changelog in rpm spec
|
|
|
|
|
|
|
|
Resolves: rhbz#1993633
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.63-12
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.63-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.63-11
|
|
|
|
* Tue Jun 22 2021 Mohan Boddu <mboddu@redhat.com> - 0.63-6
|
|
|
|
- Rebuilt for Python 3.11
|
|
|
|
- Rebuilt for RHEL 9 BETA for openssl 3.0
|
|
|
|
|
|
|
|
Related: rhbz#1971065
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.63-8
|
|
|
|
* Thu May 20 2021 Tomas Halman <thalman@redhat.com> - 0.63-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.63-7
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jun 15 2021 Björn Esser <besser82@fedoraproject.org> - 0.63-6
|
|
|
|
|
|
|
|
- Add patches to add support for the yescrypt hash method
|
|
|
|
|
|
|
|
- Re-enable testsuite
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jun 15 2021 Björn Esser <besser82@fedoraproject.org> - 0.63-5
|
|
|
|
|
|
|
|
- Fix renaming of the python package (#1964587)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.63-4
|
|
|
|
|
|
|
|
- Rebuilt for Python 3.10
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu May 20 2021 Tomas Halman <thalman@redhat.com>
|
|
|
|
|
|
|
|
- Enable audit library in the build
|
|
|
|
- Enable audit library in the build
|
|
|
|
|
|
|
|
- Resolves: rhbz#1923043 - libuser doesn't audit events around the account lifecycle
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue May 11 2021 Tomas Halman <thalman@redhat.com> - 0.63-4
|
|
|
|
|
|
|
|
- Resolves: rhbz#1951601 - Remove fakeroot dependency
|
|
|
|
|
|
|
|
|
|
|
|
* Tue May 11 2021 Tomas Halman <thalman@redhat.com>
|
|
|
|
* Tue May 11 2021 Tomas Halman <thalman@redhat.com> - 0.63-3
|
|
|
|
- Renaming python package according to the standard
|
|
|
|
- Renaming python package according to the standard
|
|
|
|
|
|
|
|
- Resolves: rhbz#1951968
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Apr 20 2021 Jiri Kucera <jkucera@redhat.com> - 0.63-2
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.63-2
|
|
|
|
- Comment out fakeroot (unused)
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Mar 1 2021 Tomas Halman <thalman@redhat.com> - 0.63-1
|
|
|
|
* Mon Mar 1 2021 Tomas Halman <thalman@redhat.com> - 0.63-1
|
|
|
|
- Release new version 0.63
|
|
|
|
- Release new version 0.63
|
|
|
@ -647,7 +633,7 @@ export PYTHONPATH
|
|
|
|
- Fix updating of groups after user renaming in lusermod
|
|
|
|
- Fix updating of groups after user renaming in lusermod
|
|
|
|
- Allow setting a shadow password even if the current shadow password is
|
|
|
|
- Allow setting a shadow password even if the current shadow password is
|
|
|
|
invalid (#131180)
|
|
|
|
invalid (#131180)
|
|
|
|
- Add lu_{user,group}_unlock_nonempty (#86414); module interface ABI has
|
|
|
|
- Add lu_{user,group}_unlock_nonempty (#86414); module interface ABI has
|
|
|
|
changed
|
|
|
|
changed
|
|
|
|
- Miscellaneous bug and memory leak fixes
|
|
|
|
- Miscellaneous bug and memory leak fixes
|
|
|
|
|
|
|
|
|
|
|
@ -722,7 +708,7 @@ export PYTHONPATH
|
|
|
|
- enable SELinux
|
|
|
|
- enable SELinux
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Sep 08 2003 Dan Walsh <dwalsh@redhat.com> 0.51.7-5
|
|
|
|
* Mon Sep 08 2003 Dan Walsh <dwalsh@redhat.com> 0.51.7-5
|
|
|
|
- Turn off SELinux
|
|
|
|
- Turn off SELinux
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Aug 06 2003 Dan Walsh <dwalsh@redhat.com> 0.51.7-3
|
|
|
|
* Wed Aug 06 2003 Dan Walsh <dwalsh@redhat.com> 0.51.7-3
|
|
|
|
- Add SELinux support
|
|
|
|
- Add SELinux support
|
|
|
@ -949,7 +935,7 @@ export PYTHONPATH
|
|
|
|
- finish adding a sasldb module which manipulates a sasldb file
|
|
|
|
- finish adding a sasldb module which manipulates a sasldb file
|
|
|
|
- add users_enumerate_by_group and groups_enumerate_by_users
|
|
|
|
- add users_enumerate_by_group and groups_enumerate_by_users
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jul 25 2001 Nalin Dahyabhai <nalin@redhat.com>
|
|
|
|
* Wed Jul 25 2001 Nalin Dahyabhai <nalin@redhat.com>
|
|
|
|
- luserdel: remove the user's primary group if it has the same name as
|
|
|
|
- luserdel: remove the user's primary group if it has the same name as
|
|
|
|
the user and has no members configured (-G disables)
|
|
|
|
the user and has no members configured (-G disables)
|
|
|
|
- fixup some configure stuff to make libuser.conf get generated correctly
|
|
|
|
- fixup some configure stuff to make libuser.conf get generated correctly
|
|
|
@ -1003,7 +989,7 @@ export PYTHONPATH
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jul 11 2001 Nalin Dahyabhai <nalin@redhat.com>
|
|
|
|
* Wed Jul 11 2001 Nalin Dahyabhai <nalin@redhat.com>
|
|
|
|
- stub out the krb5 and ldap modules so that they'll at least compile again
|
|
|
|
- stub out the krb5 and ldap modules so that they'll at least compile again
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jul 10 2001 Nalin Dahyabhai <nalin@redhat.com>
|
|
|
|
* Tue Jul 10 2001 Nalin Dahyabhai <nalin@redhat.com>
|
|
|
|
- don't bail when writing empty fields to colon-delimited files
|
|
|
|
- don't bail when writing empty fields to colon-delimited files
|
|
|
|
- use permissions of the original file when making backup files instead of 0600
|
|
|
|
- use permissions of the original file when making backup files instead of 0600
|
|
|
|