Accepting request 666935 from devel:languages:python

- BuildIgnore python[23]-pyparsing: python-packaging requires it
  for some actions it could perform, but we don't make use of these
  here. Ignoring this dependency allows us to break open a
  BuildCycle.

OBS-URL: https://build.opensuse.org/request/show/666935
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pbr?expand=0&rev=43
This commit is contained in:
Dominique Leuenberger 2019-01-28 19:46:43 +00:00 committed by Git OBS Bridge
commit ccbb4d150a
2 changed files with 14 additions and 6 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Thu Jan 17 15:56:29 UTC 2019 - Dominique Leuenberger <dimstar@opensuse.org>
- BuildIgnore python[23]-pyparsing: python-packaging requires it
for some actions it could perform, but we don't make use of these
here. Ignoring this dependency allows us to break open a
BuildCycle.
-------------------------------------------------------------------
Tue Dec 11 17:00:20 UTC 2018 - Matěj Cepl <mcepl@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-pbr
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -19,15 +19,13 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%global flavor @BUILD_FLAVOR@%{nil}
%if "%{flavor}" == "test"
%define psuffix -test
%bcond_without test
%else
%define psuffix %{nil}
%bcond_with test
%endif
%if !%{with test}
Name: python-pbr
%else
Name: python-pbr-%{flavor}
%endif
Name: python-pbr%{psuffix}
Version: 4.3.0
Release: 0
Summary: Python Build Reasonableness
@ -40,6 +38,8 @@ Patch1: new_wheel.patch
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
#!BuildIgnore: python2-pyparsing
#!BuildIgnore: python3-pyparsing
Requires: python-setuptools
Requires(post): update-alternatives
Requires(postun): update-alternatives