remove unneeded scriptlets
install-info is handled by filetriggers nowadays (see the guidelines). Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
f660fe2c5a
commit
a72a896b34
14
tar.spec
14
tar.spec
@ -41,8 +41,6 @@ BuildRequires: libselinux-devel
|
||||
Provides: bundled(gnulib)
|
||||
Provides: /bin/tar
|
||||
Provides: /bin/gtar
|
||||
Requires(post): /sbin/install-info
|
||||
Requires(preun): /sbin/install-info
|
||||
|
||||
%description
|
||||
The GNU tar program saves many files together in one archive and can
|
||||
@ -106,18 +104,6 @@ make check || (
|
||||
)
|
||||
%endif
|
||||
|
||||
%post
|
||||
if [ -f %{_infodir}/tar.info.gz ]; then
|
||||
/sbin/install-info %{_infodir}/tar.info.gz %{_infodir}/dir || :
|
||||
fi
|
||||
|
||||
%preun
|
||||
if [ $1 = 0 ]; then
|
||||
if [ -f %{_infodir}/tar.info.gz ]; then
|
||||
/sbin/install-info --delete %{_infodir}/tar.info.gz %{_infodir}/dir || :
|
||||
fi
|
||||
fi
|
||||
|
||||
%files -f %{name}.lang
|
||||
%{!?_licensedir:%global license %%doc}
|
||||
%license COPYING
|
||||
|
Loading…
Reference in New Issue
Block a user