Unknown reasons

This commit is contained in:
Nick Clifton 2018-07-11 09:28:28 +01:00
commit 7b83124311

View File

@ -36,10 +36,7 @@ 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
BuildRequires: gcc-plugin-devel gcc-c++
%description
A plugin for GCC that records extra information in the files that it compiles,
@ -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