Hello community,

here is the log from the commit of package python-wcwidth for openSUSE:Factory 
checked in at 2020-05-11 13:25:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-wcwidth (Old)
 and      /work/SRC/openSUSE:Factory/.python-wcwidth.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-wcwidth"

Mon May 11 13:25:52 2020 rev:8 rq:800655 version:0.1.9

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-wcwidth/python-wcwidth.changes    
2020-03-27 00:29:37.696388430 +0100
+++ /work/SRC/openSUSE:Factory/.python-wcwidth.new.2738/python-wcwidth.changes  
2020-05-11 13:25:54.311174532 +0200
@@ -1,0 +2,5 @@
+Wed May  6 02:25:29 UTC 2020 - Steve Kowalik <[email protected]>
+
+- Convert to multibuild to break a self-requires loop. 
+
+-------------------------------------------------------------------

New:
----
  _multibuild

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

Other differences:
------------------
++++++ python-wcwidth.spec ++++++
--- /var/tmp/diff_new_pack.FGfq9s/_old  2020-05-11 13:25:54.831175622 +0200
+++ /var/tmp/diff_new_pack.FGfq9s/_new  2020-05-11 13:25:54.835175630 +0200
@@ -1,5 +1,5 @@
 #
-# spec file for package python-wcwidth
+# spec file for package python
 #
 # Copyright (c) 2020 SUSE LLC
 #
@@ -17,7 +17,15 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
-Name:           python-wcwidth
+%global flavor @BUILD_FLAVOR@%{nil}
+%if "%{flavor}" == "test"
+%bcond_without test
+%define psuffix -%{flavor}
+%else
+%bcond_with test
+%define psuffix %{nil}
+%endif
+Name:           python-wcwidth%{psuffix}
 Version:        0.1.9
 Release:        0
 Summary:        Number of Terminal column cells of wide-character codes
@@ -25,7 +33,9 @@
 Group:          Development/Languages/Python
 URL:            https://github.com/jquast/wcwidth
 Source:         
https://files.pythonhosted.org/packages/source/w/wcwidth/wcwidth-%{version}.tar.gz
+%if %{with test}
 BuildRequires:  %{python_module pytest}
+%endif
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
@@ -52,19 +62,26 @@
 %python_build
 
 %install
+%if ! %{with test}
 %python_install
 
 # Remove tests from runtime
 %{python_expand rm -r %{buildroot}%{$python_sitelib}/wcwidth/tests/
 %fdupes %{buildroot}%{$python_sitelib}
 }
+%endif
 
 %check
+%if %{with test}
 %pytest
+%endif
+
+%if ! %{with test}
 
 %files %{python_files}
 %license LICENSE.txt
 %doc README.rst
 %{python_sitelib}/*
+%endif
 
 %changelog

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

Reply via email to