forked from pool/hobbits
Accepting request 898017 from home:mnhauke
- Add patch: * hobbits-dont-hardcode-python3-version.patch OBS-URL: https://build.opensuse.org/request/show/898017 OBS-URL: https://build.opensuse.org/package/show/editors/hobbits?expand=0&rev=4
This commit is contained in:
parent
609f146025
commit
3bdf9b155b
13
hobbits-dont-hardcode-python3-version.patch
Normal file
13
hobbits-dont-hardcode-python3-version.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
|
||||
index c879237..6e2cecd 100644
|
||||
--- a/src/CMakeLists.txt
|
||||
+++ b/src/CMakeLists.txt
|
||||
@@ -120,7 +120,7 @@ elseif( MANUAL_PYTHON_PATH )
|
||||
set ( Python3_ROOT_DIR "${MANUAL_PYTHON_PATH}" )
|
||||
endif()
|
||||
|
||||
-find_package (Python3 3.9 EXACT COMPONENTS Interpreter Development REQUIRED)
|
||||
+find_package (Python3 COMPONENTS Interpreter Development REQUIRED)
|
||||
message("Python3 Libs: ${Python3_LIBRARIES}")
|
||||
|
||||
#
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 7 09:16:04 UTC 2021 - Martin Hauke <mardnh@gmx.de>
|
||||
|
||||
- Add patch:
|
||||
* hobbits-dont-hardcode-python3-version.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jun 6 20:01:00 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
|
@ -23,12 +23,13 @@ Summary: A GUI for bit-based analysis, processing, and visualization
|
||||
License: MIT
|
||||
URL: https://github.com/Mahlet-Inc/hobbits
|
||||
Source: https://github.com/Mahlet-Inc/hobbits/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
Patch0: hobbits-dont-hardcode-python3-version.patch
|
||||
BuildRequires: cmake
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libpcap-devel
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python39-devel
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: pkgconfig(Qt5Concurrent)
|
||||
BuildRequires: pkgconfig(Qt5Core)
|
||||
BuildRequires: pkgconfig(Qt5Network)
|
||||
@ -54,6 +55,7 @@ This subpackage contains files for developing applications thatwant to make use
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
cd src
|
||||
|
Loading…
Reference in New Issue
Block a user