From f9d1a197b282a42e1a5747aacbce13df3977cd43 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Fri, 29 Jun 2018 17:33:04 -0400 Subject: [PATCH] Use ldconfig scriptlet macros --- libfontenc.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/libfontenc.spec b/libfontenc.spec index 16ce04a..be56c43 100644 --- a/libfontenc.spec +++ b/libfontenc.spec @@ -4,7 +4,7 @@ Summary: X.Org X11 libfontenc runtime library Name: libfontenc Version: 1.1.3 -Release: 7%{?dist} +Release: 8%{?dist} License: MIT Group: System Environment/Libraries URL: http://www.x.org @@ -41,8 +41,8 @@ make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" # Remove all libtool archives (*.la) find $RPM_BUILD_ROOT -type f -name '*.la' | xargs rm -f -- || : -%post -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%ldconfig_post +%ldconfig_postun %files %doc COPYING README ChangeLog @@ -55,6 +55,9 @@ find $RPM_BUILD_ROOT -type f -name '*.la' | xargs rm -f -- || : %{_libdir}/pkgconfig/fontenc.pc %changelog +* Fri Jun 29 2018 Adam Jackson - 1.1.3-8 +- Use ldconfig scriptlet macros + * Wed Feb 07 2018 Fedora Release Engineering - 1.1.3-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild