commit 8124d50f05a8a6ccc5805ee286ca29a17159fbc4
Author: Jan Palus <[email protected]>
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

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to