Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-injector for openSUSE:Factory
checked in at 2022-01-10 23:53:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-injector (Old)
and /work/SRC/openSUSE:Factory/.python-injector.new.1892 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-injector"
Mon Jan 10 23:53:45 2022 rev:8 rq:945365 version:0.19.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-injector/python-injector.changes
2022-01-03 10:49:55.123591918 +0100
+++
/work/SRC/openSUSE:Factory/.python-injector.new.1892/python-injector.changes
2022-01-10 23:54:23.136845479 +0100
@@ -1,0 +2,5 @@
+Mon Jan 10 13:55:04 UTC 2022 - Ben Greiner <[email protected]>
+
+- Fix test and runtime requirements
+
+-------------------------------------------------------------------
@@ -49 +54 @@
- :func:`MappingKey <injector.MappingKey>` ?????use real types or type
aliases instead
+ :func:`MappingKey <injector.MappingKey>` ??? use real types or type
aliases instead
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-injector.spec ++++++
--- /var/tmp/diff_new_pack.xi3Whe/_old 2022-01-10 23:54:23.560845851 +0100
+++ /var/tmp/diff_new_pack.xi3Whe/_new 2022-01-10 23:54:23.560845851 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-injector
#
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -25,15 +25,19 @@
License: BSD-3-Clause
URL: https://github.com/alecthomas/injector
Source:
https://github.com/alecthomas/injector/archive/%{version}.tar.gz
-BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
-BuildRequires: %{python_module typing_extensions >= 3.7.4}
+BuildRequires: %{python_module typing_extensions >= 3.7.4 if %python-base <
3.9}
+# SECTION test requirements
+BuildRequires: %{python_module pytest}
+BuildRequires: %{python_module dataclasses if %python-base < 3.7}
+# /SECTION
BuildRequires: %{pythons}
BuildRequires: fdupes
-BuildRequires: python-rpm-macros
-BuildRequires: ((python3-dataclasses and python3-base < 3.7) or
(python36-dataclasses and python36-base))
+BuildRequires: python-rpm-macros >= 20210131
Requires: python
-Requires: (python-typing_extensions if python-base < 3.8)
+%if %{python_version_nodots} < 39
+Requires: python-typing_extensions >= 3.7.4
+%endif
BuildArch: noarch
%python_subpackages
@@ -69,6 +73,7 @@
%files %{python_files}
%license COPYING
%doc README.md
-%{python_sitelib}/*
+%{python_sitelib}/injector
+%{python_sitelib}/injector-%{version}*-info
%changelog