Upgrade package to version 1.7.4
This commit is contained in:
parent
5e255527ca
commit
5851de83e0
Binary file not shown.
BIN
bandit-1.7.4.tar.gz
Normal file
BIN
bandit-1.7.4.tar.gz
Normal file
Binary file not shown.
@ -1,21 +1,16 @@
|
|||||||
%global _empty_manifest_terminate_build 0
|
%global _empty_manifest_terminate_build 0
|
||||||
Name: python-bandit
|
Name: python-bandit
|
||||||
Version: 1.7.0
|
Version: 1.7.4
|
||||||
Release: 2
|
Release: 1
|
||||||
Summary: Security oriented static analyser for python code.
|
Summary: Security oriented static analyser for python code.
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
URL: https://bandit.readthedocs.io/en/latest/
|
URL: https://github.com/PyCQA/bandit
|
||||||
Source0: https://files.pythonhosted.org/packages/6c/a1/14b70b67ea9c69e863dd65386bbc948ae34a502512d6f36e2a5a9fd5513b/bandit-1.7.0.tar.gz
|
Source0: https://files.pythonhosted.org/packages/39/36/a37a2f6f8d0ed8c3bc616616ed5019e1df2680bd8b7df49ceae80fd457de/bandit-1.7.4.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
A security linter from PyCQA
|
A security linter from PyCQA
|
||||||
* Free software: Apache license
|
|
||||||
* Documentation: https://bandit.readthedocs.io/en/latest/
|
|
||||||
* Source: https://github.com/PyCQA/bandit
|
|
||||||
* Bugs: https://github.com/PyCQA/bandit/issues
|
|
||||||
* Contributing: https://github.com/PyCQA/bandit/blob/master/CONTRIBUTING.md
|
|
||||||
|
|
||||||
%package -n python3-bandit
|
%package -n python3-bandit
|
||||||
Summary: Security oriented static analyser for python code.
|
Summary: Security oriented static analyser for python code.
|
||||||
@ -26,22 +21,12 @@ BuildRequires: python3-pip
|
|||||||
BuildRequires: python3-setuptools
|
BuildRequires: python3-setuptools
|
||||||
%description -n python3-bandit
|
%description -n python3-bandit
|
||||||
A security linter from PyCQA
|
A security linter from PyCQA
|
||||||
* Free software: Apache license
|
|
||||||
* Documentation: https://bandit.readthedocs.io/en/latest/
|
|
||||||
* Source: https://github.com/PyCQA/bandit
|
|
||||||
* Bugs: https://github.com/PyCQA/bandit/issues
|
|
||||||
* Contributing: https://github.com/PyCQA/bandit/blob/master/CONTRIBUTING.md
|
|
||||||
|
|
||||||
%package help
|
%package help
|
||||||
Summary: Development documents and examples for bandit
|
Summary: Development documents and examples for bandit
|
||||||
Provides: python3-bandit-doc
|
Provides: python3-bandit-doc
|
||||||
%description help
|
%description help
|
||||||
A security linter from PyCQA
|
A security linter from PyCQA
|
||||||
* Free software: Apache license
|
|
||||||
* Documentation: https://bandit.readthedocs.io/en/latest/
|
|
||||||
* Source: https://github.com/PyCQA/bandit
|
|
||||||
* Bugs: https://github.com/PyCQA/bandit/issues
|
|
||||||
* Contributing: https://github.com/PyCQA/bandit/blob/master/CONTRIBUTING.md
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n bandit-%{version}
|
%autosetup -n bandit-%{version}
|
||||||
@ -58,20 +43,20 @@ if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
|
|||||||
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
|
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
|
||||||
pushd %{buildroot}
|
pushd %{buildroot}
|
||||||
if [ -d usr/lib ]; then
|
if [ -d usr/lib ]; then
|
||||||
find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
|
find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
|
||||||
fi
|
fi
|
||||||
if [ -d usr/lib64 ]; then
|
if [ -d usr/lib64 ]; then
|
||||||
find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
|
find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
|
||||||
fi
|
fi
|
||||||
if [ -d usr/bin ]; then
|
if [ -d usr/bin ]; then
|
||||||
find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
|
find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
|
||||||
fi
|
fi
|
||||||
if [ -d usr/sbin ]; then
|
if [ -d usr/sbin ]; then
|
||||||
find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
|
find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
|
||||||
fi
|
fi
|
||||||
touch doclist.lst
|
touch doclist.lst
|
||||||
if [ -d usr/share/man ]; then
|
if [ -d usr/share/man ]; then
|
||||||
find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
|
find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
|
||||||
fi
|
fi
|
||||||
popd
|
popd
|
||||||
mv %{buildroot}/filelist.lst .
|
mv %{buildroot}/filelist.lst .
|
||||||
@ -84,6 +69,9 @@ mv %{buildroot}/doclist.lst .
|
|||||||
%{_docdir}/*
|
%{_docdir}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Oct 08 2022 guozhengxin <guozhengxin@kylinos.cn> - 1.7.4-1
|
||||||
|
- Upgrade package to version 1.7.4
|
||||||
|
|
||||||
* Sat Jul 31 2021 huangtianhua <huangtianhua@huawei.com> - 1.7.0-2
|
* Sat Jul 31 2021 huangtianhua <huangtianhua@huawei.com> - 1.7.0-2
|
||||||
- Adds pbr/pip as buildrequires
|
- Adds pbr/pip as buildrequires
|
||||||
* Wed Feb 03 2021 liusheng <liusheng2048@gmail.com>
|
* Wed Feb 03 2021 liusheng <liusheng2048@gmail.com>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user