delete -Sgit from %autosetup, and delete BuildRequires git

This commit is contained in:
chenyanpanHW 2021-07-30 23:00:36 +08:00
parent ac8208f2e2
commit 3ad55855b2
No known key found for this signature in database
GPG Key ID: 6DAA738A86DB45D7

View File

@ -1,6 +1,6 @@
Name: libpciaccess
Version: 0.16
Release: 1
Release: 2
Summary: Generic PCI access library
License: MIT
URL: https://www.x.org/
@ -11,7 +11,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
Patch0: 0000-libpciaccess-rom-size.patch
BuildRequires: autoconf automake libtool pkgconfig git xorg-x11-util-macros
BuildRequires: autoconf automake libtool pkgconfig xorg-x11-util-macros
Requires: hwdata
%description
@ -27,7 +27,7 @@ Requires: pkgconfig
This package contains the development headers for the library.
%prep
%autosetup -Sgit -n %{name}-%{version}
%autosetup -n %{name}-%{version} -p1
%build
%configure --disable-static
@ -54,6 +54,9 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
%changelog
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 0.16-2
- DESC: delete -Sgit from %autosetup, and delete BuildRequires git
* Wed Jul 15 2020 Zhiqiang Liu <lzhq28@mail.ustc.edu.cn> - 0.16-1
- update to v0.16 version