45 lines
1.3 KiB
Django/Jinja
45 lines
1.3 KiB
Django/Jinja
{% set pypi_name = 'cinder-tempest-plugin' %}
|
|
{% set source=fetch_source('https://tarballs.openstack.org/cinder-tempest-plugin/cinder-tempest-plugin-master.tar.gz') %}
|
|
{% set upstream_version = upstream_version() %}
|
|
{% set rpm_release = '1' %}
|
|
|
|
Name: {{ py2name(py_versions='py3') }}
|
|
Version: {{ py2rpmversion() }}
|
|
Release: {{ py2rpmrelease() }}
|
|
Summary: Tempest plugin for the cinder project
|
|
License: {{ license('Apache-2.0') }}
|
|
Group: Development/Languages/Python
|
|
URL: https://git.openstack.org/cgit/openstack/{{ pypi_name }}
|
|
Source0: {{ source|basename }}
|
|
BuildRequires: openstack-macros
|
|
BuildRequires: {{ py3('pbr') }}
|
|
Requires: {{ py2pkg('tempest') }}
|
|
Requires: {{ py3('oslo.config') }}
|
|
Requires: {{ py3('oslo.serialization') }}
|
|
Requires: {{ py3('pbr') }}
|
|
Requires: {{ py3('six') }}
|
|
Requires: {{ py3('testtools') }}
|
|
BuildArch: noarch
|
|
|
|
%description
|
|
This package contains Tempest tests to cover the cinder project.
|
|
Additionally it provides a plugin to automatically load these tests into Tempest.
|
|
|
|
%prep
|
|
%autosetup -p1 -n {{ pypi_name }}-{{ upstream_version }}
|
|
%py_req_cleanup
|
|
|
|
%build
|
|
%{py3_build}
|
|
|
|
%install
|
|
%{py3_install}
|
|
|
|
%files
|
|
%license LICENSE
|
|
%doc README.rst
|
|
%{python3_sitelib}/cinder_tempest_plugin
|
|
%{python3_sitelib}/*.egg-info
|
|
|
|
%changelog
|