From 583e058e5d3a5ebcb7a71fd20353b4a93d05fac3daa40cf5de3fcb4964ce5675 Mon Sep 17 00:00:00 2001 From: Libor Pechacek Date: Fri, 25 Jun 2021 11:29:55 +0000 Subject: [PATCH] Accepting request 902356 from home:bnavigator:branches:Application:Geo - Fix the python >= 3.7 build requirement * `BuildRequires: python` is a pure python2 specification now * no need for the full stdlib (`BuildRequires: %pythons >= 3.7`) OBS-URL: https://build.opensuse.org/request/show/902356 OBS-URL: https://build.opensuse.org/package/show/Application:Geo/python-pyproj?expand=0&rev=39 --- python-pyproj.changes | 7 +++++++ python-pyproj.spec | 6 ++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/python-pyproj.changes b/python-pyproj.changes index 740fd39..02d2b95 100644 --- a/python-pyproj.changes +++ b/python-pyproj.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Jun 25 10:34:27 UTC 2021 - Ben Greiner + +- Fix the python >= 3.7 build requirement + * `BuildRequires: python` is a pure python2 specification now + * no need for the full stdlib (`BuildRequires: %pythons >= 3.7`) + ------------------------------------------------------------------- Thu May 27 13:07:01 UTC 2021 - Libor Pechacek diff --git a/python-pyproj.spec b/python-pyproj.spec index 7fcfe69..6e6cdd4 100644 --- a/python-pyproj.spec +++ b/python-pyproj.spec @@ -18,7 +18,7 @@ %define skip_python2 1 %define skip_python36 1 -%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%{?!python_module:%define python_module() python3-%{**}} Name: python-pyproj Version: 3.1.0 Release: 0 @@ -30,14 +30,12 @@ Source: https://files.pythonhosted.org/packages/source/p/pyproj/pyproj-% BuildRequires: %{python_module Cython >= 0.23.5} BuildRequires: %{python_module Shapely} BuildRequires: %{python_module aenum} -BuildRequires: %{python_module devel} +BuildRequires: %{python_module devel >= 3.7} BuildRequires: %{python_module numpy} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: proj BuildRequires: proj-devel >= 7.2.0 -# Python 3.7 requirement for distros that don't understand skip_python36 -BuildRequires: python >= 3.7 BuildRequires: python-rpm-macros Requires: python-aenum Requires: python-numpy