From a4ab3abd4932493b920e99f125ffbed6cfb7bf78 Mon Sep 17 00:00:00 2001 From: liupei Date: Wed, 10 Jul 2024 14:07:53 +0800 Subject: [PATCH] Disassemble the shadow-subid-devel and add the subpackage shadow-subid to facilitate the use of shadow-subid --- shadow.spec | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/shadow.spec b/shadow.spec index 6552942..1ece1fe 100644 --- a/shadow.spec +++ b/shadow.spec @@ -1,6 +1,6 @@ Name: shadow Version: 4.14.3 -Release: 1 +Release: 2 Epoch: 2 License: BSD and GPLv2+ Summary: Tools for managing accounts and shadow password files @@ -39,6 +39,12 @@ This package includes the necessary programs for converting plain password files to the shadow password format and to manage user and group accounts. +%package subid +Summary: A library to manage subordinate uid and gid ranges +License: BSD and GPLv2+ +%description subid +Utility library that provides a way to manage subid ranges. + %package subid-devel Summary: Development package for shadow-utils-subid License: BSD and GPLv2+ @@ -166,7 +172,6 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/libsubid.{la,a} %{_sbindir}/adduser %attr(0755,root,root) %{_sbindir}/user* %attr(0755,root,root) %{_sbindir}/group* -%{_bindir}/getsubids %{_sbindir}/grpck %{_sbindir}/pwck %{_sbindir}/*conv @@ -179,8 +184,12 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/libsubid.{la,a} %{_sysconfdir}/pam.d/groupmems %{_sysconfdir}/pam.d/newusers -%files subid-devel +%files subid %{_libdir}/libsubid.so.* +%{_bindir}/getsubids +%{_mandir}/man1/getsubids.1* + +%files subid-devel %{includesubiddir}/subid.h %{_libdir}/libsubid.so @@ -188,6 +197,9 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/libsubid.{la,a} %{_mandir}/*/* %changelog +* Wed Jul 10 2024 liupei -2:4.14.3-2 +- Disassemble the shadow-subid-devel and add the subpackage shadow-subid to facilitate the use of shadow-subid + * Thu Feb 1 2024 zhengxiaoxiao - 2:4.14.3-1 - update version to 4.14.3 -Avoid null pointer dereference -- Gitee