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:28:03 +01:00
parent 6b0ed76b4e
commit d178904665
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -33,14 +33,6 @@ won't use it.
%make_install %make_install
rm -vrf %{buildroot}%{_infodir}/dir rm -vrf %{buildroot}%{_infodir}/dir
%post
/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || :
%preun
if [ $1 = 0 ] ; then
/sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || :
fi
%files %files
%license COPYING %license COPYING
%doc ChangeLog NEWS README TODO AUTHORS %doc ChangeLog NEWS README TODO AUTHORS