OBS-URL: https://build.opensuse.org/package/show/devel:tools:statica/stp?expand=0&rev=27
27 lines
1.0 KiB
Diff
27 lines
1.0 KiB
Diff
From: Ondřej Súkup <mimi.vx@gmail.com>
|
|
Index: stp-2.3.3+20190713/bindings/python/stp/library_path.py.in_install
|
|
===================================================================
|
|
--- stp-2.3.3+20190713.orig/bindings/python/stp/library_path.py.in_install
|
|
+++ stp-2.3.3+20190713/bindings/python/stp/library_path.py.in_install
|
|
@@ -28,6 +28,5 @@
|
|
|
|
# Search paths for the stp shared library
|
|
PATHS = [
|
|
- '@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_LIBDIR@/@LIBSTP_FILENAME@',
|
|
- '@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_BINDIR@/@LIBSTP_FILENAME@'
|
|
+ '@CMAKE_INSTALL_LIBDIR@/@LIBSTP_FILENAME@.2.3'
|
|
]
|
|
Index: stp-2.3.3+20190713/bindings/python/stp/stp.py.in
|
|
===================================================================
|
|
--- stp-2.3.3+20190713.orig/bindings/python/stp/stp.py.in
|
|
+++ stp-2.3.3+20190713/bindings/python/stp/stp.py.in
|
|
@@ -42,7 +42,7 @@ Py3 = sys.version_info >= (3, 0, 0)
|
|
if Py3:
|
|
long = int
|
|
|
|
-from library_path import PATHS
|
|
+from .library_path import PATHS
|
|
|
|
for path in PATHS:
|
|
if not os.path.exists(path):
|