init package

This commit is contained in:
kouwq 2021-07-05 15:26:46 +08:00
parent 1da89f950d
commit 431b8049cb
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