From c54a8988f0c0c71d53097b3a82eea335503b684d2bd07833fb64dd3df706c811 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Fri, 24 Apr 2020 12:08:05 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyRXP?expand=0&rev=2 --- python-pyRXP.spec | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/python-pyRXP.spec b/python-pyRXP.spec index 3c0520b..e805876 100644 --- a/python-pyRXP.spec +++ b/python-pyRXP.spec @@ -1,7 +1,7 @@ # # spec file for package python-pyRXP # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,24 +12,23 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# Name: python-pyRXP Version: 2.2.0 Release: 0 -License: BSD-3-Clause Summary: Python RXP interface - fast validating XML parser -Url: http://www.reportlab.com -Group: Development/Languages/Python +License: BSD-3-Clause +URL: https://www.reportlab.com Source0: https://files.pythonhosted.org/packages/source/p/pyRXP/pyRXP-%{version}.tar.gz # LICENSE MISSING IN SOURCE TARBALL Source1: https://hg.reportlab.com/hg-public/pyRXP/raw-file/9ee8c8d7cc04/LICENSE.txt -BuildRequires: python-rpm-macros BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes - +BuildRequires: python-rpm-macros %python_subpackages %description @@ -38,7 +37,7 @@ validating, namespace-aware XML parser written in C. %prep %setup -q -n pyRXP-%{version} -cp %{SOURCE1} ./ +cp %{SOURCE1} . %build export CFLAGS="%{optflags}" @@ -48,6 +47,9 @@ export CFLAGS="%{optflags}" %python_install %python_expand %fdupes %{buildroot}%{$python_sitearch} +%check +# No way to execute the tests and they are mostly just py2 syntax based. + %files %{python_files} %license LICENSE.txt %doc README.rst