Update to 1.2.4

This commit is contained in:
yixiangzhike 2021-11-30 15:34:09 +08:00
parent 51d2eee7bd
commit 9c944838f8
3 changed files with 8 additions and 24 deletions

Binary file not shown.

BIN
authselect-1.2.4.tar.gz Normal file

Binary file not shown.

View File

@ -1,6 +1,6 @@
Name: authselect Name: authselect
Version: 1.2.2 Version: 1.2.4
Release: 3 Release: 1
Summary: A tool to select system authentication and identity sources from a list of supported profiles Summary: A tool to select system authentication and identity sources from a list of supported profiles
License: GPLv3+ License: GPLv3+
URL: https://github.com/authselect/authselect URL: https://github.com/authselect/authselect
@ -13,6 +13,9 @@ Requires: grep sed systemd gawk coreutils findutils pam >= 1.3.1
Obsoletes: authselect-libs Obsoletes: authselect-libs
Provides: authselect-libs Provides: authselect-libs
Obsoletes: authselect-compat < 1.2.4
Obsoletes: authconfig < 7.0.1-6
%description %description
Authselect is designed to be a replacement for authconfig (which is the default tool for this Authselect is designed to be a replacement for authconfig (which is the default tool for this
job on Fedora and RHEL based systems) but it takes a different approach to configure the system. job on Fedora and RHEL based systems) but it takes a different approach to configure the system.
@ -30,20 +33,6 @@ users are encouraged to migrate to authselect completely.
%package_help %package_help
%package compat
Summary: Tool to provide minimum backwards compatibility with authconfig
Obsoletes: authconfig < 7.0.1-6
Provides: authconfig
BuildRequires: python3-devel
Requires: authselect%{?_isa} = %{version}-%{release}
Requires: sed
%description compat
This package will replace %{_sbindir}/authconfig with a tool that will
translate some of the authconfig calls into authselect calls. It provides
only minimum backward compatibility and users are encouraged to migrate
to authselect completely.
%package devel %package devel
Summary: Development library files and header files for the authselect tool Summary: Development library files and header files for the authselect tool
Requires: authselect%{?_isa} = %{version}-%{release} Requires: authselect%{?_isa} = %{version}-%{release}
@ -92,20 +81,15 @@ autoreconf -ivf
%{_libdir}/libauthselect.so %{_libdir}/libauthselect.so
%{_libdir}/pkgconfig/authselect.pc %{_libdir}/pkgconfig/authselect.pc
%files compat
%{_sbindir}/authconfig
%{python3_sitelib}/authselect/
%files help %files help
%defattr(-,root,root) %defattr(-,root,root)
%{_datadir}/doc/authselect/* %{_datadir}/doc/authselect/*
%{_mandir}/* %{_mandir}/*
%posttrans compat
sed -i -E '/^\w+=$/d' %{_sysconfdir}/security/pwquality.conf.d/10-authconfig-pwquality.conf &> /dev/null
exit 0
%changelog %changelog
* Thu Dec 30 2021 yixiangzhike <yixiangzhike007@163.com> - 1.2.4-1
- update to 1.2.4
* Mon Jul 19 2021 yixiangzhike <zhangxingliang3@huawei.com> - 1.2.2-3 * Mon Jul 19 2021 yixiangzhike <zhangxingliang3@huawei.com> - 1.2.2-3
- Delete unnecessary gdb from BuildRequires - Delete unnecessary gdb from BuildRequires