From 9324c8b79fe3f638f8c3b4a63f8ecd732a1a8c98 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Feb 03 2018 11:50:52 +0000 Subject: Switch to %ldconfig_scriptlets Signed-off-by: Igor Gnatenko --- diff --git a/openjpeg2.spec b/openjpeg2.spec index b01c812..9f7af44 100644 --- a/openjpeg2.spec +++ b/openjpeg2.spec @@ -5,7 +5,7 @@ Name: openjpeg2 Version: 2.3.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: C-Library for JPEG 2000 # windirent.h is MIT, the rest is BSD @@ -243,9 +243,7 @@ chmod +x %{buildroot}%{_bindir}/opj2_jpip_viewer %endif -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig +%ldconfig_scriptlets %check @@ -327,6 +325,9 @@ make test -C %{_target_platform} %changelog +* Sat Feb 03 2018 Igor Gnatenko - 2.3.0-4 +- Switch to %%ldconfig_scriptlets + * Mon Dec 25 2017 Sandro Mani - 2.3.0-3 - Rename tool names at cmake level to ensure OpenJPEGTargets.cmake refers to the renamed files