public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/libkrun] rawhide: Update RPM macro dependency
@ 2026-08-24 14:36 Yaakov Selkowitz
0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2026-08-24 14:36 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/libkrun
Branch : rawhide
Commit : 34982045aa287261a97d76602eac0c4d98ee14b9
Author : Yaakov Selkowitz <yselkowi@redhat.com>
Date : 2026-08-10T23:08:08-04:00
Stats : +8/-4 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/libkrun/c/34982045aa287261a97d76602eac0c4d98ee14b9?branch=rawhide
Log:
Update RPM macro dependency
---
diff --git a/libkrun.spec b/libkrun.spec
index 25b07b1..58b5e98 100644
--- a/libkrun.spec
+++ b/libkrun.spec
@@ -55,12 +55,16 @@ Requires: libkrunfw >= 5.0.0
# file that also needs to be compiled, and the resulting binary a dynamic
# library providing a C-compatible ABI.
#
-# As a result, we can't fully rely on rust-packaging for managing this package.
+# As a result, we can't fully rely on cargo-rpm-macros for managing this package.
# Instead, we use some of its tasks (cargo_prep and cargo_test) and combine
# them with using the Makefile provided by the project. We also need to manage
-# BuildRequires manually, as rust-packaging gets confused trying to generate
-# them dynamically.
-BuildRequires: rust-packaging >= 21
+# BuildRequires manually, as cargo_generate_buildrequires gets confused trying
+# to generate them dynamically.
+%if 0%{?rhel}
+BuildRequires: rust-toolset
+%else
+BuildRequires: cargo-rpm-macros
+%endif
BuildRequires: glibc-static
BuildRequires: binutils
BuildRequires: libcap-ng-devel
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-24 14:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-24 14:36 [rpms/libkrun] rawhide: Update RPM macro dependency Yaakov Selkowitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox