Remove obsolete scriptlets

References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2019-01-27 15:30:28 +01:00
parent a6f38a9e3d
commit 1b7cb86fdf
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -49,8 +49,6 @@ Patch12: findutils-4.6.0-leaf-opt.patch
# fix programming mistakes detected by static analysis
Patch13: findutils-4.6.0-covscan.patch
Requires(post): /sbin/install-info
Requires(preun): /sbin/install-info
Conflicts: filesystem < 3
Provides: /bin/find
Provides: bundled(gnulib)
@ -126,18 +124,6 @@ rm -f %{buildroot}%{_infodir}/dir
%find_lang %{name}
%post
if [ -f %{_infodir}/find.info.gz ]; then
/sbin/install-info %{_infodir}/find.info.gz %{_infodir}/dir || :
fi
%preun
if [ $1 = 0 ]; then
if [ -f %{_infodir}/find.info.gz ]; then
/sbin/install-info --delete %{_infodir}/find.info.gz %{_infodir}/dir || :
fi
fi
%files -f %{name}.lang
%{!?_licensedir:%global license %%doc}
%license COPYING