Group :: Development/Python3
RPM: python3-module-bandit
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define modulename bandit
Name: python3-module-%modulename
Version: 1.7.5
Release: alt1
Summary: Bandit is a tool designed to find common security issues in Python code.
License: Apache-2.0
Group: Development/Python3
URL: https://github.com/PyCQA/bandit
Packager: Grigory Ustinov <grenka at altlinux.org>
Source: %name-%version.tar
Requires: python3-module-yaml
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-pbr
BuildArch: noarch
%description
Bandit is a tool designed to find common security issues in Python code.
To do this Bandit processes each file, builds an AST from it, and runs
appropriate plugins against the AST nodes. Once Bandit has finished scanning
all the files it generates a report.
Bandit was originally developed within the OpenStack Security Project and later
rehomed to PyCQA.
%prep
%setup
%build
export PBR_VERSION=%version
%python3_build
%install
export PBR_VERSION=%version
%python3_install
%files
%_bindir/bandit
%_bindir/bandit-baseline
%_bindir/bandit-config-generator
%python3_sitelibdir/%modulename
%python3_sitelibdir/%modulename-%version-py%_python3_version.egg-info
%doc LICENSE *.rst *.md
%changelog
…
Todas as alterações você pod ver aqui
Name: python3-module-%modulename
Version: 1.7.5
Release: alt1
Summary: Bandit is a tool designed to find common security issues in Python code.
License: Apache-2.0
Group: Development/Python3
URL: https://github.com/PyCQA/bandit
Packager: Grigory Ustinov <grenka at altlinux.org>
Source: %name-%version.tar
Requires: python3-module-yaml
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-pbr
BuildArch: noarch
%description
Bandit is a tool designed to find common security issues in Python code.
To do this Bandit processes each file, builds an AST from it, and runs
appropriate plugins against the AST nodes. Once Bandit has finished scanning
all the files it generates a report.
Bandit was originally developed within the OpenStack Security Project and later
rehomed to PyCQA.
%prep
%setup
%build
export PBR_VERSION=%version
%python3_build
%install
export PBR_VERSION=%version
%python3_install
%files
%_bindir/bandit
%_bindir/bandit-baseline
%_bindir/bandit-config-generator
%python3_sitelibdir/%modulename
%python3_sitelibdir/%modulename-%version-py%_python3_version.egg-info
%doc LICENSE *.rst *.md
%changelog
…
Todas as alterações você pod ver aqui