!19 attr 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 02:09:35 +00:00 committed by Gitee
commit 58f98c3322

View File

@ -1,7 +1,7 @@
%{!?_licensedir:%global license %%doc}
Name: attr
Version: 2.4.48
Release: 13
Release: 14
Summary: Commands for Manipulating Filesystem Extended Attributes
License: GPLv2+ AND LGPLv2+
URL: https://savannah.nongnu.org/projects/attr
@ -17,7 +17,7 @@ Patch6: 0006-Switch-back-to-syscall.patch
Patch7: 0007-bypass-wrong-output-when-enabled-selinux.patch
Patch8: 0008-carry-security.evm-when-copying-files.patch
BuildRequires: gettext, libtool, chrpath, gcc, git
BuildRequires: gettext, libtool, chrpath, gcc,
Provides: libattr
Obsoletes: libattr
Conflicts: xfsdump < 3.1.8
@ -50,7 +50,7 @@ Requires: man
This contains man files for the using of attr
%prep
%autosetup -Sgit -n %{name}-%{version}
%autosetup -n %{name}-%{version} -p1
%build
%configure --disable-silent-rules
@ -102,6 +102,9 @@ fi
%{_mandir}/man3/*
%changelog
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 2.4.48-14
- DESC: delete -Sgit from %autosetup, and delete BuildRequires git
* Fri Jul 23 2021 zhouwenpei <zhouwenpei1@huawei.com> - 2.4.48-13
- remove useless buildrequires