Name: tmt Version: 1.38.dev27+gd9f14306 Release: main%{?dist} Summary: Test Management Tool License: MIT URL: https://github.com/teemtee/tmt Source0: tmt-1.38.0.dev27+gd9f14306.tar.gz BuildArch: noarch BuildRequires: python3-devel Requires: git-core rsync sshpass %if 0%{?fedora} < 40 Obsoletes: python3-tmt < %{version}-%{release} Provides: tmt-report-html == %{version}-%{release} Obsoletes: tmt-report-html < %{version}-%{release} Provides: tmt-report-junit == %{version}-%{release} Obsoletes: tmt-report-junit < %{version}-%{release} Provides: tmt-report-polarion == %{version}-%{release} Obsoletes: tmt-report-polarion < %{version}-%{release} Provides: tmt-report-reportportal == %{version}-%{release} Obsoletes: tmt-report-reportportal < %{version}-%{release} %endif Recommends: bash-completion %py_provides python3-tmt %global _metapackage_description %{expand: This is a metapackage bringing in extra dependencies for tmt. It contains no code, just makes sure the dependencies are installed.} %description The tmt Python module and command line tool implement the test metadata specification (L1 and L2) and allows easy test execution. %pyproject_extras_subpkg -n tmt export-polarion %pyproject_extras_subpkg -n tmt report-junit %pyproject_extras_subpkg -n tmt report-polarion %pyproject_extras_subpkg -n tmt link-jira %package -n tmt+test-convert Summary: Dependencies required for tmt test import and export Provides: tmt-test-convert == %{version}-%{release} %if 0%{?fedora} < 40 Obsoletes: tmt-test-convert < %{version}-%{release} %endif Requires: tmt == %{version}-%{release} Requires: make Requires: python3-bugzilla Requires: python3-nitrate Requires: python3-html2text Requires: python3-markdown %description -n tmt+test-convert %_metapackage_description %package -n tmt+provision-container Summary: Dependencies required for tmt container provisioner Provides: tmt-provision-container == %{version}-%{release} %if 0%{?fedora} < 40 Obsoletes: tmt-provision-container < %{version}-%{release} %endif Requires: tmt == %{version}-%{release} Requires: podman Requires: (ansible or ansible-collection-containers-podman) %description -n tmt+provision-container %_metapackage_description %package -n tmt+provision-virtual Summary: Dependencies required for tmt virtual machine provisioner Provides: tmt-provision-virtual == %{version}-%{release} %if 0%{?fedora} < 40 Obsoletes: tmt-provision-virtual < %{version}-%{release} %endif Requires: tmt == %{version}-%{release} Requires: python3-testcloud >= 0.11.3 Requires: libvirt-daemon-config-network Requires: openssh-clients Requires: (ansible or ansible-core) # Recommend qemu system emulators for supported arches Recommends: qemu-kvm-core %if 0%{?fedora} Recommends: qemu-system-aarch64-core Recommends: qemu-system-ppc-core Recommends: qemu-system-s390x-core Recommends: qemu-system-x86-core %endif %description -n tmt+provision-virtual %_metapackage_description %package -n tmt+provision-beaker Summary: Dependencies required for tmt beaker provisioner Provides: tmt-provision-beaker == %{version}-%{release} %if 0%{?fedora} < 40 Obsoletes: tmt-provision-beaker < %{version}-%{release} %endif Requires: tmt == %{version}-%{release} Requires: python3-mrack-beaker %description -n tmt+provision-beaker %_metapackage_description # Replace with pyproject_extras_subpkg at some point %package -n tmt+all Summary: Extra dependencies for the Test Management Tool Provides: tmt-all == %{version}-%{release} %if 0%{?fedora} < 40 Obsoletes: tmt-all < %{version}-%{release} %endif Requires: tmt+test-convert == %{version}-%{release} Requires: tmt+export-polarion == %{version}-%{release} Requires: tmt+provision-container == %{version}-%{release} Requires: tmt+provision-virtual == %{version}-%{release} Requires: tmt+provision-beaker == %{version}-%{release} Requires: tmt+report-junit == %{version}-%{release} Requires: tmt+report-polarion == %{version}-%{release} %description -n tmt+all All extra dependencies of the Test Management Tool. Install this package to have all available plugins ready for testing. %prep %autosetup -p1 -n tmt-1.38.0.dev27+gd9f14306 %generate_buildrequires %pyproject_buildrequires %build export SETUPTOOLS_SCM_PRETEND_VERSION=%{version} %pyproject_wheel %install %pyproject_install %pyproject_save_files tmt mkdir -p %{buildroot}%{_mandir}/man1 install -pm 644 tmt.1 %{buildroot}%{_mandir}/man1 mkdir -p %{buildroot}%{_datadir}/bash-completion/completions install -pm 644 completions/bash/%{name} %{buildroot}%{_datadir}/bash-completion/completions/%{name} mkdir -p %{buildroot}/etc/%{name}/ install -pm 644 %{name}/steps/provision/mrack/mrack* %{buildroot}/etc/%{name}/ %check %pyproject_check_import %files -n tmt -f %{pyproject_files} %doc README.rst examples %{_bindir}/tmt %{_mandir}/man1/tmt.1.gz %{_datadir}/bash-completion/completions/%{name} %files -n tmt+provision-container -f %{_pyproject_ghost_distinfo} %files -n tmt+provision-virtual -f %{_pyproject_ghost_distinfo} %files -n tmt+test-convert -f %{_pyproject_ghost_distinfo} %files -n tmt+provision-beaker -f %{_pyproject_ghost_distinfo} %config(noreplace) %{_sysconfdir}/%{name}/mrack* %files -n tmt+all -f %{_pyproject_ghost_distinfo} %changelog * Tue Oct 22 2024 Packit - 1.38.dev27+gd9f14306-main - Wait for guest connection before test restart (#3291) (Miloš Prchlík) - Call the `tmt-file-submit` script directly (#3310) (Petr Šplíchal) - Support Fedora Image Mode (#3229) (Miroslav Vadkerti) - Pass `{USER, COREOS}_DATA` separately in `testcloud` (#3266) (František Zatloukal) - Bump pre-commit checks (#3303) (Miloš Prchlík) - Suggest using `direnv` when working on `tmt` tests (#3285) (Petr Šplíchal) - Include error and traceback in log file (#3247) (Miloš Prchlík) - Override test metada from plan using `adjust-tests` (#2865) (Lukáš Zachar) - Improve CLI rendering of plugin docs (#3301) (Miloš Prchlík) - The `--feeling-safe` option required for `local` provision (#3282) (Petr Šplíchal) - New tests for adjust duration (#3281) (Luigi) - Add an extra escape wrapper for illegal XML chars in junit report plugin (#3289) (Sabart Otto) - Improve message provided when plugin IDs collide (#3288) (Miloš Prchlík) - Translate `beaker.pool` hardware requirement properly for `mrack` (#3271) (skycastlelily) - Add a new `Test Runner` section to the guide (#3201) (Petr Šplíchal) - Multiplication was used incorrectly in examples (#3278) (Lukáš Zachar) - Isolate "effective config path" code in a function (#3250) (Miloš Prchlík) - Add caching of pip, hatch and hatch envs in doc-tests (#3241) (Martin Hoyer) - Replace `get()` calls with direct data access in discover/shell plugin (#3249) (Miloš Prchlík) - Replace open+read/write with pathlib's read/write_text/bytes (#3263) (Miloš Prchlík) - Remove `data-path` field from `tmt-report-result` output (#3270) (Sabart Otto) - Remove `skip` from the `ResultInterpret` enumeration (#3269) (Petr Šplíchal) - Increase linkcheck retries from 1 to 3 (#3264) (Martin Hoyer) - Test `result` key should be implemented as enum, not a string (#3253) (Miloš Prchlík) - Disable package manager tests of dnf5 on Fedora 39 (#3262) (Miloš Prchlík) - Fix the copr repo name in the container files (#3259) (Petr Šplíchal) - Add links to the `quay.io` repo with `tmt` images (#3256) (Petr Šplíchal)