]> git.ipfire.org Git - thirdparty/libvirt.git/commit
specfile: require passt for the build if fedora >= 36 or rhel >= 9
authorLaine Stump <laine@redhat.com>
Fri, 6 Jan 2023 23:36:44 +0000 (18:36 -0500)
committerLaine Stump <laine@redhat.com>
Tue, 10 Jan 2023 06:19:27 +0000 (01:19 -0500)
commitb6e72716c9f31d49c2e94ebdcddb953feb794af8
treec6819b93aa59ce6aaa3c378284ca1955f7c501e8
parenta56f0168d576fa01cec204dc3c67d4d63ab8487f
specfile: require passt for the build if fedora >= 36 or rhel >= 9

The only reason we need it at build time is to find its location in
$PATH so it can be hardcoded into the libvirt binary (and avoid the
possibility of someone adding in a malicious binary somewhere earlier
in the path, I guess).

Only 'recommend' passt during installation though, since it is not
needed unless someone is actually using it.

There is no need to add in a build-time "WITH_PASST" option (IMO),
since it adds very little to the size of the code - "PASST" (the path
to the binary) will just be set to "passt", so if someone does manage
to build and install passt on an older version of Fedora or RHEL, it
will still work (as long as it's installed somewhere in the path).

Signed-off-by: Laine Stump <laine@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
libvirt.spec.in