From 8124d50f05a8a6ccc5805ee286ca29a17159fbc4 Mon Sep 17 00:00:00 2001 From: Jan Palus Date: Sat, 6 Mar 2021 13:07:54 +0100 Subject: [PATCH] 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}" \\\ -- 2.44.0