[packages/openwsman] - updated to 2.6.5 - updated python patch

qboosh qboosh at pld-linux.org
Mon Sep 3 21:57:43 CEST 2018


commit 83504ec08f8d74dfec850939b07df88ea193e265
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Sep 3 22:00:35 2018 +0200

    - updated to 2.6.5
    - updated python patch

 openwsman-python.patch | 32 +++++++++++++++-----------------
 openwsman.spec         |  6 +++---
 2 files changed, 18 insertions(+), 20 deletions(-)
---
diff --git a/openwsman.spec b/openwsman.spec
index c7554dd..7e50199 100644
--- a/openwsman.spec
+++ b/openwsman.spec
@@ -13,12 +13,12 @@
 Summary:	Implementation of the Web Services Management specification (WS-Management)
 Summary(pl.UTF-8):	Implementacja specyfikacji Web Services Management (WS-Management)
 Name:		openwsman
-Version:	2.6.3
-Release:	8
+Version:	2.6.5
+Release:	1
 License:	BSD
 Group:		Libraries
 Source0:	https://github.com/Openwsman/openwsman/archive/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5:	a14cec2a892a30e055edac36071d8972
+# Source0-md5:	84d066233a0b9d6ef00657dc8241d353
 Patch0:		%{name}-link.patch
 Patch1:		rdoc-rubygems.patch
 Patch2:		%{name}-python.patch
diff --git a/openwsman-python.patch b/openwsman-python.patch
index 9ae7893..60f7dee 100644
--- a/openwsman-python.patch
+++ b/openwsman-python.patch
@@ -1,16 +1,3 @@
---- openwsman-2.6.3/CMakeLists.txt.orig	2016-10-23 10:43:32.297160695 +0200
-+++ openwsman-2.6.3/CMakeLists.txt	2016-10-23 10:59:47.070483126 +0200
-@@ -177,9 +177,9 @@
- 
- IF( BUILD_PYTHON )
-   MESSAGE(STATUS "Building Python bindings" )
-+  FIND_PACKAGE(PythonInterp 2.6 REQUIRED)
-   FIND_PACKAGE(PythonLibs 2.6 REQUIRED)
-   IF (PYTHON_LIBRARY)
--    FIND_PACKAGE(PythonInterp 2.6 REQUIRED)
-     MESSAGE(STATUS "Found PythonLibs...")
-     FIND_PACKAGE(PythonLinkLibs)
-     IF (PYTHON_LINK_LIBS)
 --- openwsman-2.6.2/src/plugins/swig/python/CMakeLists.txt~	2015-10-19 15:27:46.000000000 +0200
 +++ openwsman-2.6.2/src/plugins/swig/python/CMakeLists.txt	2015-12-31 16:50:25.747677518 +0100
 @@ -9,7 +9,7 @@
@@ -22,12 +9,23 @@
  
  IF (NOT PYTHON_SITE_DIR)
    SET (PYTHON_SITE_DIR ${PYTHON_LIB_DIR})
---- openwsman-2.6.3/bindings/python/CMakeLists.txt.orig	2016-10-23 10:43:32.297160695 +0200
-+++ openwsman-2.6.3/bindings/python/CMakeLists.txt	2016-10-23 11:01:11.043815269 +0200
-@@ -12,7 +12,7 @@
- 
+--- openwsman-2.6.5/bindings/python/CMakeLists.txt.orig	2017-11-28 09:32:15.000000000 +0100
++++ openwsman-2.6.5/bindings/python/CMakeLists.txt	2018-09-03 21:47:58.258854144 +0200
+@@ -13,9 +13,9 @@
  add_subdirectory(tests)
  
+ set(Python_ADDITIONAL_VERSIONS 3.6 3.5 2.7 2.6)
++FIND_PACKAGE(PythonInterp REQUIRED)
+ FIND_PACKAGE(PythonLibs)
+ IF (PYTHON_LIBRARY)
+-  FIND_PACKAGE(PythonInterp REQUIRED)
+   #MESSAGE(STATUS "Found PythonLibs...")
+   FIND_PACKAGE(PythonLinkLibs)
+   #IF (PYTHON_LINK_LIBS)
+@@ -25,7 +25,7 @@
+   MESSAGE(STATUS "No Python found")
+ ENDIF (PYTHON_LIBRARY)
+ 
 -EXECUTE_PROCESS(COMMAND ${PYTHON_EXECUTABLE} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))" OUTPUT_VARIABLE PYTHON_LIB_DIR)
 +EXECUTE_PROCESS(COMMAND ${PYTHON_EXECUTABLE} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(plat_specific=True,prefix='/usr'))" OUTPUT_VARIABLE PYTHON_LIB_DIR)
  STRING(REPLACE "\n" "" PYTHON_LIB_DIR "${PYTHON_LIB_DIR}")
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/openwsman.git/commitdiff/83504ec08f8d74dfec850939b07df88ea193e265



More information about the pld-cvs-commit mailing list