remove unneeded install-info scriptlets

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-07-10 15:55:33 +02:00
parent cb01155831
commit 7aff41d33b
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -36,9 +36,6 @@ Source: https://nickc.fedorapeople.org/annobin-%{version}.tar.xz
# Patch01: annobin-xxx.patch
Requires(post): /sbin/install-info
Requires(preun): /sbin/install-info
BuildRequires: gcc-plugin-devel gcc-c++ pkgconfig coreutils info
%description
@ -177,20 +174,6 @@ make check
#---------------------------------------------------------------------------------
%post
/sbin/install-info %{_infodir}/annobin.info.gz %{_infodir} >/dev/null 2>&1 || :
exit 0
#---------------------------------------------------------------------------------
%preun
if [ $1 = 0 ]; then
/sbin/install-info --delete %{_infodir}/annobin.info.gz %{_infodir} >/dev/null 2>&1|| :
fi
exit 0
#---------------------------------------------------------------------------------
%files
%{ANNOBIN_PLUGIN_DIR}
%{_bindir}/built-by