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: bundled(gnulib)
|
||||||
Provides: /bin/tar
|
Provides: /bin/tar
|
||||||
Provides: /bin/gtar
|
Provides: /bin/gtar
|
||||||
Requires(post): /sbin/install-info
|
|
||||||
Requires(preun): /sbin/install-info
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The GNU tar program saves many files together in one archive and can
|
The GNU tar program saves many files together in one archive and can
|
||||||
@ -106,18 +104,6 @@ make check || (
|
|||||||
)
|
)
|
||||||
%endif
|
%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
|
%files -f %{name}.lang
|
||||||
%{!?_licensedir:%global license %%doc}
|
%{!?_licensedir:%global license %%doc}
|
||||||
%license COPYING
|
%license COPYING
|
||||||
|
Loading…
Reference in New Issue
Block a user