!15 libiscsi delete -Sgit 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 07:25:24 +00:00 committed by Gitee
commit a245ca9d5c

View File

@ -1,6 +1,6 @@
Name: libiscsi
Version: 1.19.0
Release: 5
Release: 6
Summary: Client-side library to implement the iSCSI protocol
Recommends: %{name}-utils
License: LGPLv2+ and GPLv2+
@ -24,7 +24,7 @@ Patch15: 0015-test-tools-use-extern-init-in-headers.patch
Source: https://github.com/sahlberg/%{name}/archive/%{version}.tar.gz
BuildRequires: gcc git
BuildRequires: gcc
BuildRequires: autoconf automake libtool popt-devel CUnit-devel libgcrypt-devel rdma-core-devel chrpath
%description
@ -37,7 +37,7 @@ to access the resources of an iSCSI target.
# Conflict with iscsi-initiator-utils.
%prep
%autosetup -n %{name}-%{version} -p1 -Sgit
%autosetup -n %{name}-%{version} -p1
%build
sh autogen.sh
@ -122,6 +122,9 @@ This package contains utilities of %{name} to connect to iSCSI targets
%{_bindir}/iscsi-test-cu
%changelog
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 1.19.0-6
- DESC: delete -Sgit from %autosetup, and delete BuildRequires git
* Fri Jul 30 2021 yanglongkang <yanglongkang@huawei.com> - 1.19.0-5
- fix multiple define for gcc10