diff --git a/hvac-0.10.7.tar.gz b/hvac-0.10.7.tar.gz new file mode 100644 index 0000000..822f92e Binary files /dev/null and b/hvac-0.10.7.tar.gz differ diff --git a/python-hvac.spec b/python-hvac.spec new file mode 100644 index 0000000..8d68adb --- /dev/null +++ b/python-hvac.spec @@ -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 - 0.10.7-1 +- Init package