!4 fix build failure due to lack of git buildrequires

From: @zzm_567
Reviewed-by: 
Signed-off-by:
This commit is contained in:
openeuler-ci-bot 2021-07-02 07:20:28 +00:00 committed by Gitee
commit b54f188852

View File

@ -2,7 +2,7 @@
Name: linuxconsoletools
Version: 1.7.0
Release: 1
Release: 2
Summary: Tools for connecting/testing joysticks & legacy devices to the kernel's input subsystem
License: GPLv2+
URL: http://sourceforge.net/projects/linuxconsole/
@ -31,7 +31,7 @@ Summary: Help manual for %{name}
The %{name}-help package conatins man manual etc
%prep
%autosetup -n %{name}-%{version} -p1 -Sgit
%autosetup -n %{name}-%{version} -p1
%build
%make_build PREFIX=%{_prefix} CFLAGS="%{optflags}"
@ -64,6 +64,9 @@ chmod -x %{buildroot}%{_mandir}/man1/*
%changelog
* Wed Jun 30 2021 zhanzhimin<zhanzhimin@huawei.com> - 1.7.0-2
- fix build failure due to lack of git buildrequires
* Mon Oct 26 2020 weishengjing1<weishengjing1@huawei.com> - 1.7.0-1
- upgrade to v1.7.0