Remove obsolete scriptlets
References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
e291c0d8d9
commit
4f710d5172
6
gpm.spec
6
gpm.spec
@ -126,17 +126,11 @@ rm -rf %{buildroot}%{_mandir}
|
|||||||
%ifnarch s390 s390x
|
%ifnarch s390 s390x
|
||||||
%systemd_post gpm.service
|
%systemd_post gpm.service
|
||||||
%endif
|
%endif
|
||||||
if [ -e %{_infodir}/gpm.info.gz ]; then
|
|
||||||
/sbin/install-info %{_infodir}/gpm.info.gz %{_infodir}/dir || :
|
|
||||||
fi
|
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
%ifnarch s390 s390x
|
%ifnarch s390 s390x
|
||||||
%systemd_preun gpm.service
|
%systemd_preun gpm.service
|
||||||
%endif
|
%endif
|
||||||
if [ $1 = 0 -a -e %{_infodir}/gpm.info.gz ]; then
|
|
||||||
/sbin/install-info %{_infodir}/gpm.info.gz --delete %{_infodir}/dir || :
|
|
||||||
fi
|
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
%ifnarch s390 s390x
|
%ifnarch s390 s390x
|
||||||
|
Loading…
Reference in New Issue
Block a user