15
0
2019-11-07 15:46:14 +00:00
committed by Git OBS Bridge
parent ca9ae29243
commit e78b777147
2 changed files with 7 additions and 3 deletions

View File

@@ -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

View File

@@ -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