Accepting request 891296 from home:bnavigator:branches:devel:languages:python:numeric

- Ignore unrelated warning during tests introduced by l3backend
- Specify runtime requirements
- Fix provides/obsoletes rename for flavors

OBS-URL: https://build.opensuse.org/request/show/891296
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-PyX?expand=0&rev=5
This commit is contained in:
2021-05-07 12:30:16 +00:00
committed by Git OBS Bridge
parent 9867eeb848
commit acafd2967d
2 changed files with 15 additions and 3 deletions

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri May 7 12:21:08 UTC 2021 - Ben Greiner <code@bnavigator.de>
- Ignore unrelated warning during tests introduced by l3backend
- Specify runtime requirements
- Fix provides/obsoletes rename for flavors
-------------------------------------------------------------------
Wed Jul 24 10:07:02 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-PyX
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -35,8 +35,11 @@ BuildRequires: python-rpm-macros
BuildRequires: texlive-latex-bin-bin
BuildRequires: texlive-tex-bin
BuildRequires: texlive-texware-bin
Obsoletes: python3-pyx < %{version}
Provides: python3-pyx = %{version}
Requires: texlive-latex-bin-bin
Requires: texlive-tex-bin
Requires: texlive-texware-bin
Obsoletes: python-pyx < %{version}
Provides: python-pyx = %{version}
BuildArch: noarch
%python_subpackages
@@ -48,6 +51,8 @@ built out of these primitives.
%prep
%setup -q -n pyx-%{version}
# ignore unrelated warning "ignoring special 'header=l3backend-dvips.pro'"
sed -i 's/l.check/l.check_present/' test/unit/test_texmessageparser.py
%build
%python_build