diff --git a/bandit-1.7.0.tar.gz b/bandit-1.7.0.tar.gz deleted file mode 100644 index 5f31711b603a5f9a10dc4ab63f9e71f90ade8c8b..0000000000000000000000000000000000000000 Binary files a/bandit-1.7.0.tar.gz and /dev/null differ diff --git a/bandit-1.7.4.tar.gz b/bandit-1.7.4.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..2ffd22f6c72296bf373b18e1f308e1ddd5d2814d Binary files /dev/null and b/bandit-1.7.4.tar.gz differ diff --git a/python-bandit.spec b/python-bandit.spec index d32fe2c3dc9b95eef7452fc9332d9c34c6830277..56a840a789b89aab4e9681c19b69bc4ffff291f8 100644 --- a/python-bandit.spec +++ b/python-bandit.spec @@ -1,21 +1,16 @@ %global _empty_manifest_terminate_build 0 Name: python-bandit -Version: 1.7.0 -Release: 2 +Version: 1.7.4 +Release: 1 Summary: Security oriented static analyser for python code. License: Apache-2.0 -URL: https://bandit.readthedocs.io/en/latest/ -Source0: https://files.pythonhosted.org/packages/6c/a1/14b70b67ea9c69e863dd65386bbc948ae34a502512d6f36e2a5a9fd5513b/bandit-1.7.0.tar.gz +URL: https://github.com/PyCQA/bandit +Source0: https://files.pythonhosted.org/packages/39/36/a37a2f6f8d0ed8c3bc616616ed5019e1df2680bd8b7df49ceae80fd457de/bandit-1.7.4.tar.gz BuildArch: noarch %description 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 Summary: Security oriented static analyser for python code. @@ -26,22 +21,12 @@ BuildRequires: python3-pip BuildRequires: python3-setuptools %description -n python3-bandit 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 Summary: Development documents and examples for bandit Provides: python3-bandit-doc %description help 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 %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 pushd %{buildroot} 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 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 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 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 touch doclist.lst 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 popd mv %{buildroot}/filelist.lst . @@ -84,6 +69,9 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Sat Oct 08 2022 guozhengxin - 1.7.4-1 +- Upgrade package to version 1.7.4 + * Sat Jul 31 2021 huangtianhua - 1.7.0-2 - Adds pbr/pip as buildrequires * Wed Feb 03 2021 liusheng