From ec6069eadacd03bc2ad001cbb7a1312a5e7ccf0c8a4032a5e22d5371a754a367 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 29 Aug 2018 08:22:51 +0000 Subject: [PATCH] - Move the Name declaration above lua code to work on Leap 42.3 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-humanfriendly?expand=0&rev=15 --- python-humanfriendly.changes | 5 +++++ python-humanfriendly.spec | 10 +++++----- 2 files changed, 10 insertions(+), 5 deletions(-) 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}