!11 【Mainline】Update to 1.2.4

Merge pull request !11 from yixiangzhike/master
This commit is contained in:
openeuler-ci-bot 2021-12-31 06:49:10 +00:00 committed by Gitee
commit 0276f9be09
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
Version: 1.2.2
Release: 3
Version: 1.2.4
Release: 1
Summary: A tool to select system authentication and identity sources from a list of supported profiles
License: GPLv3+
URL: https://github.com/authselect/authselect
@ -13,6 +13,9 @@ Requires: grep sed systemd gawk coreutils findutils pam >= 1.3.1
Obsoletes: authselect-libs
Provides: authselect-libs
Obsoletes: authselect-compat < 1.2.4
Obsoletes: authconfig < 7.0.1-6
%description
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.
@ -30,20 +33,6 @@ users are encouraged to migrate to authselect completely.
%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
Summary: Development library files and header files for the authselect tool
Requires: authselect%{?_isa} = %{version}-%{release}
@ -92,20 +81,15 @@ autoreconf -ivf
%{_libdir}/libauthselect.so
%{_libdir}/pkgconfig/authselect.pc
%files compat
%{_sbindir}/authconfig
%{python3_sitelib}/authselect/
%files help
%defattr(-,root,root)
%{_datadir}/doc/authselect/*
%{_mandir}/*
%posttrans compat
sed -i -E '/^\w+=$/d' %{_sysconfdir}/security/pwquality.conf.d/10-authconfig-pwquality.conf &> /dev/null
exit 0
%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
- Delete unnecessary gdb from BuildRequires