Add iscsi-test
This commit is contained in:
parent
c003d61541
commit
7389cf4806
13
0004-install-iscsi-test.patch
Normal file
13
0004-install-iscsi-test.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git a/Makefile.am b/Makefile.am
|
||||
index b750cdb..8bde4ac 100644
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -52,7 +52,7 @@ bin_iscsi_dd_SOURCES = examples/iscsi-dd.c
|
||||
|
||||
# libiscsi test tool
|
||||
|
||||
-noinst_PROGRAMS += bin/iscsi-test
|
||||
+bin_PROGRAMS += bin/iscsi-test
|
||||
dist_noinst_HEADERS += test-tool/iscsi-test.h
|
||||
bin_iscsi_test_CPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)/test-tool
|
||||
bin_iscsi_test_LDFLAGS = -ldl
|
||||
@ -1,7 +1,7 @@
|
||||
Name: libiscsi
|
||||
Summary: iSCSI client library
|
||||
Version: 1.7.0
|
||||
Release: 4%{?dist}
|
||||
Release: 5%{?dist}
|
||||
License: LGPLv2+
|
||||
Group: System Environment/Libraries
|
||||
URL: https://github.com/sahlberg/%{name}
|
||||
@ -10,6 +10,7 @@ Source: https://github.com/downloads/sahlberg/%{name}/%{name}-%{version}.tar.gz
|
||||
Patch1: 0001-distribute-pkgconfig-file.patch
|
||||
Patch2: 0002-use-libgcrypt-for-MD5.patch
|
||||
Patch3: 0003-fix-crash-in-iscsi-tools.patch
|
||||
Patch4: 0004-install-iscsi-test.patch
|
||||
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
@ -34,6 +35,7 @@ a network.
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
%patch3 -p1
|
||||
%patch4 -p1
|
||||
|
||||
%build
|
||||
## always run autogen.sh
|
||||
@ -77,6 +79,7 @@ to iSCSI servers without having to set up the Linux iSCSI initiator.
|
||||
%{_bindir}/iscsi-ls
|
||||
%{_bindir}/iscsi-inq
|
||||
%{_bindir}/iscsi-readcapacity16
|
||||
%{_bindir}/iscsi-test
|
||||
|
||||
%package devel
|
||||
Summary: iSCSI client development libraries
|
||||
@ -95,6 +98,9 @@ The libiscsi-devel package includes the header files for libiscsi.
|
||||
%{_libdir}/pkgconfig/libiscsi.pc
|
||||
|
||||
%changelog
|
||||
* Wed Jun 26 2013 Andy Grover <agrover@redhat.com> - 1.7.0-5
|
||||
- Add patch 4 to enable installing of iscsi-test binary
|
||||
|
||||
* Fri May 3 2013 Paolo Bonzini <pbonzini@redhat.com> - 1.7.0-4
|
||||
- Add patch 2 for FIPS mode
|
||||
- Add patch 3 to avoid segmentation fault on iscsi-tools
|
||||
|
||||
Loading…
Reference in New Issue
Block a user