Hello community,

here is the log from the commit of package python-fastimport for 
openSUSE:Factory checked in at 2018-08-31 10:42:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-fastimport (Old)
 and      /work/SRC/openSUSE:Factory/.python-fastimport.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-fastimport"

Fri Aug 31 10:42:01 2018 rev:6 rq:631077 version:0.9.8

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-fastimport/python-fastimport.changes      
2015-05-06 07:49:43.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-fastimport.new/python-fastimport.changes 
2018-08-31 10:43:29.487134412 +0200
@@ -1,0 +2,7 @@
+Thu Aug 23 09:48:00 UTC 2018 - tchva...@suse.com
+
+- Switch to singlespec
+- Version update to 0.9.8:
+  * Support py3
+
+-------------------------------------------------------------------

Old:
----
  fastimport-0.9.4.tar.gz

New:
----
  fastimport-0.9.8.tar.gz

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

Other differences:
------------------
++++++ python-fastimport.spec ++++++
--- /var/tmp/diff_new_pack.07Z9dU/_old  2018-08-31 10:43:29.863134858 +0200
+++ /var/tmp/diff_new_pack.07Z9dU/_new  2018-08-31 10:43:29.867134863 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-fastimport
 #
-# Copyright (c) 2015 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,22 +16,20 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-fastimport
-Version:        0.9.4
+Version:        0.9.8
 Release:        0
 Summary:        Fastimport parser in Python
-License:        GPL-2.0+
+License:        GPL-2.0-or-later
 Group:          Development/Libraries/Python
-Url:            http://launchpad.net/python-fastimport
-Source:         
https://pypi.python.org/packages/source/f/fastimport/fastimport-%version.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  python-devel
-%if 0%{?suse_version} && 0%{?suse_version} <= 1110
-%{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
-%py_requires
-%else
+URL:            https://github.com/jelmer/python-fastimport
+Source:         
https://files.pythonhosted.org/packages/source/f/fastimport/fastimport-%{version}.tar.gz
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
 BuildArch:      noarch
-%endif
+%python_subpackages
 
 %description
 This is the Python parser that was originally developed for
@@ -44,14 +42,21 @@
 %setup -q -n fastimport-%{version}
 
 %build
-python setup.py build;
+%python_build
 
 %install
-python setup.py install --prefix="%_prefix" --root="%buildroot";
+%python_install
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
 
-%files
-%defattr(-,root,root)
-%python_sitelib/fastimport
-%python_sitelib/fastimport*egg-info
+%check
+%python_exec -m unittest fastimport.tests.test_suite
+
+%files %{python_files}
+%doc NEWS README.md
+%license COPYING
+%{python_sitelib}/fastimport*
+%python3_only %{_bindir}/fast-import-filter
+%python3_only %{_bindir}/fast-import-info
+%python3_only %{_bindir}/fast-import-query
 
 %changelog

++++++ fastimport-0.9.4.tar.gz -> fastimport-0.9.8.tar.gz ++++++
++++ 4640 lines of diff (skipped)


Reply via email to