update to 1.2.1 [release 1.2.1-1mamba;Mon Jul 27 2020]

This commit is contained in:
Silvan Calarco 2024-01-06 06:00:40 +01:00
parent 1b9233a9b2
commit 38c13cd649

View File

@ -1,7 +1,7 @@
%define utmp_gid 17 %define utmp_gid 17
%define utempter_gid 51 %define utempter_gid 51
Name: libutempter Name: libutempter
Version: 1.1.6 Version: 1.2.1
Release: 1mamba Release: 1mamba
Summary: A privileged helper for utmp/wtmp updates Summary: A privileged helper for utmp/wtmp updates
Group: System/Libraries Group: System/Libraries
@ -9,7 +9,7 @@ Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Tiziana Ferro <tiziana.ferro@email.it> Packager: Tiziana Ferro <tiziana.ferro@email.it>
URL: ftp://ftp.altlinux.org/pub/people/ldv/utempter URL: ftp://ftp.altlinux.org/pub/people/ldv/utempter
Source: ftp://ftp.altlinux.org/pub/people/ldv/utempter/libutempter-%{version}.tar.bz2 Source: ftp://ftp.altlinux.org/pub/people/ldv/utempter/libutempter-%{version}.tar.gz
License: LGPL License: LGPL
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
@ -31,6 +31,8 @@ This package contains development files required to build utempter-based softwar
This package contains static libraries and header files need for development. This package contains static libraries and header files need for development.
%debug_package
%prep %prep
%setup -q %setup -q
@ -52,6 +54,8 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
%{_sbindir}/groupadd -g %{utempter_gid} -r utempter 2>/dev/null || : %{_sbindir}/groupadd -g %{utempter_gid} -r utempter 2>/dev/null || :
: :
%post -p /sbin/ldconfig
%postun %postun
/sbin/ldconfig /sbin/ldconfig
if [ $1 -eq 0 ]; then if [ $1 -eq 0 ]; then
@ -59,11 +63,9 @@ if [ $1 -eq 0 ]; then
fi fi
: :
%post -p /sbin/ldconfig
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/*.so.* %{_libdir}/libutempter.so.*
%dir %attr(755,root,utempter) %{_prefix}/lib/utempter %dir %attr(755,root,utempter) %{_prefix}/lib/utempter
%attr(2711,root,utmp) %{_prefix}/lib/utempter/utempter %attr(2711,root,utmp) %{_prefix}/lib/utempter/utempter
%doc COPYING README %doc COPYING README
@ -75,14 +77,13 @@ fi
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{_includedir}/utempter.h %{_includedir}/utempter.h
%{_libdir}/libutempter.so %{_libdir}/libutempter.so
%{_mandir}/man3/libutempter.3.gz %{_mandir}/man3/libutempter.3*
%{_mandir}/man3/utempter.3.gz %{_mandir}/man3/utempter*.3*
%{_mandir}/man3/utempter_add_record.3.gz
%{_mandir}/man3/utempter_remove_added_record.3.gz
%{_mandir}/man3/utempter_remove_record.3.gz
%{_mandir}/man3/utempter_set_helper.3.gz
%changelog %changelog
* Mon Jul 27 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.1-1mamba
- update to 1.2.1
* Sat Aug 11 2012 Automatic Build System <autodist@mambasoft.it> 1.1.6-1mamba * Sat Aug 11 2012 Automatic Build System <autodist@mambasoft.it> 1.1.6-1mamba
- automatic version update by autodist - automatic version update by autodist