remove unneeded install-info scriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
cb01155831
commit
7aff41d33b
17
annobin.spec
17
annobin.spec
@ -36,9 +36,6 @@ Source: https://nickc.fedorapeople.org/annobin-%{version}.tar.xz
|
|||||||
# Patch01: annobin-xxx.patch
|
# 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++ pkgconfig coreutils info
|
||||||
|
|
||||||
%description
|
%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
|
%files
|
||||||
%{ANNOBIN_PLUGIN_DIR}
|
%{ANNOBIN_PLUGIN_DIR}
|
||||||
%{_bindir}/built-by
|
%{_bindir}/built-by
|
||||||
|
Loading…
Reference in New Issue
Block a user