!8 btrfs-progs 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 13:01:38 +00:00 committed by Gitee
commit 914b081b1c

View File

@ -1,6 +1,6 @@
Name: btrfs-progs Name: btrfs-progs
Version: 5.7 Version: 5.7
Release: 3 Release: 4
Summary: btrfs userspace programs Summary: btrfs userspace programs
License: GPLv2 and GPL+ and LGPL-2.1+ and GPL-3.0+ and LGPL-2.1 and Artistic-1.0-Perl and MIT License: GPLv2 and GPL+ and LGPL-2.1+ and GPL-3.0+ and LGPL-2.1 and Artistic-1.0-Perl and MIT
URL: https://btrfs.wiki.kernel.org/index.php/Main_Page URL: https://btrfs.wiki.kernel.org/index.php/Main_Page
@ -9,7 +9,7 @@ Patch1: 0001-btrfs-progs-convert-prevent-32bit-overflow-for-cctx-.patch
BuildRequires: python3-devel >= 3.4 BuildRequires: python3-devel >= 3.4
BuildRequires: libacl-devel, e2fsprogs-devel, libblkid-devel, libuuid-devel, zlib-devel, libzstd-devel, lzo-devel BuildRequires: libacl-devel, e2fsprogs-devel, libblkid-devel, libuuid-devel, zlib-devel, libzstd-devel, lzo-devel
BuildRequires: git, gcc, asciidoc, systemd, xmlto, autoconf, automake BuildRequires: gcc, asciidoc, systemd, xmlto, autoconf, automake
%define _root_sbindir /sbin %define _root_sbindir /sbin
@ -33,7 +33,7 @@ Requires: man
This package includes man files for btrfs-progs This package includes man files for btrfs-progs
%prep %prep
%autosetup -n %{name}-v%{version} -p1 -S git %autosetup -n %{name}-v%{version} -p1
%build %build
./autogen.sh ./autogen.sh
@ -69,6 +69,9 @@ make mandir=%{_mandir} bindir=%{_sbindir} libdir=%{_libdir} incdir=%{_includedir
%{_mandir}/man8/*.gz %{_mandir}/man8/*.gz
%changelog %changelog
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 5.7-4
- DESC: delete -S git from %autosetup, and delete BuildRequires git
* Thu Dec 10 2020 yanglongkang<yanglongkang@huawei.com> - 5.7-3 * Thu Dec 10 2020 yanglongkang<yanglongkang@huawei.com> - 5.7-3
- fix URL error - fix URL error