diff --git a/authselect-1.2.2.tar.gz b/authselect-1.2.2.tar.gz deleted file mode 100644 index 44bb2ff..0000000 Binary files a/authselect-1.2.2.tar.gz and /dev/null differ diff --git a/authselect-1.2.4.tar.gz b/authselect-1.2.4.tar.gz new file mode 100644 index 0000000..23ed5f5 Binary files /dev/null and b/authselect-1.2.4.tar.gz differ diff --git a/authselect.spec b/authselect.spec index a45d506..9a36f60 100644 --- a/authselect.spec +++ b/authselect.spec @@ -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 - 1.2.4-1 +- update to 1.2.4 + * Mon Jul 19 2021 yixiangzhike - 1.2.2-3 - Delete unnecessary gdb from BuildRequires