!10 [sync] PR-8: Add BuildRequires libgfapi0 to fix /usr/bin/ld: cannot find -lgfapi

From: @openeuler-sync-bot 
Reviewed-by: @small_leek 
Signed-off-by: @small_leek
This commit is contained in:
openeuler-ci-bot 2022-04-18 07:49:55 +00:00 committed by Gitee
commit f90aec7a5d
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -6,7 +6,7 @@
Summary: The SCSI target daemon and utility programs Summary: The SCSI target daemon and utility programs
Name: scsi-target-utils Name: scsi-target-utils
Version: 1.0.79 Version: 1.0.79
Release: 2 Release: 3
License: GPLv2 License: GPLv2
URL: http://stgt.sourceforge.net/ URL: http://stgt.sourceforge.net/
Source0: https://github.com/fujita/tgt/archive/v%{version}/tgt-v%{version}.tar.gz Source0: https://github.com/fujita/tgt/archive/v%{version}/tgt-v%{version}.tar.gz
@ -20,6 +20,7 @@ Patch2: 0003-default-config.patch
Patch3: tgt-1.0.79-Adapt-to-glusterfs-api-7.6.3.patch Patch3: tgt-1.0.79-Adapt-to-glusterfs-api-7.6.3.patch
BuildRequires: docbook-style-xsl gcc libaio-devel libxslt perl-generators pkgconfig systemd-devel systemd-units BuildRequires: docbook-style-xsl gcc libaio-devel libxslt perl-generators pkgconfig systemd-devel systemd-units
BuildRequires: libgfapi0
%if 0%{?with_rdma} %if 0%{?with_rdma}
BuildRequires: libibverbs-devel librdmacm-devel BuildRequires: libibverbs-devel librdmacm-devel
Requires: libibverbs librdmacm Requires: libibverbs librdmacm
@ -117,6 +118,9 @@ pushd usr
%{_mandir}/man8/* %{_mandir}/man8/*
%changelog %changelog
* Mon Jan 24 2022 xu_ping <xuping33@huawei.com> - 1.0.79-3
- Add BuildRequires libgfapi0 to fix /usr/bin/ld: cannot find -lgfapi
* Mon Jul 05 2021 wulei <wulei80@huawei.com> - 1.0.79-2 * Mon Jul 05 2021 wulei <wulei80@huawei.com> - 1.0.79-2
- Remove redundant dependencies, Git is only for patching, user patcher instead. - Remove redundant dependencies, Git is only for patching, user patcher instead.