delete -Sgit from %autosetup, and delete BuildRequires git-core

This commit is contained in:
chenyanpanHW 2021-07-30 22:59:45 +08:00
parent ebb1d12230
commit e157cbe809
No known key found for this signature in database
GPG Key ID: 6DAA738A86DB45D7

View File

@ -1,12 +1,12 @@
Name: libinput Name: libinput
Version: 1.16.4 Version: 1.16.4
Release: 1 Release: 2
Summary: Input device management and event handling library Summary: Input device management and event handling library
License: MIT License: MIT
URL: https://www.freedesktop.org/wiki/Software/libinput/ URL: https://www.freedesktop.org/wiki/Software/libinput/
Source0: https://www.freedesktop.org/software/libinput/libinput-%{version}.tar.xz 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 %description
libinput is a library to handle input devices in Wayland compositors and to provide 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/ %global udevdir /usr/lib/udev/
%prep %prep
%autosetup -n %{name}-%{version} -Sgit %autosetup -n %{name}-%{version} -p1
pathfix.py -i %{__python3} -p -n $(git grep -l '#!/usr/bin/.*python3')
%build %build
%meson -Ddebug-gui=false -Ddocumentation=false -Dtests=false -Dudev-dir=%{udevdir} %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/* %{_mandir}/man1/*
%changelog %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 * Sat Jan 30 2021 xinghe <xinghe1@huawei.com> - 1.16.4-1
- update to 1.16.4 - update to 1.16.4