[packages/python-pyopencl] fix shebangs in examples; rel 4
atler
atler at pld-linux.org
Sat Mar 6 13:08:19 CET 2021
commit 8124d50f05a8a6ccc5805ee286ca29a17159fbc4
Author: Jan Palus <atler at pld-linux.org>
Date: Sat Mar 6 13:07:54 2021 +0100
fix shebangs in examples; rel 4
python-pyopencl.spec | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/python-pyopencl.spec b/python-pyopencl.spec
index b070959..bf8434b 100644
--- a/python-pyopencl.spec
+++ b/python-pyopencl.spec
@@ -15,7 +15,7 @@ Summary: Python 2 wrapper for OpenCL
Summary(pl.UTF-8): Interfejs Pythona 2 do OpenCL
Name: python-pyopencl
Version: 2018.1.1
-Release: 3
+Release: 4
License: MIT
Group: Libraries/Python
#Source0Download: https://pypi.python.org/simple/pyopencl/
@@ -127,6 +127,8 @@ Przykłady do modułu PyOpenCL.
%prep
%setup -q -n pyopencl-%{version}
+%{__sed} -i -e '1s,/usr/bin/env python,%{__python},' examples/*.py
+
%build
%define configopts \\\
CXXFLAGS="%{rpmcxxflags}" \\\
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-pyopencl.git/commitdiff/8124d50f05a8a6ccc5805ee286ca29a17159fbc4
More information about the pld-cvs-commit
mailing list