!11 fix update error

Merge pull request !11 from 邢星/master
This commit is contained in:
openeuler-ci-bot 2021-12-24 09:36:45 +00:00 committed by Gitee
commit 742e23d5fc

View File

@ -1,6 +1,6 @@
Name: gpm
Version: 1.20.7
Release: 24
Release: 25
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/
@ -78,20 +78,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
@ -117,6 +113,9 @@ fi
%{_mandir}/man?/*
%changelog
* Wed Dec 22 2021 xingxing <xingxing9@huawei.com> - 1.20.7-25
- fix update error
* Fri Jul 30 2021 wangkerong <wangkerong@huawei.com> - 1.20.7-24
- fix build fail on gcc-10