Add the networking-l2gw-tempest-plugin package
Change-Id: Ic3c4afcb88f51975c12b3e3945d8301bb070fc0a
This commit is contained in:
@@ -0,0 +1,48 @@
|
||||
{% set pypi_name = 'networking-l2gw-tempest-plugin' %}
|
||||
{% set source=fetch_source('https://tarballs.openstack.org/networking-l2gw-tempest-plugin/networking-l2gw-tempest-plugin-master.tar.gz') %}
|
||||
{% set upstream_version = upstream_version() %}
|
||||
{% set rpm_release = '0' %}
|
||||
|
||||
%global common_desc \
|
||||
This package contains Tempest tests to cover the networking-l2gw project. \
|
||||
Additionally it provides a plugin to automatically load these tests into Tempest.
|
||||
Name: {{ py2name(py_versions='py3') }}
|
||||
Version: {{ py2rpmversion() }}
|
||||
Release: {{ py2rpmrelease() }}
|
||||
Summary: Tempest plugin for the networking-l2gw project
|
||||
License: {{ license('Apache-2.0') }}
|
||||
Group: Development/Languages/Python
|
||||
URL: https://opendev.org/openstack/{{ pypi_name }}
|
||||
Source0: {{ source|basename }}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: openstack-macros
|
||||
BuildRequires: {{ py3('pbr') }}
|
||||
Requires: {{ py2pkg('tempest') }}
|
||||
Requires: {{ py3('Babel') }}
|
||||
Requires: {{ py3('neutron-lib') }}
|
||||
Requires: {{ py3('python-neutronclient') }}
|
||||
Requires: {{ py3('ovsdbapp') }}
|
||||
Requires: {{ py3('pbr') }}
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
%{common_desc}
|
||||
|
||||
%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}/networking_l2gw_tempest_plugin
|
||||
%{python3_sitelib}/*.egg-info
|
||||
|
||||
%changelog
|
Reference in New Issue
Block a user