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 19:01:45 +01:00
parent e291c0d8d9
commit 4f710d5172
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -126,17 +126,11 @@ rm -rf %{buildroot}%{_mandir}
%ifnarch s390 s390x
%systemd_post gpm.service
%endif
if [ -e %{_infodir}/gpm.info.gz ]; then
/sbin/install-info %{_infodir}/gpm.info.gz %{_infodir}/dir || :
fi
%preun
%ifnarch s390 s390x
%systemd_preun gpm.service
%endif
if [ $1 = 0 -a -e %{_infodir}/gpm.info.gz ]; then
/sbin/install-info %{_infodir}/gpm.info.gz --delete %{_infodir}/dir || :
fi
%postun
%ifnarch s390 s390x