From 7ee7f926216382eeda3e8614cc1f3992f3e7a4b8 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 3 Feb 2018 18:07:14 +0100 Subject: [PATCH] Switch to %ldconfig_scriptlets Signed-off-by: Igor Gnatenko --- libva.spec | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/libva.spec b/libva.spec index 77ed0b7..f0a6e72 100644 --- a/libva.spec +++ b/libva.spec @@ -1,6 +1,6 @@ Name: libva Version: 2.0.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Video Acceleration (VA) API for Linux License: MIT URL: https://01.org/linuxmedia @@ -56,9 +56,7 @@ sed -i.rpath 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool %make_install INSTALL="install -p" find %{buildroot} -regex ".*\.la$" | xargs rm -f -- - -%post -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%ldconfig_scriptlets %files %doc NEWS @@ -72,6 +70,9 @@ find %{buildroot} -regex ".*\.la$" | xargs rm -f -- %{_libdir}/pkgconfig/libva*.pc %changelog +* Sat Feb 03 2018 Igor Gnatenko - 2.0.0-2 +- Switch to %%ldconfig_scriptlets + * Tue Oct 24 2017 Nicolas Chauvet - 2.0.0-1 - Update to 2.0.0