Hello community,

here is the log from the commit of package python-exam for openSUSE:Factory 
checked in at 2020-08-25 12:37:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-exam (Old)
 and      /work/SRC/openSUSE:Factory/.python-exam.new.3399 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-exam"

Tue Aug 25 12:37:00 2020 rev:4 rq:826992 version:0.10.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-exam/python-exam.changes  2020-03-27 
00:30:25.080412432 +0100
+++ /work/SRC/openSUSE:Factory/.python-exam.new.3399/python-exam.changes        
2020-08-25 12:37:02.049384662 +0200
@@ -1,0 +2,7 @@
+Fri Aug 14 13:06:42 UTC 2020 - John Vandenberg <[email protected]>
+
+- Add LICENSE
+- Remove unnecessary %bcond_without test
+- Add testing under pytest
+
+-------------------------------------------------------------------

New:
----
  LICENSE

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

Other differences:
------------------
++++++ python-exam.spec ++++++
--- /var/tmp/diff_new_pack.Y4Fdwi/_old  2020-08-25 12:37:02.665384965 +0200
+++ /var/tmp/diff_new_pack.Y4Fdwi/_new  2020-08-25 12:37:02.669384968 +0200
@@ -17,7 +17,6 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%bcond_without test
 Name:           python-exam
 Version:        0.10.6
 Release:        0
@@ -26,13 +25,13 @@
 Group:          Development/Languages/Python
 URL:            https://github.com/fluxx/exam
 Source:         
https://files.pythonhosted.org/packages/source/e/exam/exam-%{version}.tar.gz
+Source1:        https://raw.githubusercontent.com/Fluxx/exam/master/LICENSE
 # https://github.com/Fluxx/exam/pull/50
 Patch0:         remove_nose.patch
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  python-rpm-macros
-%if %{with test}
 BuildRequires:  %{python_module mock}
-%endif
+BuildRequires:  %{python_module pytest}
 BuildRequires:  fdupes
 %ifpython2
 Requires:       python-mock
@@ -52,6 +51,7 @@
 %prep
 %setup -q -n exam-%{version}
 %patch0 -p1
+cp %{SOURCE1} .
 
 %build
 %python_build
@@ -60,14 +60,13 @@
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
-%if %{with test}
 %check
 %python_exec -m unittest discover -s tests/ -v
-%endif
+%pytest
 
 %files %{python_files}
-%defattr(-,root,root,-)
 %doc README.rst
+%license LICENSE
 %{python_sitelib}/*
 
 %changelog

++++++ LICENSE ++++++
Copyright © 2012 Jeff Pollard

Permission is hereby granted, free of charge, to any person obtaining a copy of 
this software and associated documentation files (the “Software”), to deal in 
the Software without restriction, including without limitation the rights to 
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies 
of the Software, and to permit persons to whom the Software is furnished to do 
so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all 
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 
SOFTWARE.

Reply via email to