Add the vmware-nsx-tempest-plugin package
Change-Id: I2c9377273d983538d965a403103648d1d1afadb5
This commit is contained in:
parent
b98eb7740b
commit
6256280a0c
@ -0,0 +1,43 @@
|
|||||||
|
{% set pypi_name = 'vmware-nsx-tempest-plugin' %}
|
||||||
|
{% set rpm_release = '1' %}
|
||||||
|
{% set source=fetch_source('https://tarballs.openstack.org/vmware-nsx-tempest-plugin/vmware-nsx-tempest-plugin-master.tar.gz') %}
|
||||||
|
{% set upstream_version = upstream_version() %}
|
||||||
|
|
||||||
|
Name: {{ py2name(py_versions='py3') }}
|
||||||
|
Version: {{ py2rpmversion() }}
|
||||||
|
Release: {{ py2rpmrelease() }}
|
||||||
|
Summary: Tempest plugin for the vmware-nsx project
|
||||||
|
License: {{ license('Apache-2.0') }}
|
||||||
|
Group: Development/Languages/Python
|
||||||
|
URL: https://opendev.org/x/{{ pypi_name }}
|
||||||
|
Source0: {{ source|basename }}
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: openstack-macros
|
||||||
|
BuildRequires: {{ py3('pbr') }}
|
||||||
|
Requires: {{ py2pkg('tempest') }}
|
||||||
|
Requires: {{ py3('neutron-lib') }}
|
||||||
|
Requires: {{ py3('pbr') }}
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description
|
||||||
|
This package contains Tempest tests to cover the vmware-nsx 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}
|
||||||
|
%fdupes %{buildroot}%{python3_sitelib}
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license LICENSE
|
||||||
|
%doc README.rst
|
||||||
|
%{python3_sitelib}/vmware_nsx_tempest_plugin
|
||||||
|
%{python3_sitelib}/*.egg-info
|
||||||
|
|
||||||
|
%changelog
|
Loading…
Reference in New Issue
Block a user