From 0aaedc1b95fb670df8d7ee8cbe1ec771e888b580 Mon Sep 17 00:00:00 2001 From: Dodji Seketeli Date: Wed, 6 Jan 2016 10:02:29 +0100 Subject: [PATCH] Add/Remove info pages to/from info pages database after install/before remove Signed-off-by: Dodji Seketeli --- libabigail.spec | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/libabigail.spec b/libabigail.spec index 9d91622..14317f7 100644 --- a/libabigail.spec +++ b/libabigail.spec @@ -3,7 +3,7 @@ Name: libabigail Version: 1.0 -Release: 0.%{tarball_revision}.1%{?dist} +Release: 0.%{tarball_revision}.2%{?dist} Summary: Set of ABI analysis tools License: LGPLv3+ @@ -93,18 +93,17 @@ if test $? -ne 0; then cat tests/tests-suite.log fi -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig - -%post doc +%post +/sbin/ldconfig /usr/sbin/install-info %{_infodir}/abigail.info* %{_infodir}/dir 2>/dev/null || : -%preun doc +%preun if [ $1 -eq 0 ]; then /usr/sbin/install-info --delete %{_infodir}/abigail.info* %{_infodir}/dir 2>/dev/null || : fi +%postun -p /sbin/ldconfig + %files %{_bindir}/abicompat %{_bindir}/abidiff @@ -130,6 +129,9 @@ fi %doc doc/manuals/html/* %changelog +* Wed Jan 6 2016 Dodji Seketeli - 1.0-0.rc1.2 +- Add/Remove info pages to/from info pages database after install/before remove + * Tue Jan 5 2016 Dodji Seketeli - 1.0-0.rc1.1 - Ship man/info pages right into the main package, along with the main programs.