15
0

- add no-2to3.patch for better compatibility with newer setuptools

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-SPARQLWrapper?expand=0&rev=23
This commit is contained in:
2022-03-07 11:58:28 +00:00
committed by Git OBS Bridge
parent 04e41ea2cf
commit 5275635eee
3 changed files with 22 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-SPARQLWrapper
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -22,8 +22,9 @@ Version: 1.8.5
Release: 0
Summary: SPARQL Endpoint interface to Python
License: W3C
URL: http://sparql-wrapper.sourceforge.net/
URL: https://rdflib.dev/sparqlwrapper/
Source: https://files.pythonhosted.org/packages/source/S/SPARQLWrapper/SPARQLWrapper-%{version}.tar.gz
Patch1: no-2to3.patch
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -38,6 +39,7 @@ format.
%prep
%setup -q -n SPARQLWrapper-%{version}
%patch1 -p1
%build
%python_build