From b1be283c3bc024edba1e452dd083e6ad08cc214cfedb4fad4ad5667434eb8e3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 29 Aug 2018 09:22:43 +0000 Subject: [PATCH 1/2] - Do not require devel package - Require python 3.6 or newer (print sintax) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-RegexOrder?expand=0&rev=5 --- python-RegexOrder.changes | 6 ++++++ python-RegexOrder.spec | 13 ++++++------- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/python-RegexOrder.changes b/python-RegexOrder.changes index efc3ec2..705938a 100644 --- a/python-RegexOrder.changes +++ b/python-RegexOrder.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Aug 29 09:22:19 UTC 2018 - tchvatal@suse.com + +- Do not require devel package +- Require python 3.6 or newer (print sintax) + ------------------------------------------------------------------- Fri Jul 27 09:22:03 UTC 2018 - jengelh@inai.de diff --git a/python-RegexOrder.spec b/python-RegexOrder.spec index 4f69196..01d19e9 100644 --- a/python-RegexOrder.spec +++ b/python-RegexOrder.spec @@ -18,27 +18,26 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 +# For LICENSE file +%define tag 23f0ac4ac46527404e3ec9097df931378d3d803a Name: python-RegexOrder Version: 0.2 Release: 0 -# For LICENSE file -%define tag 23f0ac4ac46527404e3ec9097df931378d3d803a Summary: Python module to search a regex that fits all query strings License: MIT Group: Development/Languages/Python -Url: https://github.com/chuanconggao/RegexOrder +URL: https://github.com/chuanconggao/RegexOrder Source: https://files.pythonhosted.org/packages/source/R/RegexOrder/RegexOrder-%{version}.tar.gz Source10: https://raw.githubusercontent.com/chuanconggao/RegexOrder/%{tag}/LICENSE -BuildRequires: %{python_module devel} +BuildRequires: %{python_module base >= 3.6} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: python-regex >= 2018.2.21 +BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module regex >= 2018.2.21} # /SECTION -Requires: python-regex >= 2018.2.21 -BuildArch: noarch - %python_subpackages %description From 095ac83ddb2ce9eabf83a4f782a428b4a61b762e339fa957ec5bb58e927d0a9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 29 Aug 2018 10:21:18 +0000 Subject: [PATCH 2/2] - Require python 3.6 or newer (print syntax) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-RegexOrder?expand=0&rev=6 --- python-RegexOrder.changes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-RegexOrder.changes b/python-RegexOrder.changes index 705938a..d819efe 100644 --- a/python-RegexOrder.changes +++ b/python-RegexOrder.changes @@ -2,7 +2,7 @@ Wed Aug 29 09:22:19 UTC 2018 - tchvatal@suse.com - Do not require devel package -- Require python 3.6 or newer (print sintax) +- Require python 3.6 or newer (print syntax) ------------------------------------------------------------------- Fri Jul 27 09:22:03 UTC 2018 - jengelh@inai.de