Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-smartypants for openSUSE:Factory checked in at 2021-09-11 22:24:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-smartypants (Old) and /work/SRC/openSUSE:Factory/.python-smartypants.new.1899 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-smartypants" Sat Sep 11 22:24:23 2021 rev:5 rq:917714 version:2.0.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-smartypants/python-smartypants.changes 2019-05-08 15:17:43.645157106 +0200 +++ /work/SRC/openSUSE:Factory/.python-smartypants.new.1899/python-smartypants.changes 2021-09-11 22:24:49.567404093 +0200 @@ -1,0 +2,6 @@ +Wed Sep 8 10:03:32 UTC 2021 - [email protected] + +- %check: use %pyunittest rpm macro +- use python3 instead of python in env + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-smartypants.spec ++++++ --- /var/tmp/diff_new_pack.HkkEPq/_old 2021-09-11 22:24:50.035404554 +0200 +++ /var/tmp/diff_new_pack.HkkEPq/_new 2021-09-11 22:24:50.039404558 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-smartypants # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# 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 @@ -23,7 +23,7 @@ Summary: Python fork of perl SmartyPants License: BSD-3-Clause Group: Development/Languages/Python -Url: https://github.com/leohemsted/smartypants.py +URL: https://github.com/leohemsted/smartypants.py Source: https://github.com/leohemsted/smartypants.py/archive/v%{version}.tar.gz#/smartypants-%{version}.tar.gz BuildRequires: %{python_module docutils} BuildRequires: %{python_module pygments} @@ -31,7 +31,7 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires(postun):update-alternatives BuildArch: noarch %python_subpackages @@ -46,6 +46,7 @@ %build %python_build +sed -i 's:python:python3:' setup.py smartypants tests/*.py %install %python_install @@ -61,7 +62,7 @@ %python_uninstall_alternative smartypants %check -%python_exec setup.py test +%pyunittest discover -v tests %files %{python_files} %license COPYING
