-
Notifications
You must be signed in to change notification settings - Fork 185
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* New spec for python3 gfal2 Remade gfal2-python spec with PyPi * apply Shahzads suggestions
- Loading branch information
Showing
3 changed files
with
26 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
### RPM external py3-gfal2-python 1.11.0.post3 | ||
## IMPORT build-with-pip3 | ||
Requires: boost175py3 | ||
BuildRequires: cmake | ||
|
||
Provides: libgfal2.so.2()(64bit) | ||
Provides: libgfal_transfer.so.2()(64bit) | ||
Provides: libglib-2.0.so.0()(64bit) | ||
|
||
Patch0: py3-gfal2 | ||
%define PipPreBuild export Boost_LIBRARYDIR=${BOOST175PY3_ROOT}/lib ; export CXXFLAGS="-I${BOOST175PY3_ROOT}/include" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
index 461c8d3..9f3e4ef 100644 | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -35,7 +35,7 @@ if (PYTHON3_CURRENT_VERSION) | ||
find_library(Boost_PYTHON_3_LIBRARY | ||
NAMES boost_python${Boost_PYTHON_3_SUFFIX} boost_python-py${Boost_PYTHON_3_SUFFIX} boost_python3 | ||
HINTS | ||
- ${Boost_LIBRARYDIR} | ||
+ $ENV{Boost_LIBRARYDIR} | ||
"/usr/lib" | ||
"/usr/lib64" | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters