Add/Remove info pages to/from info pages database after install/before remove
Signed-off-by: Dodji Seketeli <dodji@seketeli.org>
This commit is contained in:
parent
26901774fa
commit
0aaedc1b95
@ -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 <dodji@seketeli.org> - 1.0-0.rc1.2
|
||||
- Add/Remove info pages to/from info pages database after install/before remove
|
||||
|
||||
* Tue Jan 5 2016 Dodji Seketeli <dodji@redhat.com> - 1.0-0.rc1.1
|
||||
- Ship man/info pages right into the main package, along with the main
|
||||
programs.
|
||||
|
Loading…
Reference in New Issue
Block a user