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

This commit is contained in:
chenyanpanHW 2021-07-30 23:41:40 +08:00
parent 091ce7b690
commit 229523151c
No known key found for this signature in database
GPG Key ID: 6DAA738A86DB45D7

View File

@ -1,7 +1,7 @@
Name: ypbind
Epoch: 3
Version: 2.7.2
Release: 1
Release: 2
Summary: NIS binding software
License: GPLv2
URL: http://www.linux-nis.org/nis/ypbind-mt/index.html
@ -13,7 +13,7 @@ Source4: ypbind-post-waitbind
Patch0: ypbind-1.11-gettextdomain.patch
Patch2: ypbind-2.4-gettext_version.patch
BuildRequires: git gcc systemd automake autoconf libxslt
BuildRequires: gcc systemd automake autoconf libxslt
BuildRequires: dbus-glib-devel systemd-devel docbook-style-xsl
BuildRequires: libtirpc-devel libnsl2-devel gettext-devel
Requires(post): systemd
@ -34,7 +34,7 @@ Buildarch: noarch
The help package contains doc files for ypbind.
%prep
%autosetup -n %{name}-mt-%{version} -p1 -S git
%autosetup -n %{name}-mt-%{version} -p1
autoreconf -fiv
%build
@ -82,6 +82,9 @@ install -m 644 etc/yp.conf %{buildroot}/%{_sysconfdir}/yp.conf
%{_mandir}/*/*
%changelog
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 2.7.2-2
- DESC: delete -S git from %autosetup, and delete BuildRequires git
* Tue Jul 28 2020 lunankun <lunankun@huawei.com> - 2.7.2-1
- Type:update
- ID:NA