diff --git a/python-unidiff.changes b/python-unidiff.changes index 2c1d4a3..96bedca 100644 --- a/python-unidiff.changes +++ b/python-unidiff.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jun 3 11:23:41 UTC 2019 - pgajdos@suse.com + +- run the testsuite, call spec-cleaner + ------------------------------------------------------------------- Tue Dec 4 12:55:35 UTC 2018 - Matej Cepl diff --git a/python-unidiff.spec b/python-unidiff.spec index d85f76d..841e374 100644 --- a/python-unidiff.spec +++ b/python-unidiff.spec @@ -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 @@ Release: 0 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 library to parse and interact with unified diff data. %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 diff --git a/unidiff-0.5.5.tar.gz b/unidiff-0.5.5.tar.gz deleted file mode 100644 index f10654e..0000000 --- a/unidiff-0.5.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9c9ab5fb96b6988b4cd5def6b275492442c04a570900d33aa6373105780025bc -size 12376 diff --git a/v0.5.5.tar.gz b/v0.5.5.tar.gz new file mode 100644 index 0000000..2e36fec --- /dev/null +++ b/v0.5.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5d351e402191b10e6b5164e6ce40b683f5f63eaedccc9a17d3ed47bbe3873634 +size 13510