Files
rpm-packaging/openstack/magnum-tempest-plugin/magnum-tempest-plugin.spec.j2
Dirk Mueller 2f19f80086 Adjust all the URLs to point to docs.openstack.org
We had a weird mix of non-existing URLs, and pointing to opendev.org
and to launchpad and other places. Lets put everything point the same
way under https://docs.openstack.org/$project, which redirects to the
newest documentation then automatically.

The other option would be to point to the project navigator, but that
doesn't have all othe components on the granularity that we package
here, and the urls are not stable (require a releases/$releasename
within), so that idea was discarded.

Change-Id: I0ccca433a5e5dbc1082c93d4c5f84ed3fcbed2fe
2020-10-21 14:15:14 +02:00

47 lines
1.4 KiB
Django/Jinja

{% set pypi_name = 'magnum-tempest-plugin' %}
{% set source = fetch_source('https://tarballs.openstack.org/magnum-tempest-plugin/magnum-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 magnum project
License: {{ license('Apache-2.0') }}
Group: Development/Languages/Python
URL: https://docs.openstack.org/{{ pypi_name }}
Source0: {{ source|basename }}
BuildRequires: openstack-macros
BuildRequires: {{ py3('pbr') }}
Requires: {{ py2pkg('tempest') }}
Requires: {{ py3('mock') }}
Requires: {{ py3('oslo.config') }}
Requires: {{ py3('oslo.serialization') }}
Requires: {{ py3('oslo.utils') }}
Requires: {{ py3('oslotest') }}
Requires: {{ py3('pbr') }}
Requires: {{ py3('six') }}
BuildArch: noarch
%description
This package contains Tempest tests to cover the magnum project.
Additionally it provides a plugin to automatically load these tests into Tempest.
%prep
%autosetup -p1 -n magnum_tempest_plugin-{{ upstream_version }}
%py_req_cleanup
%build
%{py3_build}
%install
%{py3_install}
%files
%license LICENSE
%doc README.rst
%{python3_sitelib}/*.egg-info
%{python3_sitelib}/magnum_tempest_plugin
%changelog