From 8b9db05d974126bf65504ec37cdb84149a1df77d Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 3 Feb 2018 16:25:32 +0100 Subject: [PATCH] Switch to %ldconfig_scriptlets Signed-off-by: Igor Gnatenko --- glew.spec | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/glew.spec b/glew.spec index 280c1cf..7d6cc60 100644 --- a/glew.spec +++ b/glew.spec @@ -1,6 +1,6 @@ Name: glew Version: 2.0.0 -Release: 4%{?dist} +Release: 5%{?dist} Summary: The OpenGL Extension Wrangler Library Group: System Environment/Libraries License: BSD and MIT @@ -52,9 +52,7 @@ find $RPM_BUILD_ROOT -type f -name "*.a" -delete # sigh chmod 0755 $RPM_BUILD_ROOT%{_libdir}/*.so* -%post -n libGLEW -p /sbin/ldconfig - -%postun -n libGLEW -p /sbin/ldconfig +%ldconfig_scriptlets -n libGLEW %files %doc LICENSE.txt @@ -71,6 +69,9 @@ chmod 0755 $RPM_BUILD_ROOT%{_libdir}/*.so* %doc doc/* %changelog +* Sat Feb 03 2018 Igor Gnatenko - 2.0.0-5 +- Switch to %%ldconfig_scriptlets + * Wed Aug 02 2017 Fedora Release Engineering - 2.0.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild