From a055379c6c3cba05b028926f4b2db9110557e783 Mon Sep 17 00:00:00 2001 From: chenyanpanHW Date: Fri, 30 Jul 2021 23:13:07 +0800 Subject: [PATCH] delete -Sgit from %autosetup, and delete BuildRequires git (cherry picked from commit 3238b102070135173be46283d7bc697348b5b873) --- pciutils.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/pciutils.spec b/pciutils.spec index 8a636fa..c32d75c 100644 --- a/pciutils.spec +++ b/pciutils.spec @@ -1,6 +1,6 @@ Name: pciutils Version: 3.7.0 -Release: 1 +Release: 2 Summary: PCI bus related utilities License: GPLv2+ URL: http://atrey.karlin.mff.cuni.cz/~mj/pciutils.shtml @@ -12,7 +12,7 @@ Patch0: 0000-pciutils-2.2.1-idpath.patch Patch1: 0001-pciutils-dir-d.patch ExclusiveOS: Linux -BuildRequires: gcc git sed kmod-devel pkgconfig zlib-devel +BuildRequires: gcc sed kmod-devel pkgconfig zlib-devel Requires: hwdata Provides: %{name}-libs Obsoletes: %{name}-libs @@ -49,7 +49,7 @@ Requires: man This contains man files for the using of pciutils. %prep -%autosetup -Sgit -n %{name}-%{version} +%autosetup -n %{name}-%{version} -p1 %build make SHARED="no" ZLIB="no" LIBKMOD=yes STRIP="" OPT="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS" PREFIX="/usr" %{?_smp_mflags} @@ -105,6 +105,9 @@ rm -rf $RPM_BUILD_ROOT/usr/share/hwdata/pci.ids* rm -rf $RPM_BUILD_ROOT %changelog +* Fri Jul 30 2021 chenyanpanHW - 3.7.0-2 +- DESC: delete -Sgit from %autosetup, and delete BuildRequires git + * Thu Jul 16 2020 Zhiqiang Liu - 3.7.0-1 - update to v3.7.0 version -- Gitee