From 74dafa6915959aac2c2e792a16c9e8562d1412a5 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sun, 27 Jan 2019 19:04:45 +0100 Subject: [PATCH] Remove obsolete scriptlets References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko --- libabigail.spec | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/libabigail.spec b/libabigail.spec index a429da8..2613cea 100644 --- a/libabigail.spec +++ b/libabigail.spec @@ -122,16 +122,7 @@ if test $? -ne 0; then cat tests/tests-suite.log fi -%post -%?ldconfig -/usr/sbin/install-info %{_infodir}/abigail.info* %{_infodir}/dir 2>/dev/null || : - -%preun -if [ $1 -eq 0 ]; then - /usr/sbin/install-info --delete %{_infodir}/abigail.info* %{_infodir}/dir 2>/dev/null || : -fi - -%ldconfig_postun +%ldconfig_scriptlets %files %{_bindir}/abicompat