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}