!1 python-hvac 包初始化 0.10.7

From: @kouwq
Reviewed-by: @disnight,@myeuler
Signed-off-by: @myeuler
This commit is contained in:
openeuler-ci-bot 2021-07-07 15:03:52 +00:00 committed by Gitee
commit 846e3a61f0
2 changed files with 41 additions and 0 deletions

BIN
hvac-0.10.7.tar.gz Normal file

Binary file not shown.

41
python-hvac.spec Normal file
View File

@ -0,0 +1,41 @@
Name: python-hvac
Version: 0.10.7
Release: 1
Summary: HashiCorp Vault API client for Python
License: ASL 2.0
URL: https://github.com/hvac/hvac
Source0: %{url}/archive/v%{version}/hvac-%{version}.tar.gz
BuildArch: noarch
%description
This package provides a Python API client for HashiCorp Vault.
%package -n python3-hvac
Summary: HashiCorp Vault API client for Python
%{?python_provide:%python_provide python3-hvac}
BuildRequires: python3-devel
BuildRequires: python3dist(setuptools)
Recommends: python%{python3_version}dist(pyhcl) >= 0.3.10
%description -n python3-hvac
This package provides a Python API client for HashiCorp Vault.
%prep
%autosetup -n hvac-%{version}
%build
%py3_build
%install
%py3_install
%files -n python3-hvac
%doc README.md
%license LICENSE.txt
%{python3_sitelib}/hvac/
%{python3_sitelib}/hvac-*.egg-info/
%changelog
* Mon Jul 05 2021 Kou Wenqi <kouwenqi@kylinos.cn> - 0.10.7-1
- Init package