Hello community,

here is the log from the commit of package python-typing_extensions for 
openSUSE:Factory checked in at 2020-03-27 00:21:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-typing_extensions (Old)
 and      /work/SRC/openSUSE:Factory/.python-typing_extensions.new.3160 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-typing_extensions"

Fri Mar 27 00:21:10 2020 rev:6 rq:784168 version:3.7.4.1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-typing_extensions/python-typing_extensions.changes
        2019-11-22 10:20:29.685344369 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-typing_extensions.new.3160/python-typing_extensions.changes
      2020-03-27 00:21:12.548132550 +0100
@@ -1,0 +2,5 @@
+Thu Mar 12 07:52:02 UTC 2020 - Tomáš Chvátal <[email protected]>
+
+- Fix build without python2 available
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-typing_extensions.spec ++++++
--- /var/tmp/diff_new_pack.mEcd5H/_old  2020-03-27 00:21:13.268132915 +0100
+++ /var/tmp/diff_new_pack.mEcd5H/_new  2020-03-27 00:21:13.276132919 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-typing_extensions
 #
-# 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
@@ -18,32 +18,33 @@
 
 %define modname typing_extensions
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%bcond_without python2
 Name:           python-typing_extensions
 Version:        3.7.4.1
 Release:        0
 Summary:        Backported and Experimental Type Hints for Python 35+
 License:        Python-2.0
-Group:          Development/Languages/Python
 URL:            https://github.com/python/typing/
 Source0:        
https://files.pythonhosted.org/packages/source/t/typing_extensions/%{modname}-%{version}.tar.gz
 BuildRequires:  %{python_module setuptools}
-%if %{python3_version_nodots} < 35
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
+BuildArch:      noarch
+%if %{with python2}
+BuildRequires:  python-typing >= 3.7.4
+%endif
+%if 0%{?suse_version} < 1500
 BuildRequires:  python3-typing >= 3.7.4
 %endif
-BuildRequires:  python2-typing >= 3.7.4
 %if 0%{?suse_version} > 1320
 BuildRequires:  python3-testsuite
 %endif
-BuildRequires:  fdupes
-BuildRequires:  python-rpm-macros
 %if %{python3_version_nodots} < 35
-Requires:       python3-typing >= 3.7.4
+Requires:       python-typing >= 3.7.4
 %endif
 %ifpython2
-Requires:       python2-typing >= 3.7.4
+Requires:       python-typing >= 3.7.4
 %endif
-BuildArch:      noarch
-
 %python_subpackages
 
 %description


Reply via email to