!5 ypbind delete -S git from %autosetup, and delete BuildRequires git

From: @chenyanpanHW
Reviewed-by: @small_leek
Signed-off-by: @small_leek
This commit is contained in:
openeuler-ci-bot 2021-08-13 08:51:21 +00:00 committed by Gitee
commit fc69a1c5fe

View File

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