!2 Change spec: Add BuildRequires for python-hacking

From: @zhangy1317
Reviewed-by: @joec88
Signed-off-by: @joec88
This commit is contained in:
openeuler-ci-bot 2021-01-30 17:23:15 +08:00 committed by Gitee
commit 36e1ec39b1

View File

@ -1,9 +1,9 @@
%global _empty_manifest_terminate_build 0
Name: python-hacking
Version: 4.0.0
Release: 1
Release: 2
Summary: OpenStack Hacking Guideline Enforcement
License: Apache Software License
License: Apache-2.0
URL: https://docs.openstack.org/hacking/latest/
Source0: https://files.pythonhosted.org/packages/cd/6a/c4885e716d6a9f2263be3c541937d0a8a1bcc6e19cb3e35af8b960f70380/hacking-4.0.0.tar.gz
BuildArch: noarch
@ -32,6 +32,8 @@ Summary: OpenStack Hacking Guideline Enforcement
Provides: python-hacking
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pip
BuildRequires: python3-pbr
%description -n python3-hacking
hacking is a set of flake8 plugins that test and enforce the
`OpenStack StyleGuide <https://docs.openstack.org/hacking/latest/user/hacking.html#styleguide>`_
@ -90,5 +92,7 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
* Sat Jan 30 2021 zhangy <zhangy1317@foxmail.com>
- Add buildrequires
* Fri Nov 20 2020 Python_Bot <Python_Bot@openeuler.org>
- Package Spec generated