From f735d817d5eb1a179ab8ddd0f0460d4010a51cdf Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sun, 4 Feb 2018 11:31:22 +0100 Subject: [PATCH] Switch to %ldconfig_scriptlets Signed-off-by: Igor Gnatenko --- clucene.spec | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/clucene.spec b/clucene.spec index 5add4cd..9028e4e 100644 --- a/clucene.spec +++ b/clucene.spec @@ -6,7 +6,7 @@ Summary: A C++ port of Lucene Name: clucene Version: 2.3.3.4 -Release: 29.%{snap}.%{git_short}git%{?dist} +Release: 30.%{snap}.%{git_short}git%{?dist} License: LGPLv2+ or ASL 2.0 Group: Development/System URL: http://www.sourceforge.net/projects/clucene @@ -116,9 +116,7 @@ make -C %{_target_platform} cl_test && \ time make -C %{_target_platform} test ARGS="--timeout 300 --output-on-failure" ||: #endif - -%post core -p /sbin/ldconfig -%postun core -p /sbin/ldconfig +%ldconfig_scriptlets core %files core %defattr(-, root, root, -) @@ -128,8 +126,7 @@ time make -C %{_target_platform} test ARGS="--timeout 300 --output-on-failure" | %{_libdir}/libclucene-shared.so.1* %{_libdir}/libclucene-shared.so.%{version} -%post contribs-lib -p /sbin/ldconfig -%postun contribs-lib -p /sbin/ldconfig +%ldconfig_scriptlets contribs-lib %files contribs-lib %defattr(-, root, root, -) @@ -148,6 +145,9 @@ time make -C %{_target_platform} test ARGS="--timeout 300 --output-on-failure" | %changelog +* Sun Feb 04 2018 Igor Gnatenko - 2.3.3.4-30.20130812.e8e3d20git +- Switch to %%ldconfig_scriptlets + * Wed Aug 02 2017 Fedora Release Engineering - 2.3.3.4-29.20130812.e8e3d20git - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild