Hello community,

here is the log from the commit of package python-apsw for openSUSE:Factory 
checked in at 2017-09-05 15:15:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-apsw (Old)
 and      /work/SRC/openSUSE:Factory/.python-apsw.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-apsw"

Tue Sep  5 15:15:09 2017 rev:3 rq:519979 version:3.9.2_r1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-apsw/python-apsw.changes  2013-10-18 
13:34:55.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-apsw.new/python-apsw.changes     
2017-09-05 15:15:15.620898484 +0200
@@ -1,0 +2,11 @@
+Thu Aug 31 16:45:50 UTC 2017 - [email protected]
+
+- Update to version 3.9.2-r1
+  * No changelog
+
+-------------------------------------------------------------------
+Thu Aug 24 13:32:48 UTC 2017 - [email protected]
+
+- singlespec auto-conversion
+
+-------------------------------------------------------------------
@@ -40,0 +52 @@
+

Old:
----
  apsw-3.7.17-r1.zip

New:
----
  apsw-3.9.2-r1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-apsw.spec ++++++
--- /var/tmp/diff_new_pack.LgJEPF/_old  2017-09-05 15:15:17.096691041 +0200
+++ /var/tmp/diff_new_pack.LgJEPF/_new  2017-09-05 15:15:17.096691041 +0200
@@ -1,8 +1,7 @@
-# vim: set sw=4 ts=4 et nu:
 #
 # spec file for package python-apsw
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -17,69 +16,49 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-apsw
-Version:        3.7.17_r1
+Version:        3.9.2_r1
+%define tarver  3.9.2-r1
 Release:        0
-%define pkg_version 3.7.17-r1
-%define sqlite_version 3.7.17
 Summary:        Another Python SQLite Wrapper
 License:        Zlib
 Group:          Development/Libraries/Python
-Source:         http://apsw.googlecode.com/files/apsw-%{pkg_version}.zip
-Url:            http://code.google.com/p/apsw/
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  autoconf
-BuildRequires:  automake
-BuildRequires:  gcc
-BuildRequires:  glibc-devel
-BuildRequires:  libtool
-BuildRequires:  make
+Url:            https://github.com/rogerbinns/apsw/
+Source:         
https://files.pythonhosted.org/packages/source/a/apsw/apsw-%{tarver}.tar.gz
+BuildRequires:  %{python_module devel}
 BuildRequires:  pkgconfig
-BuildRequires:  python-devel
-BuildRequires:  sqlite3-devel >= %{sqlite_version}
-BuildRequires:  unzip
-%py_requires
+BuildRequires:  python-rpm-macros
+BuildRequires:  sqlite3-devel
 
-%description
-APSW is a Python wrapper for the SQLite embedded relational database
-engine. In contrast to other wrappers such as pysqlite it focuses on
-being a minimal layer over SQLite attempting just to translate the
-complete SQLite API into Python.
+%python_subpackages
 
-%package doc
-Summary:        Another Python SQLite Wrapper - Documentation
-Group:          Development/Libraries/Python
-
-%description doc
+%description
 APSW is a Python wrapper for the SQLite embedded relational database
 engine. In contrast to other wrappers such as pysqlite it focuses on
 being a minimal layer over SQLite attempting just to translate the
 complete SQLite API into Python.
 
 %prep
-%setup -q -n "apsw-%{pkg_version}"
+%setup -q -n apsw-%{tarver}
 
 %build
-python setup.py build
+export CFLAGS="%{optflags} -fno-strict-aliasing"
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
-rm -f doc/.buildinfo
+%python_install
 
-install -d "%{buildroot}%{_docdir}/%{name}"
-cp -a doc/* "%{buildroot}%{_docdir}/%{name}/"
-
-%files
-%defattr(-,root,root)
-%doc doc/_sources/copyright.txt
-%{python_sitearch}/apsw.so
-%{python_sitearch}/apsw-%{version}-py%{py_ver}.egg-info
-%exclude %{_docdir}/%{name}
+%check
+export CFLAGS="%{optflags} -fno-strict-aliasing"
+%{python_expand $python setup.py build_ext --inplace
+$python setup.py test
+$python setup.py clean
+}
 
-%files doc
+%files %{python_files}
 %defattr(-,root,root)
-%dir %{_docdir}/%{name}
-%doc %{_docdir}/%{name}/*
-%exclude %{_docdir}/%{name}/copyright.txt
+%{python_sitearch}/apsw*.so
+%{python_sitearch}/apsw-%{version}-py*.egg-info
 
 %changelog


Reply via email to