diff --git a/python-humanfriendly.changes b/python-humanfriendly.changes index e8466f8..257bcce 100644 --- a/python-humanfriendly.changes +++ b/python-humanfriendly.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Aug 29 08:22:29 UTC 2018 - tchvatal@suse.com + +- Move the Name declaration above lua code to work on Leap 42.3 + ------------------------------------------------------------------- Fri Aug 17 13:50:03 UTC 2018 - tchvatal@suse.com diff --git a/python-humanfriendly.spec b/python-humanfriendly.spec index b94d39d..a73e733 100644 --- a/python-humanfriendly.spec +++ b/python-humanfriendly.spec @@ -23,6 +23,11 @@ %bcond_with test %endif %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%if %{with test} +Name: python-humanfriendly-%{flavor} +%else +Name: python-humanfriendly +%endif Version: 4.16.1 Release: 0 Summary: Human friendly input/output for text interfaces using Python @@ -37,11 +42,6 @@ Requires(post): update-alternatives Requires(postun): update-alternatives BuildArch: noarch %if %{with test} -Name: python-humanfriendly-%{flavor} -%else -Name: python-humanfriendly -%endif -%if %{with test} BuildRequires: %{python_module capturer >= 2.1} BuildRequires: %{python_module coloredlogs >= 2} BuildRequires: %{python_module pytest >= 3.0.7}