diff --git a/.gitignore b/.gitignore index a2db6e4..b636383 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /python-pyopencl-2015.2.tar.gz /pyopencl-2016.1.tar.gz /pyopencl-2016.2.1.tar.gz +/pyopencl-2017.2.tar.gz diff --git a/pyopencl-switch-to-gnu++11.patch b/pyopencl-switch-to-gnu++11.patch deleted file mode 100644 index 493e295..0000000 --- a/pyopencl-switch-to-gnu++11.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -up pyopencl-2016.1/setup.py.than pyopencl-2016.1/setup.py ---- pyopencl-2016.1/setup.py.than 2017-01-17 11:55:18.450292176 -0500 -+++ pyopencl-2016.1/setup.py 2017-01-17 11:55:34.580575378 -0500 -@@ -38,7 +38,7 @@ def get_config_schema(): - IncludeDir, LibraryDir, Libraries, \ - Switch, StringListOption - -- default_cxxflags = ['-std=c++0x'] -+ default_cxxflags = ['-std=gnu++11'] - - if 'darwin' in sys.platform: - import platform diff --git a/python-pyopencl.spec b/python-pyopencl.spec index 297880a..5d18c94 100644 --- a/python-pyopencl.spec +++ b/python-pyopencl.spec @@ -7,8 +7,8 @@ %endif Name: python-%{srcname} -Version: 2016.2.1 -Release: 2%{?dist} +Version: 2017.2 +Release: 1%{?dist} Summary: Python wrapper for OpenCL # https://bugzilla.redhat.com/show_bug.cgi?id=1219819#c16 @@ -40,8 +40,6 @@ Patch0: 0001-use-system-compyte.patch Patch1: 0002-disable-executing-git-submodule.patch # Have not asked upstream, but they want to enforce CFLAGS/LDFLAGS Patch2: 0003-don-t-hack-distutils-with-C-LDFLAGS.patch -# switching to gnu++11 to fix the build failure on ppc64le -Patch3: pyopencl-switch-to-gnu++11.patch # pyopencl/cl/pyopencl-bessel-[j,y].cl and # pyopencl/cl/pyopencl-eval-tbl.cl contain snippets taken from boost @@ -80,7 +78,7 @@ BuildRequires: python2-cffi %if %{with tests} BuildRequires: python2-pytest BuildRequires: python2-compyte -BuildRequires: python2-pytools +BuildRequires: python2-pytools >= 2017.2 BuildRequires: python2-decorator BuildRequires: python2-appdirs BuildRequires: python2-six @@ -89,7 +87,7 @@ BuildRequires: python2-scipy %endif Requires: python2-compyte Requires: python2-numpy -Requires: python2-pytools +Requires: python2-pytools >= 2017.2 Requires: python2-decorator Requires: python2-cffi Requires: python2-appdirs @@ -110,7 +108,7 @@ BuildRequires: python3-cffi %if %{with tests} BuildRequires: python3-pytest BuildRequires: python3-compyte -BuildRequires: python3-pytools +BuildRequires: python3-pytools >= 2017.2 BuildRequires: python3-decorator BuildRequires: python3-appdirs BuildRequires: python3-six @@ -119,7 +117,7 @@ BuildRequires: python3-scipy %endif Requires: python3-compyte Requires: python3-numpy -Requires: python3-pytools +Requires: python3-pytools >= 2017.2 Requires: python3-decorator Requires: python3-cffi Requires: python3-appdirs @@ -176,6 +174,9 @@ popd %{python3_sitearch}/%{srcname}-*.egg-info/ %changelog +* Sat Jul 15 2017 Igor Gnatenko - 2017.2-1 +- Update to 2017.2 + * Sat Feb 11 2017 Fedora Release Engineering - 2016.2.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild diff --git a/sources b/sources index df0688b..82802a6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pyopencl-2016.2.1.tar.gz) = 2519ecdf7f9ef866ec5043fa228235e12aae301b71e601f42e418303cbc0885a3348e228d6c77c7a2496907bf6bfd9d8e66c9e2aa9284ea50403c483c1969eb3 +SHA512 (pyopencl-2017.2.tar.gz) = 2b0d525574d913e79d9a0682dc325a139e336f37e2279e964134cb0b11aeaa2cf62e6270ed864c8fb5db7c665750b72fdc21c1d3be9a3c946aa7ec50f6147a16