diff --git a/libutempter.spec b/libutempter.spec index 1211393..0cd7548 100644 --- a/libutempter.spec +++ b/libutempter.spec @@ -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 - 1.1.6-12 +- Switch to %%ldconfig_scriptlets + * Thu Aug 03 2017 Fedora Release Engineering - 1.1.6-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild