!12 libinput delete -Sgit from %autosetup, and delete BuildRequires git-core

From: @chenyanpanHW
Reviewed-by: 
Signed-off-by:
This commit is contained in:
openeuler-ci-bot 2021-08-12 07:29:32 +00:00 committed by Gitee
commit f2d1415606

View File

@ -1,12 +1,12 @@
Name: libinput
Version: 1.16.4
Release: 1
Release: 2
Summary: Input device management and event handling library
License: MIT
URL: https://www.freedesktop.org/wiki/Software/libinput/
Source0: https://www.freedesktop.org/software/libinput/libinput-%{version}.tar.xz
BuildRequires: git-core gcc gcc-c++ python3-devel meson pkgconfig(libudev) pkgconfig(mtdev) pkgconfig(libevdev) pkgconfig(libwacom)
BuildRequires: gcc gcc-c++ python3-devel meson pkgconfig(libudev) pkgconfig(mtdev) pkgconfig(libevdev) pkgconfig(libwacom)
%description
libinput is a library to handle input devices in Wayland compositors and to provide
@ -37,8 +37,7 @@ The %{name}-doc package contains document files.
%global udevdir /usr/lib/udev/
%prep
%autosetup -n %{name}-%{version} -Sgit
pathfix.py -i %{__python3} -p -n $(git grep -l '#!/usr/bin/.*python3')
%autosetup -n %{name}-%{version} -p1
%build
%meson -Ddebug-gui=false -Ddocumentation=false -Dtests=false -Dudev-dir=%{udevdir}
@ -84,6 +83,9 @@ pathfix.py -i %{__python3} -p -n $(git grep -l '#!/usr/bin/.*python3')
%{_mandir}/man1/*
%changelog
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 1.16.4-2
- DESC: delete -Sgit from %autosetup, and delete BuildRequires git-core
* Sat Jan 30 2021 xinghe <xinghe1@huawei.com> - 1.16.4-1
- update to 1.16.4