public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jens Petersen <petersen@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/duc] epel10: epel8: only x86_64 has glfw (vulkan-devel) otherwise use X11
Date: Mon, 22 Jun 2026 07:26:54 GMT	[thread overview]
Message-ID: <178211321477.1.1278149189025518680.rpms-duc-c6ebf17244e6@fedoraproject.org> (raw)

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
 

                 reply	other threads:[~2026-06-22  7:26 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178211321477.1.1278149189025518680.rpms-duc-c6ebf17244e6@fedoraproject.org \
    --to=petersen@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox