forked from pool/python-pyRXP
This commit is contained in:
committed by
Git OBS Bridge
parent
0977091a7f
commit
c54a8988f0
@@ -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
|
||||
|
Reference in New Issue
Block a user