- Move the Name definition above lua code to work on 42.3

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-releases?expand=0&rev=7
This commit is contained in:
Tomáš Chvátal 2018-08-29 08:28:37 +00:00 committed by Git OBS Bridge
parent 6d55fb826c
commit 7780134c59
2 changed files with 10 additions and 5 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Aug 29 08:28:17 UTC 2018 - tchvatal@suse.com
- Move the Name definition above lua code to work on 42.3
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Aug 11 14:43:12 UTC 2018 - tchvatal@suse.com Sat Aug 11 14:43:12 UTC 2018 - tchvatal@suse.com

View File

@ -23,6 +23,11 @@
%else %else
%bcond_with test %bcond_with test
%endif %endif
%if %{with test}
Name: python-releases-%{flavor}
%else
Name: python-releases
%endif
Version: 1.6.1 Version: 1.6.1
Release: 0 Release: 0
Summary: A Sphinx extension for changelog manipulation Summary: A Sphinx extension for changelog manipulation
@ -38,11 +43,6 @@ Requires: python-semantic_version
Requires: python-six >= 1.4.1 Requires: python-six >= 1.4.1
BuildArch: noarch BuildArch: noarch
%if %{with test} %if %{with test}
Name: python-releases-%{flavor}
%else
Name: python-releases
%endif
%if %{with test}
BuildRequires: %{python_module Sphinx >= 1.3} BuildRequires: %{python_module Sphinx >= 1.3}
BuildRequires: %{python_module invocations} BuildRequires: %{python_module invocations}
BuildRequires: %{python_module invoke} BuildRequires: %{python_module invoke}