!5 libpciaccess delete -Sgit from %autosetup, and delete BuildRequires git

From: @chenyanpanHW
Reviewed-by: @liuzhiqiang26
Signed-off-by: @liuzhiqiang26
This commit is contained in:
openeuler-ci-bot 2021-07-31 01:44:09 +00:00 committed by Gitee
commit 7eaff7ae80

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