Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New spec for python3 gfal2 #7326

Merged
merged 2 commits into from
Oct 26, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions py3-gfal2-python.spec
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"
13 changes: 13 additions & 0 deletions py3-gfal2.patch
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"
)
3 changes: 2 additions & 1 deletion reqmgr2ms.spec
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@

Source: git://github.com/dmwm/WMCore?obj=master/%wmcorever&export=%n&output=/%n.tar.gz
Requires: py3-cherrypy py3-pycurl py3-httplib2 py3-rucio-clients py3-retry py3-future
Requires: py3-cmsmonitoring py3-pymongo rotatelogs jemalloc mongo
Requires: py3-cmsmonitoring py3-pymongo py3-gfal2-python
Requires: rotatelogs jemalloc mongo
BuildRequires: py3-sphinx

%prep
Expand Down