diff --git a/python-setuptools_scm.changes b/python-setuptools_scm.changes index 6b0e627..e0b26fc 100644 --- a/python-setuptools_scm.changes +++ b/python-setuptools_scm.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Aug 29 08:02:35 UTC 2018 - tchvatal@suse.com + +- Fix Leap 42.3 build by moving Name above lua code expansion + ------------------------------------------------------------------- Sat Aug 11 16:28:16 UTC 2018 - arun@gmx.de diff --git a/python-setuptools_scm.spec b/python-setuptools_scm.spec index ff84283..7faaad9 100644 --- a/python-setuptools_scm.spec +++ b/python-setuptools_scm.spec @@ -24,6 +24,11 @@ %else %bcond_with test %endif +%if %{with test} +Name: python-setuptools_scm-%{flavor} +%else +Name: python-setuptools_scm +%endif Version: 3.1.0 Release: 0 Summary: Python setuptools handler for SCM tags @@ -37,11 +42,6 @@ BuildRequires: python-rpm-macros Requires: python-setuptools BuildArch: noarch %if %{with test} -Name: python-setuptools_scm-%{flavor} -%else -Name: python-setuptools_scm -%endif -%if %{with test} # Testing requirements BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest}