!34 blktrace 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 07:31:12 +00:00 committed by Gitee
commit dc4980616e

View File

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