From ba2e3fd314502192ca7956e957a54106a333cc49 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Thu, 1 Feb 2018 06:02:28 +0100 Subject: [PATCH] Switch to %ldconfig_scriptlets Signed-off-by: Igor Gnatenko --- rust.spec | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/rust.spec b/rust.spec index fb86dcd..e71cbb6 100644 --- a/rust.spec +++ b/rust.spec @@ -48,7 +48,7 @@ Name: rust Version: 1.23.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: The Rust Programming Language License: (ASL 2.0 or MIT) and (BSD and ISC and MIT) # ^ written as: (rust itself) and (bundled libraries) @@ -412,8 +412,7 @@ rm -f %{buildroot}%{rustlibdir}/etc/lldb_*.py* ./x.py test --no-fail-fast || : -%post -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%ldconfig_scriptlets %files @@ -475,6 +474,9 @@ rm -f %{buildroot}%{rustlibdir}/etc/lldb_*.py* %changelog +* Thu Feb 01 2018 Igor Gnatenko - 1.23.0-2 +- Switch to %%ldconfig_scriptlets + * Mon Jan 08 2018 Josh Stone - 1.23.0-1 - Update to 1.23.0.