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

This commit is contained in:
chenyanpanHW 2021-07-30 23:41:28 +08:00
parent 123fccb5fa
commit dc29b6d5d4
No known key found for this signature in database
GPG Key ID: 6DAA738A86DB45D7

View File

@ -2,7 +2,7 @@
Name: yp-tools
Version: 4.2.3
Release: 5
Release: 6
Summary: Network Information Service (YP) client utilities
License: GPLv2
URL: https://github.com/thkukuk/yp-tools
@ -12,7 +12,7 @@ Patch1: yp-tools-2.12-crypt.patch
Patch2: yp-tools-2.12-adjunct.patch
Patch3: yp-tools-4.2.2-strict-prototypes.patch
BuildRequires: git autoconf automake libtool
BuildRequires: autoconf automake libtool
BuildRequires: gettext-devel libtirpc-devel libnsl2-devel
Requires: ypbind >= 3:2.4-2 glibc
@ -30,7 +30,7 @@ Buildarch: noarch
The help package contains doc files for yp-tools.
%prep
%autosetup -n %{name}-%{version} -p1 -S git
%autosetup -n %{name}-%{version} -p1
autoreconf -ifv
%build
@ -54,6 +54,9 @@ export CFLAGS="$CFLAGS %{optflags} -Wno-cast-function-type"
%{_mandir}/*/*
%changelog
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 4.2.3-6
- DESC: delete -S git from %autosetup, and delete BuildRequires git
* Tue Dec 15 2020 xihaochen <xihaochen@huawei.com> - 4.2.3-5
- Type:requirement
- ID:NA