Hello community,

here is the log from the commit of package python-scspell3k for 
openSUSE:Factory checked in at 2020-04-23 18:39:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-scspell3k (Old)
 and      /work/SRC/openSUSE:Factory/.python-scspell3k.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-scspell3k"

Thu Apr 23 18:39:12 2020 rev:4 rq:796523 version:2.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-scspell3k/python-scspell3k.changes        
2019-02-25 17:53:17.482531768 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-scspell3k.new.2738/python-scspell3k.changes  
    2020-04-23 18:39:13.201095829 +0200
@@ -1,0 +2,5 @@
+Thu Apr 23 11:53:52 UTC 2020 - Tomáš Chvátal <[email protected]>
+
+- Make sure the tests do not execute python2
+
+-------------------------------------------------------------------

Old:
----
  scspell3k-2.2.tar.gz

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

Other differences:
------------------
++++++ python-scspell3k.spec ++++++
--- /var/tmp/diff_new_pack.uMl2Xw/_old  2020-04-23 18:39:13.757096893 +0200
+++ /var/tmp/diff_new_pack.uMl2Xw/_new  2020-04-23 18:39:13.761096900 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-scspell3k
 #
-# 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
@@ -22,10 +22,8 @@
 Release:        0
 Summary:        A conservative interactive spell checker for source code
 License:        GPL-2.0-only
-Group:          Development/Languages/Python
 URL:            https://github.com/myint/scspell
-Source:         
https://files.pythonhosted.org/packages/source/s/scspell3k/scspell3k-%{version}.tar.gz
-Source1:        https://github.com/myint/scspell/archive/v%{version}.tar.gz
+Source0:        https://github.com/myint/scspell/archive/v%{version}.tar.gz
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
@@ -71,8 +69,7 @@
        are not likely to be found in more than a handful of unique files.
 
 %prep
-%setup -q -n scspell3k-%{version}
-tar --wildcards --strip-components=1 -xzf %{SOURCE1} scspell-%{version}/test*
+%setup -q -n scspell-%{version}
 
 %build
 %python_build
@@ -82,7 +79,8 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-%python_exec -m pytest
+%pytest
+sed -i -e 's:python $TESTDIR:python3 $TESTDIR:g' ./test.cram
 python3 -m cram --indent=4 ./test.cram
 
 %files %{python_files}


Reply via email to