-
Notifications
You must be signed in to change notification settings - Fork 177
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5fc2f35
commit 614239c
Showing
3 changed files
with
25 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
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,24 @@ | ||
### RPM external py2-pkgconfig-toolfile 1.0 | ||
Requires: py2-pkgconfig | ||
%prep | ||
|
||
%build | ||
|
||
%install | ||
|
||
mkdir -p %i/etc/scram.d | ||
cat << \EOF_TOOLFILE >%i/etc/scram.d/py2-pkgconfig.xml | ||
<tool name="py2-pkgconfig" version="@TOOL_VERSION@"> | ||
<client> | ||
<environment name="PY2_PKGCONFIG_BASE" default="@TOOL_ROOT@"/> | ||
</client> | ||
<runtime name="PYTHONPATH" value="$PY2_PKGCONFIG_BASE/lib/python@PYTHONV@/site-packages" type="path"/> | ||
<use name="python"/> | ||
</tool> | ||
EOF_TOOLFILE | ||
|
||
export PYTHONV=$(echo $PYTHON_VERSION | cut -f1,2 -d.) | ||
|
||
## IMPORT scram-tools-post | ||
|
||
|