Remove obsolete ldconfig scriptlets

References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2019-01-22 18:39:30 +01:00
parent 5568d07ed9
commit 5fae8f8e95
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C
1 changed files with 0 additions and 18 deletions

View File

@ -35,11 +35,6 @@ BuildRequires: texlive-ec
BuildRequires: texlive-eurosym
BuildRequires: texinfo-tex
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
Requires(post): info
Requires(preun): info
%description
Ledger is a powerful, double-entry accounting system that is accessed
from the UNIX command-line. This may put off some users as there is
@ -157,19 +152,6 @@ done
# Tests all fail when removing rpath.
# make check
%postun -p /sbin/ldconfig
%post
/sbin/ldconfig
install-info %{_infodir}/ledger3.info %{_infodir}/dir || :
install-info %{_infodir}/ledger-mode.info %{_infodir}/dir || :
%preun
if [ $1 = 0 ]; then
install-info --delete %{_infodir}/ledger3.info %{_infodir}/dir || :
install-info --delete %{_infodir}/ledger-mode.info %{_infodir}/dir || :
fi
%files
%doc README.md doc/GLOSSARY.md doc/NEWS
%doc doc/ledger3.html doc/ledger-mode.html