From 15d3376efdd1cf787729ee6b3c39ff61a39f8e6de69d36a9c3f37923f834dc3f Mon Sep 17 00:00:00 2001 From: Todd R Date: Thu, 10 May 2018 15:27:11 +0000 Subject: [PATCH] Accepting request 606239 from home:TheBlackCat:branches:devel:languages:python - Set minimum python3 version OBS-URL: https://build.opensuse.org/request/show/606239 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-line_profiler?expand=0&rev=5 --- python-line_profiler.changes | 5 +++++ python-line_profiler.spec | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/python-line_profiler.changes b/python-line_profiler.changes index 7d7b2a7..570ff6e 100644 --- a/python-line_profiler.changes +++ b/python-line_profiler.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu May 10 15:23:01 UTC 2018 - toddrme2178@gmail.com + +- Set minimum python3 version + ------------------------------------------------------------------- Thu May 3 14:07:08 UTC 2018 - toddrme2178@gmail.com diff --git a/python-line_profiler.spec b/python-line_profiler.spec index 2ebcb5b..964226c 100644 --- a/python-line_profiler.spec +++ b/python-line_profiler.spec @@ -31,10 +31,14 @@ BuildRequires: python-rpm-macros BuildRequires: %{python_module Cython} BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} +BuildRequires: python3-devel >= 3.5 %if %{with test} BuildRequires: %{python_module nose} BuildRequires: %{python_module jupyter_ipython} %endif +%ifpython3 +Requires: python3-base >= 3.5 +%endif Requires(post): update-alternatives Requires(postun): update-alternatives