forked from pool/python-SPARQLWrapper
Run through spec-cleaner
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-SPARQLWrapper?expand=0&rev=18
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 7 15:45:49 UTC 2019 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Run through spec-cleaner
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jul 8 03:45:56 UTC 2018 - arun@gmx.de
|
||||
|
||||
|
||||
@@ -22,7 +22,6 @@ Version: 1.8.2
|
||||
Release: 0
|
||||
Summary: SPARQL Endpoint interface to Python
|
||||
License: W3C
|
||||
Group: Development/Languages/Python
|
||||
URL: http://sparql-wrapper.sourceforge.net/
|
||||
Source: https://files.pythonhosted.org/packages/source/S/SPARQLWrapper/SPARQLWrapper-%{version}.tar.gz
|
||||
# Only used during installation
|
||||
@@ -52,8 +51,8 @@ format.
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%if %python3_version_nodots > 34
|
||||
# taken from https://github.com/RDFLib/sparqlwrapper/blob/master/run_tests_py3.sh
|
||||
%if %{python3_version_nodots} > 34
|
||||
# taken from https://github.com/RDFLib/sparqlwrapper/blob/master/run_tests_py3.sh
|
||||
cp -r %{buildroot}%{python_sitelib}/SPARQLWrapper test/
|
||||
2to3 -wn --no-diffs test
|
||||
sed -i.bak s/urllib2._opener/urllib.request._opener/g test/wrapper_test.py
|
||||
|
||||
Reference in New Issue
Block a user