Hello community,
here is the log from the commit of package python-SPARQLWrapper for
openSUSE:Factory checked in at 2018-01-06 18:47:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-SPARQLWrapper (Old)
and /work/SRC/openSUSE:Factory/.python-SPARQLWrapper.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-SPARQLWrapper"
Sat Jan 6 18:47:07 2018 rev:6 rq:561454 version:1.8.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-SPARQLWrapper/python-SPARQLWrapper.changes
2017-05-16 14:30:01.810630367 +0200
+++
/work/SRC/openSUSE:Factory/.python-SPARQLWrapper.new/python-SPARQLWrapper.changes
2018-01-06 18:47:09.148941794 +0100
@@ -1,0 +2,6 @@
+Wed Jan 3 18:11:19 UTC 2018 - [email protected]
+
+- Make sure to not bail out when building with py3 only
+- Do not recommend already required package
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-SPARQLWrapper.spec ++++++
--- /var/tmp/diff_new_pack.bMyGQu/_old 2018-01-06 18:47:10.036900304 +0100
+++ /var/tmp/diff_new_pack.bMyGQu/_new 2018-01-06 18:47:10.040900117 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-SPARQLWrapper
#
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,9 +16,13 @@
#
-%bcond_without tests
-
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+# Tests are not compatible with python3
+%if 0%{?have_python2}
+%bcond_without tests
+%else
+%bcond_with tests
+%endif
Name: python-SPARQLWrapper
Version: 1.8.0
Release: 0
@@ -27,16 +31,13 @@
Group: Development/Languages/Python
Url: http://sparql-wrapper.sourceforge.net/
Source:
https://files.pythonhosted.org/packages/source/S/SPARQLWrapper/SPARQLWrapper-%{version}.tar.gz
-BuildRequires: fdupes
-BuildRequires: python-rpm-macros
-BuildRequires: python3-2to3
-BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
# Only used during installation
BuildRequires: %{python_module six}
+BuildRequires: fdupes
+BuildRequires: python-rpm-macros
+BuildRequires: python3-2to3
Requires: python-rdflib >= 4.0
-Recommends: python-rdflib >= 4.0
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%python_subpackages
@@ -57,14 +58,10 @@
%if %{with tests}
%check
-# Tests are not compatible with python3
-%if %have_python2
-python test/wrapper_test.py
-%endif
+python2 test/wrapper_test.py
%endif
%files %{python_files}
-%defattr(-,root,root,-)
%doc README.md AUTHORS.md LICENSE.txt
%{python_sitelib}/SPARQLWrapper/
%{python_sitelib}/SPARQLWrapper-%{version}-py*.egg-info