commit
742e23d5fc
9
gpm.spec
9
gpm.spec
@ -1,6 +1,6 @@
|
|||||||
Name: gpm
|
Name: gpm
|
||||||
Version: 1.20.7
|
Version: 1.20.7
|
||||||
Release: 24
|
Release: 25
|
||||||
Summary: The gpm package contains a mouse server for the console and xterm
|
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
|
License: GPLv2 and GPLv2+ with exceptions and GPLv3+ and Verbatim and Copyright only
|
||||||
URL: https://www.nico.schottelius.org/software/gpm/
|
URL: https://www.nico.schottelius.org/software/gpm/
|
||||||
@ -78,20 +78,16 @@ cp %{SOURCE1} %{buildroot}%{_unitdir}
|
|||||||
chmod 644 %{buildroot}%{_unitdir}/gpm.service
|
chmod 644 %{buildroot}%{_unitdir}/gpm.service
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%systemd_post gpm.service
|
|
||||||
if [ -e %{_infodir}/gpm.info.gz ]; then
|
if [ -e %{_infodir}/gpm.info.gz ]; then
|
||||||
/sbin/install-info %{_infodir}/gpm.info.gz %{_infodir}/dir || :
|
/sbin/install-info %{_infodir}/gpm.info.gz %{_infodir}/dir || :
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
%systemd_preun gpm.service
|
|
||||||
if [ $1 = 0 -a -e %{_infodir}/gpm.info.gz ]; then
|
if [ $1 = 0 -a -e %{_infodir}/gpm.info.gz ]; then
|
||||||
/sbin/install-info %{_infodir}/gpm.info.gz --delete %{_infodir}/dir || :
|
/sbin/install-info %{_infodir}/gpm.info.gz --delete %{_infodir}/dir || :
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
%systemd_postun_with_restart gpm.servic
|
|
||||||
|
|
||||||
%ldconfig_post
|
%ldconfig_post
|
||||||
%ldconfig_postun
|
%ldconfig_postun
|
||||||
|
|
||||||
@ -117,6 +113,9 @@ fi
|
|||||||
%{_mandir}/man?/*
|
%{_mandir}/man?/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Fri Jul 30 2021 wangkerong <wangkerong@huawei.com> - 1.20.7-24
|
||||||
- fix build fail on gcc-10
|
- fix build fail on gcc-10
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user