fix build failure due to lack of git buildrequires

This commit is contained in:
zhanzhimin 2021-06-30 14:22:47 +08:00
parent 6183f946fd
commit e444861756

View File

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