-
Notifications
You must be signed in to change notification settings - Fork 183
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5168 from cms-sw/fwlite-py2-six-deps
[FWLITE] Added py2-six deps for fwlite
- Loading branch information
Showing
2 changed files
with
22 additions
and
0 deletions.
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
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,21 @@ | ||
### RPM external fwlite_python_tools 1.0 | ||
## INITENV +PATH PYTHON27PATH %{i}/${PYTHON_LIB_SITE_PACKAGES} | ||
## INITENV +PATH PYTHON3PATH %{i}/${PYTHON3_LIB_SITE_PACKAGES} | ||
Source: none | ||
|
||
%define isslc7 %(case %{cmsplatf} in (slc7_amd64*) echo 1 ;; (*) echo 0 ;; esac) | ||
%define isamd64 %(case %{cmsplatf} in (*amd64*) echo 1 ;; (*) echo 0 ;; esac) | ||
Requires: py2-six | ||
Requires: py2-scipy | ||
Requires: py2-numpy | ||
|
||
%prep | ||
|
||
%build | ||
|
||
%install | ||
mkdir -p %{i}/etc/scram.d | ||
cat << \EOF_TOOLFILE >%i/etc/scram.d/python_tools.xml | ||
<tool name="%{n}" version="%{v}"> | ||
</tool> | ||
EOF_TOOLFILE |