Hello community,
here is the log from the commit of package python-unidiff for
openSUSE:Leap:15.2 checked in at 2020-03-02 13:24:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-unidiff (Old)
and /work/SRC/openSUSE:Leap:15.2/.python-unidiff.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-unidiff"
Mon Mar 2 13:24:26 2020 rev:4 rq:777250 version:0.5.5
Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-unidiff/python-unidiff.changes
2020-01-15 15:53:59.935617010 +0100
+++
/work/SRC/openSUSE:Leap:15.2/.python-unidiff.new.26092/python-unidiff.changes
2020-03-02 13:24:27.206529121 +0100
@@ -1,0 +2,5 @@
+Mon Jun 3 11:23:41 UTC 2019 - [email protected]
+
+- run the testsuite, call spec-cleaner
+
+-------------------------------------------------------------------
Old:
----
unidiff-0.5.5.tar.gz
New:
----
v0.5.5.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-unidiff.spec ++++++
--- /var/tmp/diff_new_pack.MnXFc1/_old 2020-03-02 13:24:27.534529774 +0100
+++ /var/tmp/diff_new_pack.MnXFc1/_new 2020-03-02 13:24:27.538529781 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-unidiff
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -23,20 +23,22 @@
Summary: Unified diff parsing/metadata extraction library
License: MIT
Group: Development/Languages/Python
-Url: http://github.com/matiasb/python-unidiff
-Source:
https://files.pythonhosted.org/packages/source/u/unidiff/unidiff-%{version}.tar.gz
+URL: http://github.com/matiasb/python-unidiff
+Source:
https://github.com/matiasb/python-unidiff/archive/v%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
-
+# SECTION test requirements
+BuildRequires: %{python_module pytest}
+# /SECTION
%python_subpackages
%description
Python library to parse and interact with unified diff data.
%prep
-%setup -q -n unidiff-%{version}
+%setup -q -n python-unidiff-%{version}
%build
%python_build
@@ -45,8 +47,10 @@
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
+%check
+%pytest
+
%files %{python_files}
-%defattr(-,root,root,-)
%doc HISTORY README.rst
%license LICENSE
%python3_only %{_bindir}/unidiff