diff --git a/inspektor-0.4.5.tar.gz b/inspektor-0.4.5.tar.gz deleted file mode 100644 index c483bb9..0000000 --- a/inspektor-0.4.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7d21f51abd4311fb58faff3cd6915866eaef7f43d84b2b4bfc67bf28e7e3a068 -size 30836 diff --git a/inspektor-0.5.1.tar.gz b/inspektor-0.5.1.tar.gz new file mode 100644 index 0000000..cf42d1b --- /dev/null +++ b/inspektor-0.5.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:eb877e3fb9302797e6b226a5e10a0a12499d27ceb6421ec8dd354f0b2e6f25d3 +size 31226 diff --git a/python-inspektor.changes b/python-inspektor.changes index 464e978..26b3acc 100644 --- a/python-inspektor.changes +++ b/python-inspektor.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Jul 27 11:20:41 UTC 2018 - mpluskal@suse.com + +- Update to version 0.5.1: + * No changelog available + ------------------------------------------------------------------- Sun Oct 8 09:16:01 UTC 2017 - jengelh@inai.de diff --git a/python-inspektor.spec b/python-inspektor.spec index 0d124a6..1fd2128 100644 --- a/python-inspektor.spec +++ b/python-inspektor.spec @@ -1,7 +1,7 @@ # -# spec file for package python +# spec file for package python-inspektor # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -19,26 +19,33 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %global pkgname inspektor Name: python-%{pkgname} -Version: 0.4.5 +Version: 0.5.1 Release: 0 Summary: Program used to verify the code of your python project -License: GPL-2.0 +License: GPL-2.0-only Group: Development/Languages/Python -Url: https://github.com/avocado-framework/inspektor +URL: https://github.com/avocado-framework/inspektor Source: https://github.com/avocado-framework/inspektor/archive/%{version}.tar.gz#/%{pkgname}-%{version}.tar.gz -BuildRequires: %{python_module base} +BuildRequires: %{python_module astroid} >= 1.2.1 +BuildRequires: %{python_module cliff} +BuildRequires: %{python_module cmd2} BuildRequires: %{python_module devel} -BuildRequires: %{python_module logutils} -BuildRequires: %{python_module pep8} -BuildRequires: %{python_module pylint} +BuildRequires: %{python_module logutils} >= 0.3.3 +BuildRequires: %{python_module pbr} >= 1.4 +BuildRequires: %{python_module pycodestyle} >= 2.0.0 +BuildRequires: %{python_module pylint} >= 1.3.1 BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module six} +BuildRequires: %{python_module stevedore} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-logutils -Requires: python-pep8 -Requires: python-pylint -Requires: python-six +Requires: python-astroid >= 1.2.1 +Requires: python-cliff +Requires: python-cmd2 +Requires: python-logutils >= 0.3.3 +Requires: python-pbr >= 1.4 +Requires: python-pycodestyle >= 2.0.0 +Requires: python-pylint >= 1.3.1 +Requires: python-stevedore Requires(post): update-alternatives Requires(postun): update-alternatives BuildArch: noarch @@ -57,6 +64,9 @@ Inspektor can work with Git and SVN checkouts. %build %python_build +%check +%python_exec setup.py test + %install %python_install %python_clone -a %{buildroot}%{_bindir}/inspekt @@ -69,7 +79,8 @@ Inspektor can work with Git and SVN checkouts. %python_uninstall_alternative inspekt %files %{python_files} -%doc LICENSE README.rst +%license LICENSE +%doc README.rst %python_alternative %{_bindir}/inspekt %{python_sitelib}/*