Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-python-afl for 
openSUSE:Factory checked in at 2021-06-09 21:52:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-python-afl (Old)
 and      /work/SRC/openSUSE:Factory/.python-python-afl.new.32437 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-python-afl"

Wed Jun  9 21:52:33 2021 rev:7 rq:898376 version:0.7.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-python-afl/python-python-afl.changes      
2020-10-15 13:51:13.301319982 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-python-afl.new.32437/python-python-afl.changes
   2021-06-09 21:52:53.674538105 +0200
@@ -1,0 +2,5 @@
+Tue Jun  1 11:08:33 UTC 2021 - [email protected]
+
+- %check: use %pytest_arch rpm macro
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-python-afl.spec ++++++
--- /var/tmp/diff_new_pack.iMe0Ro/_old  2021-06-09 21:52:54.110538882 +0200
+++ /var/tmp/diff_new_pack.iMe0Ro/_new  2021-06-09 21:52:54.114538889 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-python-afl
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,6 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%bcond_without test
 Name:           python-python-afl
 Version:        0.7.3
 Release:        0
@@ -35,14 +34,15 @@
 BuildRequires:  python-rpm-macros
 Requires:       afl >= 2
 Requires(post): update-alternatives
-Requires(postun): update-alternatives
+Requires(postun):update-alternatives
 # name with _ automatically redirected by pypi to name with -
 Provides:       python-python_afl
-%if %{with test}
+# SECTION test requirements
 BuildRequires:  %{python_module nose}
+BuildRequires:  %{python_module pytest}
 BuildRequires:  afl >= 2
 BuildRequires:  procps
-%endif
+# /SECTION
 %python_subpackages
 
 %description
@@ -66,11 +66,9 @@
 %python_clone -a %{buildroot}%{_bindir}/py-afl-cmin
 %python_expand %fdupes %{buildroot}%{$python_sitearch}
 
-%if %{with test}
 %check
 rm tests/test_cmin.py tests/test_fuzz.py tests/test_showmap.py 
tests/test_tmin.py
-%python_exec setup.py test
-%endif
+%pytest_arch
 
 %post
 %python_install_alternative py-afl-tmin

Reply via email to