!17 fix update error

Merge pull request !17 from 邢星/openEuler-20.03-LTS-SP3
This commit is contained in:
openeuler-ci-bot 2021-12-25 07:59:11 +00:00 committed by Gitee
commit 541dd95e41

View File

@ -1,6 +1,6 @@
Name: gpm
Version: 1.20.7
Release: 22
Release: 23
Summary: The gpm package contains a mouse server for the console and xterm
License: GPLv2 and GPLv2+ with exceptions and GPLv3+ and Verbatim and Copyright only
URL: https://www.nico.schottelius.org/software/gpm/
@ -76,20 +76,16 @@ cp %{SOURCE1} %{buildroot}%{_unitdir}
chmod 644 %{buildroot}%{_unitdir}/gpm.service
%post
%systemd_post gpm.service
if [ -e %{_infodir}/gpm.info.gz ]; then
/sbin/install-info %{_infodir}/gpm.info.gz %{_infodir}/dir || :
fi
%preun
%systemd_preun gpm.service
if [ $1 = 0 -a -e %{_infodir}/gpm.info.gz ]; then
/sbin/install-info %{_infodir}/gpm.info.gz --delete %{_infodir}/dir || :
fi
%postun
%systemd_postun_with_restart gpm.servic
%ldconfig_post
%ldconfig_postun
@ -115,6 +111,9 @@ fi
%{_mandir}/man?/*
%changelog
* Sat Dec 25 2021 xingxing <xingxing9@huawei.com> - 1.20.7-23
- fix update error
* Fri Dec 11 2020 zhujunhao <zhujunhao8@huawei.com> - 1.20.7-22
- modify for patch invalid