Files
rpm-packaging/openstack/manila-tempest-plugin/manila-tempest-plugin.spec.j2
Dirk Müller 3e1c758f4b Switch from license('Apache-2.0') to Apache-2.0
Fedora and RHEL transitioned away from legacy to standardized SPDX
identifiers, so we no longer need to wrap them

Change-Id: I95627dd233282da4d0e5323bfb2a29e378561c55
Signed-off-by: Dirk Müller <dirk@dmllr.de>
2025-07-02 07:26:11 +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.opendev.org/openstack/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: 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('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