!13 sysfsutils delete -S git from %autosetup, and delete BuildRequires git

From: @chenyanpanHW
Reviewed-by: @liuzhiqiang26
Signed-off-by: @liuzhiqiang26
This commit is contained in:
openeuler-ci-bot 2021-08-01 12:47:53 +00:00 committed by Gitee
commit 481af9701e

View File

@ -1,6 +1,6 @@
Name: sysfsutils
Version: 2.1.0
Release: 31
Release: 32
Summary: A set of utilities for interfacing with sysfs
License: GPLv2 and LGPLv2+
URL: http://sourceforge.net/projects/linux-diag/
@ -17,7 +17,7 @@ Patch7: 0007-Fix-compiler-complain-about-multiple-defs-of-my_stdo.patch
Patch8: 0008-Use-stat-not-lstat-to-find-link-target.patch
Patch9: 0009-path_is_file-should-call-stat-not-lstat.patch
BuildRequires: git gcc chrpath
BuildRequires: gcc chrpath
Provides: libsysfs libsysfs%{?_isa}
Obsoletes: libsysfs
@ -47,7 +47,7 @@ BuildArch: noarch
This contains man files for the using of sysfsutils.
%prep
%autosetup -n %{name}-%{version} -p1 -S git
%autosetup -n %{name}-%{version} -p1
%build
%configure --disable-static --libdir=/%{_lib}
@ -88,6 +88,9 @@ chrpath -d $(find $RPM_BUILD_ROOT -name systool)
%changelog
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 2.1.0-32
- DESC: delete -S git from %autosetup, and delete BuildRequires git
* Wed Nov 4 2020 lixiaokeng <lixiaokeng@huawei.com> - 2.1.0-31
- add make check