Hello community,

here is the log from the commit of package python-incremental for 
openSUSE:Factory checked in at 2019-06-18 14:47:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-incremental (Old)
 and      /work/SRC/openSUSE:Factory/.python-incremental.new.4811 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-incremental"

Tue Jun 18 14:47:43 2019 rev:3 rq:708168 version:17.5.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-incremental/python-incremental.changes    
2018-12-27 00:26:43.371794079 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-incremental.new.4811/python-incremental.changes
  2019-06-18 14:47:52.409706091 +0200
@@ -1,0 +2,10 @@
+Thu Jun  6 15:38:34 UTC 2019 - Tomáš Chvátal <tchva...@suse.com>
+
+- Switch to multibuild to avoid build cycle
+
+-------------------------------------------------------------------
+Wed Jun  5 06:14:13 UTC 2019 - pgaj...@suse.com
+
+- run the testsuite
+
+-------------------------------------------------------------------

New:
----
  _multibuild

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

Other differences:
------------------
++++++ python-incremental.spec ++++++
--- /var/tmp/diff_new_pack.GBPEnA/_old  2019-06-18 14:47:53.205705924 +0200
+++ /var/tmp/diff_new_pack.GBPEnA/_new  2019-06-18 14:47:53.209705923 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-incremental
 #
-# Copyright (c) 2018 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
@@ -17,7 +17,15 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
-Name:           python-incremental
+%global flavor @BUILD_FLAVOR@%{nil}
+%if "%{flavor}" == "test"
+%define psuffix -test
+%bcond_without test
+%else
+%define psuffix %{nil}
+%bcond_with test
+%endif
+Name:           python-incremental%{psuffix}
 Version:        17.5.0
 Release:        0
 Summary:        Library that versions your Python projects
@@ -26,10 +34,16 @@
 URL:            https://github.com/twisted/incremental
 Source:         
https://files.pythonhosted.org/packages/source/i/incremental/incremental-%{version}.tar.gz
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Suggests:       %{python_module Twisted >= 16.4.0}
 Suggests:       %{python_module click >= 6.0}
 BuildArch:      noarch
+%if %{with test}
+BuildRequires:  %{python_module Twisted >= 16.4.0}
+BuildRequires:  %{python_module click >= 6.0}
+BuildRequires:  %{python_module pytest}
+%endif
 %python_subpackages
 
 %description
@@ -39,15 +53,24 @@
 %setup -q -n incremental-%{version}
 
 %build
-
 %python_build
 
 %install
+%if !%{with test}
 %python_install
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
+%endif
+
+%if %{with test}
+%check
+%pytest
+%endif
 
+%if !%{with test}
 %files %{python_files}
 %license LICENSE
 %doc NEWS.rst README.rst
 %{python_sitelib}/*
+%endif
 
 %changelog

++++++ _multibuild ++++++
<multibuild>
  <package>test</package>
</multibuild>

Reply via email to