From 047a8f4826a7303e8a0dfde137c3082767c493ca Mon Sep 17 00:00:00 2001 From: mulhern Date: Thu, 30 Oct 2025 11:43:03 -0400 Subject: [PATCH] Revert "Unconditionally vendor stratisd" This reverts commit 04257dd2305e0353e3ae9d7a88eabe8bf19c5452. This existed for a while to allow Packit/TMT that ran on the installed version of stratisd to be able to be run, as the package could only be built via vendoring, since some dependencies were missing in Fedora. It is no longer needed. Signed-off-by: mulhern --- mockbuild_test/stratisd.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/mockbuild_test/stratisd.spec b/mockbuild_test/stratisd.spec index ff29b89..497565b 100644 --- a/mockbuild_test/stratisd.spec +++ b/mockbuild_test/stratisd.spec @@ -85,9 +85,15 @@ Requires: stratisd %{summary}. This package should not be used in production. %prep -%autosetup -n stratisd-stratisd-v%{version} -a1 +%autosetup -n stratisd-stratisd-v%{version} %{?rhel:-a1} +%if 0%{?rhel} %cargo_prep -v vendor +%else +%cargo_prep +%generate_buildrequires +%cargo_generate_buildrequires -f engine,dbus_enabled,min,systemd_compat,extras,udev_scripts +%endif %build %{cargo_license -f engine,dbus_enabled,min,systemd_compat,extras,udev_scripts} > LICENSE.dependencies