- Move the Name declaration above BR with LUA expansion as it won't

get expanded in time for older codestreams otherwise and result
  in issue like "Package does not exist: %files -n python-%name"

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pbr?expand=0&rev=93
This commit is contained in:
Tomáš Chvátal 2018-08-27 15:25:37 +00:00 committed by Git OBS Bridge
parent fba4c48607
commit 5778abe508
2 changed files with 12 additions and 6 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Aug 27 15:24:52 UTC 2018 - tchvatal@suse.com
- Move the Name declaration above BR with LUA expansion as it won't
get expanded in time for older codestreams otherwise and result
in issue like "Package does not exist: %files -n python-%name"
-------------------------------------------------------------------
Wed Aug 15 12:38:40 UTC 2018 - mcepl@suse.com

View File

@ -23,7 +23,11 @@
%else
%bcond_with test
%endif
%if !%{with test}
Name: python-pbr
%else
Name: python-pbr-%{flavor}
%endif
Version: 4.1.1
Release: 0
Summary: Python Build Reasonableness
@ -39,11 +43,6 @@ Requires(post): update-alternatives
Requires(postun): update-alternatives
Obsoletes: python-pbr-doc
BuildArch: noarch
%if !%{with test}
Name: python-pbr
%else
Name: python-pbr-%{flavor}
%endif
%if %{with test}
BuildRequires: %{python_module Sphinx >= 1.6.2}
BuildRequires: %{python_module devel}