Hello community, here is the log from the commit of package python-typing for openSUSE:Factory checked in at 2020-03-08 22:21:15 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-typing (Old) and /work/SRC/openSUSE:Factory/.python-typing.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-typing" Sun Mar 8 22:21:15 2020 rev:12 rq:769892 version:3.7.4.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-typing/python-typing.changes 2020-01-30 09:34:54.689281737 +0100 +++ /work/SRC/openSUSE:Factory/.python-typing.new.26092/python-typing.changes 2020-03-08 22:21:16.323971381 +0100 @@ -1,0 +2,6 @@ +Tue Feb 4 09:05:57 UTC 2020 - Tomáš Chvátal <[email protected]> + +- Switch to multibuild in order to avoid cycle between Mesa and + python3 + +------------------------------------------------------------------- New: ---- _multibuild ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-typing.spec ++++++ --- /var/tmp/diff_new_pack.L4Ofns/_old 2020-03-08 22:21:16.775971660 +0100 +++ /var/tmp/diff_new_pack.L4Ofns/_new 2020-03-08 22:21:16.775971660 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-typing # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,7 +20,15 @@ %if 0%{?suse_version} >= 1500 || %{python3_version_nodots} > 34 %define skip_python3 1 %endif -Name: python-typing +%global flavor @BUILD_FLAVOR@%{nil} +%if "%{flavor}" == "test" +%define psuffix -test +%bcond_without test +%else +%define psuffix %{nil} +%bcond_with test +%endif +Name: python-typing%{psuffix} Version: 3.7.4.1 Release: 0 Summary: Type Hints for Python @@ -32,7 +40,6 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch -BuildRequires: python3-testsuite %python_subpackages %description @@ -47,16 +54,22 @@ %python_build %install +%if !%{with test} %python_install %python_expand %fdupes %{buildroot}%{$python_sitearch} +%endif %check +%if %{with test} export PYTHONDONTWRITEBYTECODE=1 %python_expand pushd python_%{$python_bin_suffix} ; $python -m unittest test_typing ; popd +%endif +%if !%{with test} %files %{python_files} %doc README.rst %license LICENSE %{python_sitelib}/* +%endif %changelog ++++++ _multibuild ++++++ <multibuild> <package>test</package> </multibuild>
