delete -Sgit from %autosetup, and delete BuildRequires git

(cherry picked from commit e58b2ba3a1117d10e7803d87bb40f35172905907)
This commit is contained in:
chenyanpanHW 2021-07-31 15:38:03 +08:00 committed by openeuler-sync-bot
parent ca604a855b
commit d4f0e03ff2

View File

@ -1,6 +1,6 @@
Name: sg3_utils
Version: 1.45
Release: 4
Release: 5
Summary: Utilities that send SCSI commands to devices.
License: GPL-2.0-or-later AND BSD
URL: http://sg.danny.cz/sg/sg3_utils.html
@ -14,7 +14,7 @@ Patch4: 0004-sg3_utils-fix-memset-coredump.patch
Provides: %{name}-libs
Obsoletes: %{name}-libs
BuildRequires: gcc, git
BuildRequires: gcc
%description
The sg3_utils package contains utilities that send SCSI commands to devices. As well as
@ -39,7 +39,7 @@ Requires: man
This contains man files for the using of pciutils.
%prep
%autosetup -Sgit -n %{name}-%{version}
%autosetup -n %{name}-%{version} -p1
%build
%configure --disable-static
@ -74,6 +74,9 @@ rm -rf $RPM_BUILD_ROOT/%{_libdir}/*.la
%{_mandir}/man8/*
%changelog
* Sat Jul 31 2021 chenyanpanHW <chenyanpan@huawei.com> - 1.45-5
- DESC: delete -Sgit from %autosetup, and delete BuildRequires git
* Wed Nov 10 2020 haowenchao <haowenchao@huawei.com> - 1.45-4
- Fix grammar problems caused by patch
0003-sg3_utils-1.42-delete-lun-rescan-scsi-bus-report-error.patch