public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/duc] epel10: epel8: only x86_64 has glfw (vulkan-devel) otherwise use X11
@ 2026-06-22 7:26 Jens Petersen
0 siblings, 0 replies; only message in thread
From: Jens Petersen @ 2026-06-22 7:26 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/duc
Branch : epel10
Commit : c6ebf17244e69009f42460aad69654e7f8fe55fe
Author : Jens Petersen <petersen@redhat.com>
Date : 2024-09-06T19:07:59+08:00
Stats : +19/-2 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/duc/c/c6ebf17244e69009f42460aad69654e7f8fe55fe?branch=epel10
Log:
epel8: only x86_64 has glfw (vulkan-devel) otherwise use X11
---
diff --git a/duc.spec b/duc.spec
index 8588f87..5b4b424 100644
--- a/duc.spec
+++ b/duc.spec
@@ -1,6 +1,17 @@
+%if %{undefined el8}
+%bcond_without opengl
+%else
+%ifarch x86_64
+%bcond_without opengl
+%else
+# no glfw-devel
+%bcond_with opengl
+%endif
+%endif
+
Name: duc
Version: 1.4.5
-Release: 5%{?dist}
+Release: 6%{?dist}
Summary: Disk usage tools
# src/glad/KHR/khrplatform.h: Khronos
@@ -12,8 +23,10 @@ Source1: duc.desktop
BuildRequires: cairo-devel
BuildRequires: desktop-file-utils
BuildRequires: gcc
+%if %{with opengl}
BuildRequires: glfw-devel
BuildRequires: libglvnd-devel
+%endif
BuildRequires: ncurses-devel
BuildRequires: pango-devel
BuildRequires: pcre2-devel
@@ -39,7 +52,8 @@ done
%build
-%configure --enable-opengl --disable-x11
+%configure %{?with_opengl:--enable-opengl --disable-x11} \
+ %{!?with_opengl:--disable-opengl --enable-x11}
%make_build
@@ -63,6 +77,9 @@ desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
%changelog
+* Fri Sep 6 2024 Jens Petersen <petersen@redhat.com> - 1.4.5-6
+- epel8 only has glfw (vulkan-devel) for x86_64 (#2310132)
+
* Wed Jul 17 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.5-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-22 7:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-22 7:26 [rpms/duc] epel10: epel8: only x86_64 has glfw (vulkan-devel) otherwise use X11 Jens Petersen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox