Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-guessit for openSUSE:Factory 
checked in at 2025-04-10 22:00:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-guessit (Old)
 and      /work/SRC/openSUSE:Factory/.python-guessit.new.1907 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-guessit"

Thu Apr 10 22:00:09 2025 rev:27 rq:1268404 version:3.8.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-guessit/python-guessit.changes    
2025-01-12 11:28:51.110703455 +0100
+++ /work/SRC/openSUSE:Factory/.python-guessit.new.1907/python-guessit.changes  
2025-04-10 22:01:14.653600904 +0200
@@ -1,0 +2,5 @@
+Tue Apr  8 17:37:51 UTC 2025 - Ben Greiner <c...@bnavigator.de>
+
+- Fix dependencies
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-guessit.spec ++++++
--- /var/tmp/diff_new_pack.Plb32l/_old  2025-04-10 22:01:15.145621450 +0200
+++ /var/tmp/diff_new_pack.Plb32l/_new  2025-04-10 22:01:15.149621618 +0200
@@ -17,7 +17,9 @@
 
 
 %if 0%{?suse_version} > 1500
-%define with_tests 1
+%bcond_without test
+%else
+%bcond_with test
 %endif
 Name:           python-guessit
 Version:        3.8.0
@@ -31,12 +33,7 @@
 Patch0:         remove-six.patch
 BuildRequires:  %{python_module PyYAML}
 BuildRequires:  %{python_module babelfish >= 0.6.0}
-BuildRequires:  %{python_module importlib_resources}
-%if 0%{?with_tests}
-BuildRequires:  %{python_module pytest >= 5}
-BuildRequires:  %{python_module pytest-benchmark}
-BuildRequires:  %{python_module pytest-mock >= 3.3.1}
-%endif
+BuildRequires:  %{python_module importlib_resources if %python-base < 3.9}
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module python-dateutil}
 BuildRequires:  %{python_module rebulk >= 3.2.0}
@@ -47,9 +44,17 @@
 Requires:       python-babelfish >= 0.6.0
 Requires:       python-python-dateutil
 Requires:       python-rebulk >= 3.2.0
+%if %{?python_version_nodots} < 39
+Requires:       python-importlib_resources
+%endif
 Requires(post): update-alternatives
 Requires(postun): update-alternatives
 BuildArch:      noarch
+%if %{with test}
+BuildRequires:  %{python_module pytest >= 5}
+BuildRequires:  %{python_module pytest-benchmark}
+BuildRequires:  %{python_module pytest-mock >= 3.3.1}
+%endif
 %python_subpackages
 
 %description
@@ -82,7 +87,7 @@
 %python_clone -a %{buildroot}%{_bindir}/guessit
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
-%if 0%{?with_tests}
+%if %{with test}
 %check
 %pytest
 %endif

Reply via email to