delete -Sgit from %autosetup, and delete BuildRequires git

This commit is contained in:
chenyanpanHW 2021-07-30 22:24:06 +08:00
parent 283abb2dd5
commit 5996d1fcc8
No known key found for this signature in database
GPG Key ID: 6DAA738A86DB45D7

View File

@ -1,12 +1,12 @@
Name: blktrace
Version: 1.2.0
Release: 19
Release: 20
Summary: Block IO tracer in the Linux kernel
License: GPLv2+
Source: http://brick.kernel.dk/snaps/blktrace-%{version}.tar.bz2
URL: https://git.kernel.dk/cgit/blktrace
BuildRequires: gcc, git, xz, libaio-devel, python3, librsvg2-devel blktrace sysstat theora-tools
BuildRequires: gcc, xz, libaio-devel, python3, librsvg2-devel blktrace sysstat theora-tools
Requires: python3
Patch1: 0001-jhash-fix-annoying-gcc-fall-through-warnings.patch
@ -40,7 +40,7 @@ Requires: man
This contains man files for the using of blktrace.
%prep
%autosetup -Sgit -n %{name}-%{version}
%autosetup -n %{name}-%{version} -p1
%build
%make_build
@ -89,6 +89,9 @@ comparing the differences between different benchmark runs.
%{_mandir}/man1/iowatcher.*
%changelog
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 1.2.0-20
- DESC: delete -Sgit from %autosetup, and delete BuildRequires git
* Fri Jul 23 2021 yanglongkang <yanglongkang@huawei.com> - 1.2.0-19
- delete -j1 compilation options