1 Star 0 Fork 16

liusheng/python-castellan

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
python-castellan.spec 2.29 KB
一键复制 编辑 原始数据 按行查看 历史
%global _empty_manifest_terminate_build 0
%{!?upstream_version: %global upstream_version %{version}%{?milestone}}
Name: python-castellan
Version: 3.6.0
Release: 3
Summary: Generic Key Manager interface for OpenStack
Group: Development/Languages
License: ASL 2.0
URL: http://git.openstack.org/cgit/openstack/castellan
Source0: https://tarballs.openstack.org/castellan/castellan-%{upstream_version}.tar.gz
BuildArch: noarch
BuildRequires: openstack-macros
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pbr
BuildRequires: python3-mock
BuildRequires: python3-testtools
BuildRequires: python3-oslo-config
BuildRequires: python3-oslo-log
BuildRequires: python3-oslo-utils
BuildRequires: python3-oslotest
BuildRequires: python3-barbicanclient
BuildRequires: python3-cryptography
BuildRequires: python3-keystoneauth1
BuildRequires: python3-requests
BuildRequires: python3-testrepository
%description
Generic Key Manager interface for OpenStack
%package -n python3-castellan
Summary: OpenStack common configuration library
%{?python_provide:%python_provide python3-castellan}
Requires: python3-barbicanclient >= 4.5.2
Requires: python3-cryptography
Requires: python3-keystoneauth1 >= 3.4.0
Requires: python3-oslo-config
Requires: python3-oslo-context >= 2.19.2
Requires: python3-oslo-i18n >= 3.15.3
Requires: python3-oslo-log >= 3.36.0
Requires: python3-oslo-utils >= 3.33.0
Requires: python3-stevedore >= 1.20.0
Requires: python3-pbr
Requires: python3-requests >= 2.18.0
%description -n python3-castellan
Generic Key Manager interface for OpenStack
%prep
%autosetup -n castellan-%{upstream_version} -p1
%py_req_cleanup
%build
python3 setup.py build
%install
python3 setup.py install --skip-build --root %{buildroot}
%check
PYTHON=python3 OS_TEST_PATH=./castellan/tests/unit python3 setup.py test
%files -n python3-castellan
%doc README.rst LICENSE
%{python3_sitelib}/castellan
%{python3_sitelib}/castellan-*.egg-info
%changelog
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 3.6.0-3
- DESC: delete -S git from %autosetup, and delete BuildRequires git
* Mon Nov 23 2020 Python_Bot <Python_Bot@openeuler.org>
- Package Spec generated
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/sean-lau/python-castellan.git
git@gitee.com:sean-lau/python-castellan.git
sean-lau
python-castellan
python-castellan
master

搜索帮助