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:24:40 +01:00
parent 15afa47f9b
commit f8b4e758e9
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -29,14 +29,6 @@ rm -frv %{buildroot}%{_infodir}/dir
# document files are installed another location
rm -frv %{buildroot}%{_datadir}/doc/%{name}
%post
install-info %{_infodir}/%{name}.info.gz %{_infodir}/dir || :
%preun
if [ $1 = 0 ]; then
install-info --delete %{_infodir}/%{name}.info.gz %{_infodir}/dir || :
fi
%files
%doc AUTHORS NEWS README TODO
%license COPYING*