delete -Sgit from %autosetup, and delete BuildRequires git

This commit is contained in:
chenyanpanHW 2021-07-30 22:22:55 +08:00
parent 4447b668d2
commit f5254e78c7
No known key found for this signature in database
GPG Key ID: 6DAA738A86DB45D7

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