diff --git a/python-unify.changes b/python-unify.changes index 9ca6f93..721e792 100644 --- a/python-unify.changes +++ b/python-unify.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jun 3 11:36:19 UTC 2019 - pgajdos@suse.com + +- run the testsuite, call spec-cleaner + ------------------------------------------------------------------- Tue Dec 4 12:55:36 UTC 2018 - Matej Cepl diff --git a/python-unify.spec b/python-unify.spec index c1ed5de..e70dfb9 100644 --- a/python-unify.spec +++ b/python-unify.spec @@ -1,7 +1,7 @@ # # spec file for package python-unify # -# 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,18 +23,19 @@ Release: 0 Summary: Tool to modify strings to use the same quotes License: MIT Group: Development/Languages/Python -Url: https://github.com/myint/unify -Source: https://files.pythonhosted.org/packages/source/u/unify/unify-%{version}.tar.gz +URL: https://github.com/myint/unify +Source: https://github.com/myint/unify/archive/v%{version}.tar.gz Source9: README.suse BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -# SECTION test requirements -BuildRequires: %{python_module untokenize} -# /SECTION Requires: python-untokenize BuildArch: noarch - +# SECTION test requirements +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module untokenize} +# /SECTION +Requires: python-setuptools %python_subpackages %description @@ -51,6 +52,9 @@ cp %{SOURCE9} . %build %python_build +%check +%pytest + %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} diff --git a/unify-0.4.tar.gz b/unify-0.4.tar.gz deleted file mode 100644 index 19a40bc..0000000 --- a/unify-0.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:eec763bf72cdbc55543924f8ff4a4f4985cdd8e358447ac59d2140972eb1165d -size 4218 diff --git a/v0.4.tar.gz b/v0.4.tar.gz new file mode 100644 index 0000000..f85fdce --- /dev/null +++ b/v0.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:478e84ea77aa9891555e8e4329bb33c0468e5038f4bd7eddcd092770de12b96e +size 5607