81 lines
2.4 KiB
RPMSpec
81 lines
2.4 KiB
RPMSpec
%global _empty_manifest_terminate_build 0
|
|
|
|
%{!?upstream_version: %global upstream_version %{version}%{?milestone}}
|
|
|
|
Name: python-castellan
|
|
Version: 3.7.1
|
|
Release: 1
|
|
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
|
|
* Mon Aug 02 2021 liusheng <liusheng2048@gmail.com> - 3.7.1-1
|
|
- Upgrade version to 3.7.1
|
|
|
|
* 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
|