File tree Expand file tree Collapse file tree 3 files changed +19
-9
lines changed
src/fts3rest/fts3rest/controllers Expand file tree Collapse file tree 3 files changed +19
-9
lines changed Original file line number Diff line number Diff line change 44%{! ?nosetest_path: %global nosetest_path "/tmp"}
55
66Name: fts-rest
7- Version: 3.8.0
7+ Version: 3.8.1
88Release: 1%{?dist }
99BuildArch: noarch
1010Summary: FTS3 Rest Interface
1111Group: Applications/Internet
1212License: ASL 2.0
1313URL: http://fts3-service.web.cern.ch/
14- # git clone https://gitlab.cern.ch/fts/fts-rest.git --depth 1 -b master fts-rest-3.8.0
15- # cd fts-rest-3.8.0
16- # git checkout v3.8.0
14+ # git clone https://gitlab.cern.ch/fts/fts-rest.git --depth 1 -b master fts-rest-3.8.1
15+ # cd fts-rest-3.8.1
16+ # git checkout v3.8.1
1717# git submodule init && git submodule update
1818# cd ..
19- # tar vczf fts-rest-3.8.0 .tar.gz --exclude-vcs fts-rest-3.8.0
19+ # tar vczf fts-rest-3.8.1 .tar.gz --exclude-vcs fts-rest-3.8.1
2020Source0: %{name }-%{version }.tar.gz
2121
2222BuildRequires: gfal2-python
Original file line number Diff line number Diff line change @@ -40,12 +40,22 @@ def apply_pycurl_workaround():
4040 os .system ('pip install --build %s %s/pycurl' % (tmp_dir , tmp_dir ))
4141
4242
43+ # On EL7, you will probably have trouble installing pycurl due to this:
44+ # https://github.com/pycurl/pycurl/issues/526 which has not yet released
45+ # so we need to install a previos version of pycurl with
46+ # pip install pycurl==7.43.0.1 --global-option="--with-nss
47+ #def apply_pycurl_workaround_on_el7():
48+ # print "Applying workaround for pycurl in EL7"
49+ # is_pycurl_installed = (os.system('pip list | grep pycurl &> /dev/null') == 0)
50+ # if not is_pycurl_installed:
51+ # os.system('pip install pycurl%s --global-option="--with-nss"' % pycurl_ver)
52+
53+
4354# Ugly hack to pick a version that compiles in SLC6
44- pycurl_ver = '>= 7.19'
55+ pycurl_ver = '== 7.19.0 '
4556dist = platform .dist ()
4657if dist [0 ] in ('redhat' , 'centos' ):
4758 apply_m2crypto_workaround ()
48-
4959 os_major = dist [1 ].split ('.' )[0 ]
5060 if os_major == '6' :
5161 pycurl_ver = '==7.19.0'
@@ -57,7 +67,7 @@ def apply_pycurl_workaround():
5767
5868setup (
5969 name = 'fts3-rest' ,
60- version = '3.8.0 ' ,
70+ version = '3.8.1 ' ,
6171 description = 'FTS3 Python Libraries' ,
6272 long_description = 'FTS3 Python Libraries' ,
6373 author = 'FTS3 Developers' ,
Original file line number Diff line number Diff line change 2828from fts3rest .lib .helpers import jsonify
2929from fts3rest .lib import api
3030
31- API_VERSION = dict (major = 3 , minor = 8 , patch = 0 )
31+ API_VERSION = dict (major = 3 , minor = 8 , patch = 1 )
3232
3333
3434def _get_fts_core_version ():
You can’t perform that action at this time.
0 commit comments