Switch to %ldconfig_scriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
f6e39eb0c4
commit
173912f34d
@ -3,7 +3,7 @@
|
||||
Summary: A privileged helper for utmp/wtmp updates
|
||||
Name: libutempter
|
||||
Version: 1.1.6
|
||||
Release: 11%{?dist}
|
||||
Release: 12%{?dist}
|
||||
License: LGPLv2+
|
||||
Group: System Environment/Libraries
|
||||
URL: ftp://ftp.altlinux.org/pub/people/ldv/utempter
|
||||
@ -14,8 +14,6 @@ Source0: ftp://ftp.altlinux.org/pub/people/ldv/utempter/%{name}-%{version}.tar.b
|
||||
Patch0: libutempter-pierelro.patch
|
||||
|
||||
Requires(pre): shadow-utils
|
||||
Requires(post): /sbin/ldconfig
|
||||
Requires(postun): /sbin/ldconfig
|
||||
|
||||
Provides: utempter = %{utempter_compat_ver}
|
||||
|
||||
@ -58,8 +56,7 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
|
||||
%{_sbindir}/groupadd -g 35 -r -f utempter || :
|
||||
}
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
%ldconfig_scriptlets
|
||||
|
||||
%files
|
||||
%{!?_licensedir:%global license %%doc}
|
||||
@ -79,6 +76,9 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.1.6-12
|
||||
- Switch to %%ldconfig_scriptlets
|
||||
|
||||
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.6-11
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user