delete -Sgit from %autosetup, and delete BuildRequires git

Signed-off-by: Wenchao Hao <haowenchao@huawei.com>
This commit is contained in:
Wenchao Hao 2021-08-17 15:06:54 +08:00
parent 43d9ce10e1
commit e0b8dfab34

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
@ -36,7 +36,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
@ -121,6 +121,9 @@ This package contains utilities of %{name} to connect to iSCSI targets
%{_bindir}/iscsi-test-cu
%changelog
* Tue Aug 17 2020 haowenchao <haowenchao@huawei.com> - 1.19.0-6
- DESC: delete -Sgit from %autosetup, and delete BuildRequires git
* Tue Aug 17 2020 haowenchao <haowenchao@huawei.com> - 1.19.0-5
- fix multiple define for gcc10