!30 open-isns 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-07-31 01:23:55 +00:00 committed by Gitee
commit 22d7304ab4

View File

@ -1,6 +1,6 @@
Name: open-isns
Version: 0.100
Release: 5
Release: 6
Summary: The iSNS server and client programs
License: LGPLv2+
URL: https://www.github.com/open-iscsi/open-isns
@ -12,7 +12,7 @@ Patch3: 0003-Fix-586-compile-issue-and-remove-Werror.patch
Patch4: 0004-libisns-remove-sighold-and-sigrelse.patch
Patch5: 0005-Do-not-install-isnsd.socket-in-isnsd.service.patch
BuildRequires: gcc git systemd automake autoconf make
BuildRequires: gcc systemd automake autoconf make
BuildRequires: openssl-devel systemd-devel
Requires(post): systemd-units
Requires(preun): systemd-units
@ -46,7 +46,7 @@ BuildArch: noarch
This package consists of man files for iSNS
%prep
%autosetup -n %{name}-%{version} -S git -p1
%autosetup -n %{name}-%{version} -p1
%build
%configure --enable-shared --disable-static
@ -98,6 +98,9 @@ install -p -m 644 isnsd.service %{buildroot}%{_unitdir}/isnsd.service
%{_mandir}/man8/*
%changelog
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 0.100-6
- DESC: delete -S git from %autosetup, and delete BuildRequires git
* Fri May 14 2021 Wenchao Hao<haowenchao@huawei.com> - 0.100-5
- Do not install isnsd.socket in isnsd.service