Unknown reasons
This commit is contained in:
commit
7b83124311
19
annobin.spec
19
annobin.spec
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user