From f3275bdc0fc064c8c28193cbae1715253c4a8052 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 3 Feb 2018 13:18:40 +0100 Subject: [PATCH] Switch to %ldconfig_scriptlets Signed-off-by: Igor Gnatenko --- file.spec | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/file.spec b/file.spec index d471541..31f2da6 100644 --- a/file.spec +++ b/file.spec @@ -3,7 +3,7 @@ Summary: A utility for determining file types Name: file Version: 5.32 -Release: 1%{?dist} +Release: 2%{?dist} License: BSD Group: Applications/File Source0: ftp://ftp.astron.com/pub/file/file-%{version}.tar.gz @@ -133,9 +133,7 @@ cd %{py3dir} %endif %{__install} -d ${RPM_BUILD_ROOT}%{_datadir}/%{name} -%post libs -p /sbin/ldconfig - -%postun libs -p /sbin/ldconfig +%ldconfig_scriptlets libs %files %{!?_licensedir:%global license %%doc} @@ -182,6 +180,9 @@ cd %{py3dir} %endif %changelog +* Sat Feb 03 2018 Igor Gnatenko - 5.32-2 +- Switch to %%ldconfig_scriptlets + * Mon Sep 04 2017 Kamil Dudka - 5.32-1 - update to new version 5.32