public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/nwipe] rawhide: fix build on rhel8, due to missing libnvme
@ 2026-10-09 14:11 Michal Ambroz
0 siblings, 0 replies; only message in thread
From: Michal Ambroz @ 2026-10-09 14:11 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/nwipe
Branch : rawhide
Commit : 88c5bb57a6e3e68e26c99eb0d1ee2ade3a717114
Author : Michal Ambroz <rebus@seznam.cz>
Date : 2026-10-09T16:10:50+02:00
Stats : +11/-0 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/nwipe/c/88c5bb57a6e3e68e26c99eb0d1ee2ade3a717114?branch=rawhide
Log:
fix build on rhel8, due to missing libnvme
---
diff --git a/nwipe.spec b/nwipe.spec
index cab43ff..afd9678 100644
--- a/nwipe.spec
+++ b/nwipe.spec
@@ -22,7 +22,11 @@ BuildRequires: libconfig-devel
BuildRequires: make
BuildRequires: ncurses-devel
BuildRequires: parted-devel
+
+# there is no libnvme in rhel8
+%if 0%{?fedora} || 0%{?rhel} >= 9
BuildRequires: libnvme-devel
+%endif
# Runtime dependencies
Requires: coreutils
@@ -52,7 +56,14 @@ a few changes:
%build
autoreconf -vif
+
+%if 0%{?fedora} || 0%{?rhel} >= 9
%configure
+%else
+# there is no libnvme in rhel8
+%configure --without-libnvme
+%endif
+
%make_build
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-09 14:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-09 14:11 [rpms/nwipe] rawhide: fix build on rhel8, due to missing libnvme Michal Ambroz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox