Files
rpm-packaging/openstack/manila-tempest-plugin/manila-tempest-plugin.spec.j2
Dirk Mueller a9a20e2805 Mechanically replace all git.openstack.org urls with opendev.org
Change-Id: Ife8065985fe8454e6e3e63e05692ab3557f4f693
2020-10-13 15:04:45 +02:00

43 lines
1.2 KiB
Django/Jinja

{% set pypi_name = 'manila-tempest-plugin' %}
{% set rpm_release = '1' %}
{% set source=fetch_source('https://tarballs.openstack.org/manila-tempest-plugin/manila-tempest-plugin-master.tar.gz') %}
{% set upstream_version = upstream_version() %}
Name: {{ py2name(py_versions='py3') }}
Version: {{ py2rpmversion() }}
Release: {{ py2rpmrelease() }}
Summary: Tempest plugin for the manila project
License: {{ license('Apache-2.0') }}
Group: Development/Languages/Python
URL: https://opendev.org/openstack/{{ pypi_name }}
Source0: {{ source|basename }}
BuildRequires: openstack-macros
BuildRequires: {{ py3('pbr') }}
Requires: {{ py2pkg('tempest') }}
Requires: {{ py3('ddt') }}
Requires: {{ py3('dnspython') }}
Requires: {{ py3('testtools') }}
BuildArch: noarch
%description
This package contains Tempest tests to cover the manila 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}/manila_tempest_tests
%{python3_sitelib}/*.egg-info
%changelog