Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 07f3fb4dbf |
@@ -1 +0,0 @@
|
||||
1
|
||||
-85
@@ -1,85 +0,0 @@
|
||||
/tmt-0.1.tar.gz
|
||||
/tmt-0.7.tar.gz
|
||||
/tmt-0.8.tar.gz
|
||||
/tmt-0.11.tar.gz
|
||||
/tmt-0.12.tar.gz
|
||||
/tmt-0.17.tar.gz
|
||||
/tmt-0.18.tar.gz
|
||||
/tmt-0.19.tar.gz
|
||||
/tmt-0.20.tar.gz
|
||||
/tmt-0.21.tar.gz
|
||||
/tmt-1.0.tar.gz
|
||||
/tmt-1.1.tar.gz
|
||||
/tmt-1.2.tar.gz
|
||||
/tmt-1.2.1.tar.gz
|
||||
/tmt-1.3.0.tar.gz
|
||||
/tmt-1.3.1.tar.gz
|
||||
/tmt-1.4.0.tar.gz
|
||||
/tmt-1.5.0.tar.gz
|
||||
/tmt-1.6.0.tar.gz
|
||||
/tmt-1.7.0.tar.gz
|
||||
/tmt-1.8.0.tar.gz
|
||||
/tmt-1.9.0.tar.gz
|
||||
/tmt-1.10.0.tar.gz
|
||||
/tmt-1.11.0.tar.gz
|
||||
/tmt-1.12.0.tar.gz
|
||||
/tmt-1.13.0.tar.gz
|
||||
/tmt-1.14.0.tar.gz
|
||||
/tmt-1.15.0.tar.gz
|
||||
/tmt-1.16.0.tar.gz
|
||||
/tmt-1.17.0.tar.gz
|
||||
/tmt-1.18.0.tar.gz
|
||||
/tmt-1.19.0.tar.gz
|
||||
/tmt-1.20.0.tar.gz
|
||||
/tmt-1.21.0.tar.gz
|
||||
/tmt-1.22.0.tar.gz
|
||||
/tmt-1.23.0.tar.gz
|
||||
/tmt-1.24.1.tar.gz
|
||||
/tmt-1.25.0.tar.gz
|
||||
/tmt-1.26.0.tar.gz
|
||||
/tmt-1.26.1.tar.gz
|
||||
/tmt-1.27.0.tar.gz
|
||||
/tmt-1.28.2.tar.gz
|
||||
/tmt-1.29.0.tar.gz
|
||||
/tmt-1.30.0.tar.gz
|
||||
/tmt-1.31.0.tar.gz
|
||||
/tmt-1.32.1.tar.gz
|
||||
/tmt-1.32.2.tar.gz
|
||||
/tmt-1.33.0.tar.gz
|
||||
/tmt-1.34.0.tar.gz
|
||||
/tmt-1.35.0.tar.gz
|
||||
/tmt-1.36.0.tar.gz
|
||||
/tmt-1.36.1.tar.gz
|
||||
/tmt-1.37.0.tar.gz
|
||||
/tmt-1.38.0.tar.gz
|
||||
/tmt-1.39.0.tar.gz
|
||||
/tmt-1.40.0.tar.gz
|
||||
/tmt-1.41.0.tar.gz
|
||||
/tmt-1.41.1.tar.gz
|
||||
/tmt-1.42.1.tar.gz
|
||||
/tmt-1.43.0.tar.gz
|
||||
/tmt-1.44.0.tar.gz
|
||||
/tmt-1.45.0.tar.gz
|
||||
/tmt-1.46.0.tar.gz
|
||||
/tmt-1.47.0.tar.gz
|
||||
/tmt-1.48.0.tar.gz
|
||||
/tmt-1.49.0.tar.gz
|
||||
/tmt-1.50.0.tar.gz
|
||||
/tmt-1.51.0.tar.gz
|
||||
/tmt-1.52.0.tar.gz
|
||||
/tmt-1.53.0.tar.gz
|
||||
/tmt-1.54.0.tar.gz
|
||||
/tmt-1.55.0.tar.gz
|
||||
/tmt-1.56.0.tar.gz
|
||||
/tmt-1.57.0.tar.gz
|
||||
/tmt-1.58.0.tar.gz
|
||||
/tmt-1.59.0.tar.gz
|
||||
/tmt-1.60.0.tar.gz
|
||||
/tmt-1.61.0.tar.gz
|
||||
/tmt-1.62.1.tar.gz
|
||||
/tmt-1.63.0.tar.gz
|
||||
/tmt-1.64.0.tar.gz
|
||||
/tmt-1.65.0.tar.gz
|
||||
/tmt-1.66.0.tar.gz
|
||||
/tmt-1.67.0.tar.gz
|
||||
/tmt-1.68.0.tar.gz
|
||||
-245
@@ -1,245 +0,0 @@
|
||||
---
|
||||
|
||||
specfile_path: packaging/rpm/tmt.spec
|
||||
files_to_sync:
|
||||
- src: packaging/rpm/
|
||||
dest: ./
|
||||
delete: true
|
||||
filters:
|
||||
- "protect .git*"
|
||||
- "protect sources"
|
||||
- "protect changelog"
|
||||
- "protect README*"
|
||||
# TODO: remove once https://github.com/fedora-ci/jenkins-pipeline-library/pull/100 is merged
|
||||
- "protect ci.fmf"
|
||||
- src: packaging/
|
||||
dest: ./
|
||||
filters:
|
||||
- "- rpm"
|
||||
- .packit.yaml
|
||||
|
||||
upstream_package_name: tmt
|
||||
downstream_package_name: tmt
|
||||
|
||||
upstream_project_url: https://github.com/teemtee/tmt
|
||||
issue_repository: https://github.com/teemtee/tmt
|
||||
|
||||
srpm_build_deps:
|
||||
- hatch
|
||||
- python3-hatch-vcs
|
||||
|
||||
actions: &base-actions
|
||||
create-archive:
|
||||
- hatch build -t sdist
|
||||
- bash -c "echo dist/tmt-$PACKIT_PROJECT_VERSION.tar.gz"
|
||||
get-current-version:
|
||||
- hatch version
|
||||
|
||||
targets: &all-targets
|
||||
- fedora-all
|
||||
- epel-9
|
||||
- epel-10
|
||||
|
||||
# Uncomment below line if OpenScanHub scans are failing
|
||||
# osh_diff_scan_after_copr_build: false
|
||||
|
||||
|
||||
# Common definitions
|
||||
_:
|
||||
# Copr jobs under the packit project
|
||||
- &copr-under-packit
|
||||
job: copr_build
|
||||
additional_repos:
|
||||
- copr://@teemtee/stable
|
||||
|
||||
# Copr jobs under the teemtee project
|
||||
- &copr-under-teemtee
|
||||
<<: *copr-under-packit
|
||||
list_on_homepage: true
|
||||
preserve_project: true
|
||||
owner: "@teemtee"
|
||||
|
||||
# Test jobs base setup
|
||||
- &test-base
|
||||
job: tests
|
||||
trigger: pull_request
|
||||
tf_extra_params:
|
||||
environments:
|
||||
- &copr-teemtee-stable
|
||||
artifacts:
|
||||
# Testing Farm fails to install the repository when a multiline
|
||||
# string is used. The script looks broken, as if one piece of
|
||||
# the process incorrectly loads it, producing broken repo file
|
||||
# URL.
|
||||
- type: repository-file
|
||||
# yamllint disable-line rule:line-length
|
||||
id: https://copr.fedorainfracloud.org/coprs/g/teemtee/stable/repo/fedora-rawhide/group_teemtee-stable-fedora-rawhide.repo
|
||||
- type: repository-file
|
||||
# yamllint disable-line rule:line-length
|
||||
id: https://copr.fedorainfracloud.org/coprs/g/teemtee/stable/repo/epel-9/group_teemtee-stable-epel-9.repo
|
||||
|
||||
# Latest fedora & epel targets
|
||||
- &latest-targets
|
||||
- fedora-latest-stable
|
||||
- epel-10
|
||||
|
||||
# Internal jobs
|
||||
- &internal
|
||||
use_internal_tf: true
|
||||
targets:
|
||||
- fedora-latest-stable
|
||||
tf_extra_params:
|
||||
environments:
|
||||
- &tmt-cloud-resources
|
||||
<<: *copr-teemtee-stable
|
||||
settings:
|
||||
provisioning:
|
||||
tags:
|
||||
BusinessUnit: tmt
|
||||
|
||||
# Core test requires
|
||||
- &require-core-tests
|
||||
require:
|
||||
label:
|
||||
absent:
|
||||
- ci | skip
|
||||
|
||||
# Full test requires
|
||||
- &require-full-tests
|
||||
require:
|
||||
label:
|
||||
present:
|
||||
- ci | full test
|
||||
absent:
|
||||
- status | discuss
|
||||
- ci | skip
|
||||
|
||||
# Internal provisioning jobs
|
||||
- &internal-provision
|
||||
<<: *test-base
|
||||
<<: *internal
|
||||
<<: *require-full-tests
|
||||
tf_extra_params:
|
||||
environments:
|
||||
- tmt:
|
||||
context:
|
||||
how: provision
|
||||
<<: *tmt-cloud-resources
|
||||
|
||||
jobs:
|
||||
# Build released bits to stable
|
||||
- <<: *copr-under-teemtee
|
||||
trigger: release
|
||||
project: stable
|
||||
|
||||
# Build commits merged to main to latest
|
||||
- <<: *copr-under-teemtee
|
||||
trigger: commit
|
||||
branch: main
|
||||
project: latest
|
||||
release_suffix: "{PACKIT_PROJECT_BRANCH}"
|
||||
|
||||
# Build pull requests
|
||||
- <<: *copr-under-packit
|
||||
trigger: pull_request
|
||||
|
||||
# Test core
|
||||
- <<: *test-base
|
||||
<<: *require-core-tests
|
||||
targets: *latest-targets
|
||||
identifier: core
|
||||
tmt_plan: '/plans/features/core'
|
||||
|
||||
# Test full
|
||||
- <<: *test-base
|
||||
<<: *require-full-tests
|
||||
identifier: full
|
||||
# Do not run extended unit tests. That plan gets its own job
|
||||
# because of podman vs systemd-resolved flakiness.
|
||||
tmt_plan: '^(?!/plans/features/extended-unit-tests).*$'
|
||||
|
||||
# Extended unit tests
|
||||
- <<: *test-base
|
||||
<<: *require-full-tests
|
||||
targets:
|
||||
- fedora-latest-stable
|
||||
identifier: extended-unit-tests
|
||||
tmt_plan: '/plans/features/extended-unit-tests$'
|
||||
|
||||
# Test provision plugins
|
||||
- <<: *internal-provision
|
||||
identifier: provision-bootc
|
||||
tmt_plan: /plans/provision/bootc
|
||||
|
||||
- <<: *internal-provision
|
||||
identifier: provision-virtual
|
||||
tmt_plan: /plans/provision/virtual
|
||||
|
||||
# Test internal plugins
|
||||
- <<: *test-base
|
||||
<<: *internal
|
||||
<<: *require-full-tests
|
||||
identifier: internal-plugins
|
||||
fmf_url: "https://gitlab.cee.redhat.com/baseos-qe/tmt.git"
|
||||
|
||||
# Test internal wow
|
||||
- <<: *test-base
|
||||
<<: *internal
|
||||
<<: *require-full-tests
|
||||
identifier: internal-wow
|
||||
fmf_url: "https://gitlab.cee.redhat.com/baseos-qe/integration_scripts.git"
|
||||
tmt_plan: '/tmt/integration/plan'
|
||||
|
||||
# Run missing tests identified in Connect
|
||||
- <<: *test-base
|
||||
<<: *internal
|
||||
<<: *require-full-tests
|
||||
identifier: internal-fusa
|
||||
fmf_url: "https://gitlab.cee.redhat.com/automotive/tests/all.git"
|
||||
fmf_ref: "main"
|
||||
tmt_plan: '/tmt/plans/fusa/tests'
|
||||
targets:
|
||||
- epel-9
|
||||
|
||||
# OS-agnostic sanity and coding-standard checks
|
||||
- <<: *test-base
|
||||
targets:
|
||||
- fedora-latest-stable
|
||||
identifier: sanity
|
||||
tf_extra_params:
|
||||
test:
|
||||
tmt:
|
||||
name: /plans/sanity
|
||||
skip_build: true
|
||||
|
||||
# Downstream tests
|
||||
- <<: *test-base
|
||||
<<: *require-full-tests
|
||||
targets:
|
||||
- fedora-latest-stable
|
||||
identifier: downstream
|
||||
fmf_path: packaging
|
||||
|
||||
# Propose downstream pull requests
|
||||
- job: propose_downstream
|
||||
trigger: release
|
||||
dist_git_branches:
|
||||
rawhide:
|
||||
fast_forward_merge_into:
|
||||
- fedora-branched
|
||||
- epel-10
|
||||
- epel-9
|
||||
|
||||
# Create koji builds
|
||||
- job: koji_build
|
||||
trigger: commit
|
||||
allowed_pr_authors: ["packit", "all_committers"]
|
||||
dist_git_branches: *all-targets
|
||||
|
||||
# Create bodhi updates
|
||||
- job: bodhi_update
|
||||
trigger: commit
|
||||
dist_git_branches:
|
||||
- fedora-branched
|
||||
- epel-9
|
||||
- epel-10
|
||||
@@ -1,3 +0,0 @@
|
||||
This repository is maintained by packit.
|
||||
https://packit.dev/
|
||||
The file was generated using packit 1.15.0.post1.dev2+g8f2adf816.
|
||||
@@ -0,0 +1 @@
|
||||
epel8-playground decommissioned : https://pagure.io/epel/issue/136
|
||||
-10
@@ -1,10 +0,0 @@
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- fedora-*
|
||||
decision_contexts:
|
||||
- bodhi_update_push_stable
|
||||
subject_type: koji_build
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/minimal.functional}
|
||||
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/smoke.functional}
|
||||
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/upstream.functional}
|
||||
@@ -1,15 +0,0 @@
|
||||
summary: Verify that the minimal package works
|
||||
discover:
|
||||
tests:
|
||||
- name: /install/minimal
|
||||
test: cd $(mktemp -d) && tmt init -t full && tmt
|
||||
require:
|
||||
- tmt
|
||||
prepare:
|
||||
# TODO: Remove when artifact installation is live
|
||||
summary: Ensure that only 'tmt' is installed
|
||||
name: minimal
|
||||
order: 90
|
||||
script: dnf remove -y 'tmt-*' --exclude tmt
|
||||
execute:
|
||||
how: tmt
|
||||
@@ -1,3 +0,0 @@
|
||||
summary: Minimal smoke test
|
||||
execute:
|
||||
script: tmt --help
|
||||
@@ -1,23 +0,0 @@
|
||||
summary: Run a basic set of upstream tests
|
||||
|
||||
discover:
|
||||
how: fmf
|
||||
# Using a hack for when running in upstream where it is able to
|
||||
# discover tests from outside the current fmf tree.
|
||||
# https://github.com/teemtee/tmt/issues/2568
|
||||
path: .
|
||||
filter: "tier:1"
|
||||
|
||||
prepare:
|
||||
- how: install
|
||||
package:
|
||||
- jq
|
||||
- yq
|
||||
|
||||
execute:
|
||||
how: tmt
|
||||
|
||||
adjust+:
|
||||
when: initiator == fedora-ci
|
||||
discover+:
|
||||
dist-git-source: true
|
||||
@@ -1,5 +0,0 @@
|
||||
---
|
||||
addedfiles:
|
||||
ignore:
|
||||
# rpminspect forbids /var/tmp prefix by default
|
||||
- /var/tmp/tmt
|
||||
@@ -1 +0,0 @@
|
||||
SHA512 (tmt-1.68.0.tar.gz) = 1c64f6c2648516fcc0abbc097970d8decd49cf5f22e9d165b2a1121dca4a2d54013d06f6de0ea4f9aa1a22a21f2eae4c261a9a456733c666fb4c8bc6ec60b2d3
|
||||
@@ -1,5 +0,0 @@
|
||||
# The detach runner is intentionally not executable
|
||||
addFilter("python3-tmt.noarch: E: non-executable-script")
|
||||
|
||||
# Examples have .fmf used to mark metadata root
|
||||
addFilter("tmt.noarch: W: hidden-file-or-dir")
|
||||
@@ -1,203 +0,0 @@
|
||||
Name: tmt
|
||||
Version: 1.68.0
|
||||
Release: %autorelease
|
||||
Summary: Test Management Tool
|
||||
|
||||
License: MIT
|
||||
URL: https://github.com/teemtee/tmt
|
||||
Source0: %{pypi_source tmt}
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: python3-devel
|
||||
|
||||
# For rst2man
|
||||
BuildRequires: python3-docutils
|
||||
|
||||
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
|
||||
Recommends: ansible-core
|
||||
|
||||
%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
|
||||
%pyproject_extras_subpkg -n tmt prepare-artifact
|
||||
|
||||
%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-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.7
|
||||
Requires: libvirt-daemon-config-network
|
||||
Requires: openssh-clients
|
||||
# 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-bootc
|
||||
Summary: Dependencies required for tmt bootc machine provisioner
|
||||
Provides: tmt-provision-bootc == %{version}-%{release}
|
||||
Requires: tmt == %{version}-%{release}
|
||||
Requires: tmt+provision-virtual == %{version}-%{release}
|
||||
Requires: podman
|
||||
# podman-machine is not present on epel9 and various arches. Should probably
|
||||
# skip the whole sub-package, but that would need a more thorough impact
|
||||
# check. For now we at least allow this to be installed and fail at runtime.
|
||||
# Also, podman-machine is only present on x86_64 and aarch64
|
||||
# TODO: re-enable podman-machine on epel10 once it is packaged
|
||||
%if 0%{?fedora}
|
||||
Requires: (podman-machine if (filesystem(x86-64) or filesystem(aarch-64)))
|
||||
%endif
|
||||
|
||||
%description -n tmt+provision-bootc %_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
|
||||
|
||||
%package -n tmt+provision-mock
|
||||
Summary: Dependencies required for tmt mock provisioner
|
||||
Provides: tmt-provision-mock == %{version}-%{release}
|
||||
Requires: tmt == %{version}-%{release}
|
||||
Requires: mock
|
||||
|
||||
%description -n tmt+provision-mock %_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+export-polarion == %{version}-%{release}
|
||||
Requires: tmt+link-jira == %{version}-%{release}
|
||||
Requires: tmt+prepare-artifact == %{version}-%{release}
|
||||
Requires: tmt+provision-beaker == %{version}-%{release}
|
||||
Requires: tmt+provision-bootc == %{version}-%{release}
|
||||
Requires: tmt+provision-container == %{version}-%{release}
|
||||
Requires: tmt+provision-mock == %{version}-%{release}
|
||||
Requires: tmt+provision-virtual == %{version}-%{release}
|
||||
Requires: tmt+report-junit == %{version}-%{release}
|
||||
Requires: tmt+report-polarion == %{version}-%{release}
|
||||
Requires: tmt+test-convert == %{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-%{version}
|
||||
|
||||
%generate_buildrequires
|
||||
%pyproject_buildrequires
|
||||
|
||||
%build
|
||||
export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
|
||||
%pyproject_wheel
|
||||
|
||||
# Build the man files
|
||||
cp docs/header.txt man.rst
|
||||
tail -n+8 docs/overview.rst >> man.rst
|
||||
# TODO rst2man cannot process this directive, removed for now
|
||||
sed '/versionadded::/d' -i man.rst
|
||||
rst2man man.rst > tmt.1
|
||||
|
||||
%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+provision-bootc -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+provision-mock -f %{_pyproject_ghost_distinfo}
|
||||
%files -n tmt+all -f %{_pyproject_ghost_distinfo}
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
Reference in New Issue
Block a user