From 7f1e3311302690cd29f76f528dc73692d61bf1a1 Mon Sep 17 00:00:00 2001 From: si-gui <245140120@qq.com> Date: Mon, 15 Jun 2020 15:34:50 +0800 Subject: [PATCH] fix devel without node header files --- fix-devel-without-node-header-files.patch | 13 +++++++++++++ open-iscsi.spec | 6 +++++- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 fix-devel-without-node-header-files.patch diff --git a/fix-devel-without-node-header-files.patch b/fix-devel-without-node-header-files.patch new file mode 100644 index 0000000..9630445 --- /dev/null +++ b/fix-devel-without-node-header-files.patch @@ -0,0 +1,13 @@ +diff -Nur open-iscsi-f3c8e90fc0894c088950a15ee6618b427f9e2457-old/libopeniscsiusr/Makefile open-iscsi-f3c8e90fc0894c088950a15ee6618b427f9e2457/libopeniscsiusr/Makefile +--- open-iscsi-f3c8e90fc0894c088950a15ee6618b427f9e2457-old/libopeniscsiusr/Makefile 2020-06-15 15:09:30.624567419 +0800 ++++ open-iscsi-f3c8e90fc0894c088950a15ee6618b427f9e2457/libopeniscsiusr/Makefile 2020-06-15 15:11:09.378006613 +0800 +@@ -35,7 +35,8 @@ + HEADERS = libopeniscsiusr/libopeniscsiusr.h \ + libopeniscsiusr/libopeniscsiusr_common.h \ + libopeniscsiusr/libopeniscsiusr_session.h \ +- libopeniscsiusr/libopeniscsiusr_iface.h ++ libopeniscsiusr/libopeniscsiusr_iface.h \ ++ libopeniscsiusr/libopeniscsiusr_node.h + TESTS = tests/test_context tests/test_session tests/test_iface tests/test_node + EXTRA_MAN_FILES = libopeniscsiusr.h.3 + diff --git a/open-iscsi.spec b/open-iscsi.spec index 33b3e77..0ba207f 100644 --- a/open-iscsi.spec +++ b/open-iscsi.spec @@ -4,7 +4,7 @@ Name: open-iscsi Version: 2.0.876 -Release: 19 +Release: 20 Summary: ISCSI software initiator daemon and utility programs License: GPLv2+ and BSD URL: http://www.open-iscsi.org @@ -54,6 +54,7 @@ Patch0039: 0039-iscsi-iname-verify-prefix-length-is-at-most-210.patch Patch0040: 0040-iscsi-iname-remove-unneeded-temp-buffer.patch Patch0041: 0041-Fix-issue-where-iscsi-iname-p-core-dumps.patch Patch0042: 0042-modify-iSCSI-shared-memory-permissions-for-logs.patch +Patch0043: fix-devel-without-node-header-files.patch BuildRequires: flex bison doxygen kmod-devel systemd-units gcc git isns-utils-devel BuildRequires: autoconf automake libtool libmount-devel openssl-devel pkg-config gdb @@ -186,6 +187,9 @@ fi %{_mandir}/man8/* %changelog +* Mon Jun 15 2020 sunguoshuai - 2.0.876-20 +- fix devel without node header files + * Tue May 12 2020 Wu Bo - 2.0.876-19 - iscsi-iname verfiy prefix length is at most 210 characters. iscsi-iname remove unneeded temp buffer.