Hello community,
here is the log from the commit of package python-pysqlite for openSUSE:Factory
checked in at 2019-06-13 22:30:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pysqlite (Old)
and /work/SRC/openSUSE:Factory/.python-pysqlite.new.4811 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pysqlite"
Thu Jun 13 22:30:16 2019 rev:11 rq:708346 version:2.8.3
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pysqlite/python-pysqlite.changes
2017-11-09 13:44:14.668775746 +0100
+++
/work/SRC/openSUSE:Factory/.python-pysqlite.new.4811/python-pysqlite.changes
2019-06-13 22:30:22.832439089 +0200
@@ -1,0 +2,6 @@
+Fri Jun 7 12:00:38 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- New sphinx is providing only py3 variant, thus abandon
+ documentation here as it is py2 only package
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pysqlite.spec ++++++
--- /var/tmp/diff_new_pack.8wEIkv/_old 2019-06-13 22:30:23.364438916 +0200
+++ /var/tmp/diff_new_pack.8wEIkv/_new 2019-06-13 22:30:23.368438915 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-pysqlite
#
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -12,7 +12,7 @@
# 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/
#
@@ -22,13 +22,16 @@
Summary: DB-API 2.0 interface for SQLite 3.x
License: Zlib
Group: Development/Languages/Python
-Url: http://github.com/ghaering/pysqlite
+URL: http://github.com/ghaering/pysqlite
Source:
https://files.pythonhosted.org/packages/source/p/pysqlite/pysqlite-%{version}.tar.gz
-BuildRequires: python-Sphinx
+BuildRequires: fdupes
BuildRequires: python-devel
+BuildRequires: python-rpm-macros
+BuildRequires: python-setuptools
BuildRequires: sqlite3-devel
Requires: sqlite3
Provides: python-sqlite = %{version}
+Provides: python2-pysqlite = %{version}
Provides: python2-sqlite = %{version}
Obsoletes: python-sqlite < %{version}
Provides: python-sqlite2 = %{version}
@@ -45,15 +48,15 @@
%setup -q -n pysqlite-%{version}
%build
-CFLAGS="%{optflags}" python setup.py build
-cd doc/sphinx && make html && rm .build/html/.buildinfo # Build HTML
documentation
+CFLAGS="%{optflags}" %python2_build
%install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python2_install
+%fdupes %{buildroot}%{python2_sitearch}
rm -rf %{buildroot}%{_prefix}/pysqlite2-doc # Remove wrongly installed junk
%files
-%doc LICENSE doc/sphinx/.build/html
-%{python_sitearch}/*
+%license LICENSE
+%{python2_sitearch}/*
%changelog