Michael Vetter 2024-06-20 07:18:43 +00:00 committed by Git OBS Bridge
parent 1c262ae87f
commit 7956c76734

View File

@ -92,20 +92,20 @@ BuildArch: noarch
This package contains the default login.defs configuration file This package contains the default login.defs configuration file
as used by util-linux, pam and shadow. as used by util-linux, pam and shadow.
%package -n libsubid4 %package -n libsubid5
Summary: A library to manage subordinate uid and gid ranges Summary: A library to manage subordinate uid and gid ranges
Group: System/Base Group: System/Base
%description -n libsubid4 %description -n libsubid5
Utility library that provides a way to manage subid ranges. Utility library that provides a way to manage subid ranges.
%package -n libsubid-devel %package -n libsubid-devel
Summary: Development files for libsubid4 Summary: Development files for libsubid5
Group: System/Base Group: System/Base
Requires: libsubid4 = %{version} Requires: libsubid5 = %{version}
%description -n libsubid-devel %description -n libsubid-devel
Development files for libsubid4. Development files for libsubid5.
%prep %prep
%setup -q -a 1 %setup -q -a 1
@ -278,8 +278,8 @@ done
# - Migration to /usr/etc (after SLE15 and Leap 15) # - Migration to /usr/etc (after SLE15 and Leap 15)
test -f %{_sysconfdir}/login.defs.rpmsave && mv -v %{_sysconfdir}/login.defs.rpmsave %{_sysconfdir}/login.defs ||: test -f %{_sysconfdir}/login.defs.rpmsave && mv -v %{_sysconfdir}/login.defs.rpmsave %{_sysconfdir}/login.defs ||:
%post -n libsubid4 -p /sbin/ldconfig %post -n libsubid5 -p /sbin/ldconfig
%postun -n libsubid4 -p /sbin/ldconfig %postun -n libsubid5 -p /sbin/ldconfig
%files -f shadow.lang %files -f shadow.lang
%license COPYING %license COPYING
@ -379,7 +379,7 @@ test -f %{_sysconfdir}/login.defs.rpmsave && mv -v %{_sysconfdir}/login.defs.rpm
%endif %endif
%{_mandir}/man5/login.defs.5%{?ext_man} %{_mandir}/man5/login.defs.5%{?ext_man}
%files -n libsubid4 %files -n libsubid5
%{_libdir}/libsubid.so.* %{_libdir}/libsubid.so.*
%files -n libsubid-devel %files -n libsubid-devel