Name: python-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. # Check if the automatically generated License and its spelling is correct for Fedora # https://docs.fedoraproject.org/en-US/packaging-guidelines/LicensingGuidelines/ License: Apache-2.0 URL: https://github.com/PyCQA/bandit Source: %{pypi_source bandit} BuildSystem: pyproject # Replace ... with top-level Python module names as arguments, you can use globs BuildOption(install): -l * # Keep only those extras which you actually want to package or use during tests # If you don't want to package any of them, erase the whole line BuildOption(generate_buildrequires): -x baseline,sarif,test,toml,yaml BuildArch: noarch BuildRequires: python3-devel # Fill in the actual package description to submit package to Fedora %global _description %{expand: This is package 'bandit' generated automatically by pyp2spec.} %description %_description %package -n python3-bandit Summary: %{summary} %description -n python3-bandit %_description # For official Fedora packages, review which extras should be actually packaged # See: https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#Extras %pyproject_extras_subpkg -n python3-bandit baseline,sarif,toml,yaml %files -n python3-bandit -f %{pyproject_files} %check %pytest %changelog %autochangelog