!24 add build_cross to avoid install linuxconsoletools in self-build
From: @zppzhangpan Reviewed-by: @leeffo Signed-off-by: @leeffo
This commit is contained in:
commit
22effd15d4
7
gpm.spec
7
gpm.spec
@ -1,6 +1,6 @@
|
||||
Name: gpm
|
||||
Version: 1.20.7
|
||||
Release: 26
|
||||
Release: 27
|
||||
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/
|
||||
@ -20,7 +20,9 @@ Patch6002: fix-build-fail-on-gcc-10.patch
|
||||
Requires(post): systemd systemd-sysv info
|
||||
Requires(preun): systemd info
|
||||
Requires(postun): systemd
|
||||
%if 0%{?build_cross} == 0
|
||||
Requires: linuxconsoletools
|
||||
%endif
|
||||
BuildRequires: autoconf automake bison gawk libtool libcap-ng-devel ncurses-devel sed systemd texinfo
|
||||
Requires: %{name}-libs = %{version}-%{release}
|
||||
|
||||
@ -113,6 +115,9 @@ fi
|
||||
%{_mandir}/man?/*
|
||||
|
||||
%changelog
|
||||
* Mon Mar 27 2023 zhangpan <zhangpan103@h-partners.com.com> - 1.20.7-27
|
||||
- add build_cross to avoid install linuxconsoletools in self-build
|
||||
|
||||
* Tue Sep 06 2022 wangkerong <wangkerong@h-partners.com.com> - 1.20.7-26
|
||||
- Add ExecStartPost option to gpm.service for solve error message when gpm service start
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user