From aaa2775d8e74c512075f07d89cdb883c55b344ef5f8e04cc41e40ac5f3c9ecf1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 1 Jan 2019 15:14:01 +0000 Subject: [PATCH] Accepting request 661776 from devel:languages:python:avocado - Move name ahead of version in spec file to resolve build issues on older distributions OBS-URL: https://build.opensuse.org/request/show/661776 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=92 --- python-hypothesis.changes | 6 ++++++ python-hypothesis.spec | 12 +++++++----- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/python-hypothesis.changes b/python-hypothesis.changes index 29da485..90e32be 100644 --- a/python-hypothesis.changes +++ b/python-hypothesis.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Dec 28 12:23:28 UTC 2018 - Martin Pluskal + +- Move name ahead of version in spec file to resolve build issues + on older distributions + ------------------------------------------------------------------- Sat Dec 8 19:35:13 UTC 2018 - Arun Persaud diff --git a/python-hypothesis.spec b/python-hypothesis.spec index 61e0981..9bc001f 100644 --- a/python-hypothesis.spec +++ b/python-hypothesis.spec @@ -30,6 +30,13 @@ %bcond_with test %endif %bcond_without python2 + +%if %{with test} +Name: python-hypothesis-%{flavor} +%else +Name: python-hypothesis +%endif + Version: 3.82.5 Release: 0 Summary: A library for property based testing @@ -50,11 +57,6 @@ Recommends: python-pytest >= 3.0.0 Recommends: python-pytz >= 2014.1 BuildArch: noarch %if %{with test} -Name: python-hypothesis-%{flavor} -%else -Name: python-hypothesis -%endif -%if %{with test} # SECTION test requirements BuildRequires: %{python_module attrs >= 16.0.0} BuildRequires: %{python_module coverage}