Name: bandit Version: 1.9.2 Release: %autorelease # Fill in the actual package summary to submit package to Fedora Summary: Security oriented static analyser for python code. License: Apache-2.0 URL: https://github.com/PyCQA/bandit Source: %{pypi_source bandit} BuildSystem: pyproject BuildOption(install): -l bandit BuildOption(generate_buildrequires): -x baseline,toml,yaml,test BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3dist(pytest) %global _description %{expand: This is package 'bandit' generated automatically by pyp2spec.} %description %_description %pyproject_extras_subpkg -n python3-bandit baseline,toml,yaml %prep -a sed -i 's/pylint==/pylint>=/' test-requirements.txt %files -f %{pyproject_files} %check %pytest -k 'not sarif' %changelog %autochangelog