diff --git a/python-bandit.changes b/python-bandit.changes index 8610728..766231d 100644 --- a/python-bandit.changes +++ b/python-bandit.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Nov 14 15:05:01 UTC 2019 - Tomáš Chvátal + +- Skip out python2 build as the dependencies are unresolvable + ------------------------------------------------------------------- Wed Jul 24 10:13:14 UTC 2019 - pgajdos@suse.com diff --git a/python-bandit.spec b/python-bandit.spec index a2647bf..f5ab5f3 100644 --- a/python-bandit.spec +++ b/python-bandit.spec @@ -1,7 +1,7 @@ # # spec file for package python-bandit # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LLC. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,13 +19,15 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} # Tests require python-hacking, which isn't compatible with pycodestyle %bcond_without builddocs +# dependencies are no longer py2 compatible +%define skip_python2 1 Name: python-bandit Version: 1.6.2 Release: 0 Summary: Security oriented static analyser for Python code License: Apache-2.0 Group: Development/Languages/Python -Url: https://github.com/PyCQA/bandit +URL: https://github.com/PyCQA/bandit Source: https://files.pythonhosted.org/packages/source/b/bandit/bandit-%{version}.tar.gz Patch0: remove-non-test-deps.patch BuildRequires: %{python_module GitPython >= 1.0.1}