Skip to content

Commit

Permalink
Create tmt+ansible subpackage
Browse files Browse the repository at this point in the history
  • Loading branch information
bajertom committed Jan 13, 2025
1 parent ba6756b commit 457ba99
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
2 changes: 2 additions & 0 deletions docs/releases.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ the given job group.
The ``note`` field of tmt :ref:`/spec/plans/results` changes from
a string to a list of strings, to better accommodate multiple notes.

New subpackage ``tmt+ansible`` introduced. It covers prepare step
with ``--how ansible`` option by installing ansible requirements.

tmt-1.40.0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Expand Down
16 changes: 14 additions & 2 deletions tmt.spec
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ Obsoletes: tmt-provision-container < %{version}-%{release}
%endif
Requires: tmt == %{version}-%{release}
Requires: podman
Requires: (ansible or ansible-collection-containers-podman)
Requires: tmt-ansible == %{version}-%{release}

%description -n tmt+provision-container %_metapackage_description

Expand All @@ -78,7 +78,7 @@ Requires: tmt == %{version}-%{release}
Requires: python3-testcloud >= 0.11.3
Requires: libvirt-daemon-config-network
Requires: openssh-clients
Requires: (ansible or ansible-core)
Requires: tmt-ansible == %{version}-%{release}
# Recommend qemu system emulators for supported arches
Recommends: qemu-kvm-core
%if 0%{?fedora}
Expand Down Expand Up @@ -111,6 +111,18 @@ Requires: python3-mrack-beaker

%description -n tmt+provision-beaker %_metapackage_description

%package -n tmt+ansible
Summary: Dependencies required for tmt using ansible
Provides: tmt-ansible == %{version}-%{release}
%if 0%{?fedora} < 40
Obsoletes: tmt-ansible < %{version}-%{release}
%endif
Requires: tmt == %{version}-%{release}
Requires: (ansible or ansible-core)
Requires: ansible-collection-containers-podman

%description -n tmt+ansible %_metapackage_description

# Replace with pyproject_extras_subpkg at some point
%package -n tmt+all
Summary: Extra dependencies for the Test Management Tool
Expand Down

0 comments on commit 457ba99

Please sign in to comment.