From 3e678f45a116cac43e7af8333e7f6d9f3a9921b5 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 3 Feb 2018 18:35:19 +0100 Subject: [PATCH] Switch to %ldconfig_scriptlets Signed-off-by: Igor Gnatenko --- libatomic_ops.spec | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/libatomic_ops.spec b/libatomic_ops.spec index a33f4cc..a3ba46a 100644 --- a/libatomic_ops.spec +++ b/libatomic_ops.spec @@ -1,7 +1,7 @@ Name: libatomic_ops Summary: Atomic memory update operations Version: 7.6.2 -Release: 1%{?dist} +Release: 2%{?dist} # libatomic_ops MIT, libatomic_ops_gpl GPLv2 License: GPLv2 and MIT @@ -76,8 +76,7 @@ rm -fv %{buildroot}%{_docdir}/libatomic_ops/{COPYING,README*,*.txt} #endif make check %{?arch_ignore} -%post -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%ldconfig_scriptlets %files %license COPYING @@ -102,6 +101,9 @@ make check %{?arch_ignore} %changelog +* Sat Feb 03 2018 Igor Gnatenko - 7.6.2-2 +- Switch to %%ldconfig_scriptlets + * Fri Dec 29 2017 Rex Dieter - 7.6.2-1 - libatomic_ops-7.6.2 (#1528830)