remove unneeded scriptlets

The install-info is triggered automatically by filetrigger.

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-07-12 10:36:18 +02:00
parent e1e84897d3
commit 6c54192149
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -37,8 +37,6 @@ Patch7: cpio-2.10-longnames-split.patch
Patch8: cpio-2.11-crc-fips-nit.patch
Requires(post): /sbin/install-info
Requires(preun): /sbin/install-info
Provides: bundled(gnulib)
Provides: /bin/cpio
BuildRequires: gcc
@ -89,20 +87,6 @@ make check || {
}
%post
if [ -f %{_infodir}/cpio.info.gz ]; then
/sbin/install-info %{_infodir}/cpio.info.gz %{_infodir}/dir || :
fi
%preun
if [ $1 = 0 ]; then
if [ -f %{_infodir}/cpio.info.gz ]; then
/sbin/install-info --delete %{_infodir}/cpio.info.gz %{_infodir}/dir || :
fi
fi
%files -f %{name}.lang
%doc AUTHORS ChangeLog NEWS README THANKS TODO
%{!?_licensedir:%global license %%doc}