delete -S git from %autosetup, and delete BuildRequires git

This commit is contained in:
chenyanpanHW 2021-07-30 22:35:35 +08:00
parent 234cfd7e55
commit de3de46754
No known key found for this signature in database
GPG Key ID: 6DAA738A86DB45D7

View File

@ -1,12 +1,12 @@
Name: dosfstools Name: dosfstools
Version: 4.1 Version: 4.1
Release: 9 Release: 10
Summary: FAT file system userspace tools Summary: FAT file system userspace tools
License: GPLv3+ License: GPLv3+
URL: http://www.github.com/dosfstools/dosfstools URL: http://www.github.com/dosfstools/dosfstools
Source0: http://www.github.com/%{name}/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.xz Source0: http://www.github.com/%{name}/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.xz
BuildRequires: gcc git autoconf automake BuildRequires: gcc autoconf automake
Patch0: 0000-Fix-signed-integer-overflow-in-FSTART.patch Patch0: 0000-Fix-signed-integer-overflow-in-FSTART.patch
Patch1: 0001-Avoid-returning-deleted-directory-entries-as-labels.patch Patch1: 0001-Avoid-returning-deleted-directory-entries-as-labels.patch
@ -30,7 +30,7 @@ Requires: man
This package includes man pages for dosfstools. This package includes man pages for dosfstools.
%prep %prep
%autosetup -n %{name}-%{version} -p1 -S git %autosetup -n %{name}-%{version} -p1
%build %build
%configure --enable-compat-symlinks %configure --enable-compat-symlinks
@ -52,6 +52,9 @@ make check
%{_mandir}/man8/* %{_mandir}/man8/*
%changelog %changelog
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 4.1-10
- DESC: delete -S git from %autosetup, and delete BuildRequires git
* Wed Nov 4 2020 lixiaokeng <lixiaokeng@huawei.com> - 4.1-9 * Wed Nov 4 2020 lixiaokeng <lixiaokeng@huawei.com> - 4.1-9
- add make check - add make check