42 lines
1004 B
RPMSpec
42 lines
1004 B
RPMSpec
|
|
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
|