diff --git a/shadow.spec b/shadow.spec index 65529422443de650035f8e0c8ccadf2af0064733..1ece1fe71ed8fd2c9d541971648a3a126f67397f 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