!3 Adds pydocstyle as requires and delete -S git

From: @huangtianhua
Reviewed-by: @xiyuanwang
Signed-off-by: @xiyuanwang
This commit is contained in:
openeuler-ci-bot 2021-08-11 02:14:53 +00:00 committed by Gitee
commit 57f4c584dd

View File

@ -1,9 +1,9 @@
%global _empty_manifest_terminate_build 0
Name: python-pylama
Version: 7.7.1
Release: 1
Release: 2
Summary: Code audit tool for python
License: GNU
License: LGPL-3.0
URL: https://pypi.org/project/pylama/
Source0: https://files.pythonhosted.org/packages/8a/89/082aa9378e382bd8132c3a8a3ef09af71e1c8f5c00cef211583e476ba4df/pylama-7.7.1.tar.gz
BuildArch: noarch
@ -19,6 +19,7 @@ BuildRequires: python3-setuptools
BuildRequires: python3-pbr
BuildRequires: python3-pip
BuildRequires: python3-wheel
Requires: python3-pydocstyle
%description -n python3-pylama
Code audit tool for Python and JavaScript.
@ -29,7 +30,7 @@ Provides: python3-pylama-doc
Code audit tool for Python and JavaScript.
%prep
%autosetup -n pylama-7.7.1 -S git
%autosetup -n pylama-%{version}
%build
%py3_build
@ -72,5 +73,8 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
* Tue Aug 10 2021 huangtianhua <huangtianhua@huawei.com> - 7.7.1-2
- Adds pydocstyle as requires and delete -S git
* Thu Jul 29 2021 OpenStack_SIG <openstack@openeuler.org> - 7.7.1-1
- Package Spec generate