public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Yaakov Selkowitz <yselkowi@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/hardinfo2] f44: Use Qt6 on Fedora and EPEL 10+
Date: Sat, 05 Sep 2026 16:42:56 GMT	[thread overview]
Message-ID: <178862657615.1.7642772389358804904.rpms-hardinfo2-498abe636538@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/hardinfo2
Branch : f44
Commit : 498abe6365381382e1e416eb62797337329e68c0
Author : Yaakov Selkowitz <yselkowi@redhat.com>
Date   : 2026-07-27T22:07:09-04:00
Stats  : +12/-1 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/hardinfo2/c/498abe6365381382e1e416eb62797337329e68c0?branch=f44

Log:
Use Qt6 on Fedora and EPEL 10+

---
diff --git a/hardinfo2.spec b/hardinfo2.spec
index af21244..1fd5cb2 100644
--- a/hardinfo2.spec
+++ b/hardinfo2.spec
@@ -52,10 +52,17 @@ Patch0:         %{url}/pull/294.patch
 BuildRequires:  gcc-c++
 BuildRequires:  cmake
 
+%if 0%{?fedora} || 0%{?rhel} >= 10
+BuildRequires:  cmake(Qt6Core)
+BuildRequires:  cmake(Qt6Gui)
+BuildRequires:  cmake(Qt6Widgets)
+BuildRequires:  cmake(Qt6OpenGLWidgets)
+%else
 BuildRequires:  cmake(Qt5Core)
 BuildRequires:  cmake(Qt5Gui)
 BuildRequires:  cmake(Qt5Widgets)
 BuildRequires:  cmake(Qt5OpenGL)
+%endif
 BuildRequires:  /usr/bin/glslangValidator
 BuildRequires:  /usr/bin/glslc
 BuildRequires:  libdecor-devel
@@ -108,7 +115,11 @@ Features include:
 sed -i -e '/^SET.CMAKE_INSTALL_PREFIX/d' CMakeLists.txt
 
 %build
-%cmake -DCMAKE_BUILD_TYPE=Release
+%cmake -DCMAKE_BUILD_TYPE=Release \
+%if 0%{?fedora} || 0%{?rhel} >= 10
+  -DHARDINFO2_QT6=1 \
+%endif
+  %{nil}
 %cmake_build
 
 %install

                 reply	other threads:[~2026-09-05 16:42 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=178862657615.1.7642772389358804904.rpms-hardinfo2-498abe636538@fedoraproject.org \
    --to=yselkowi@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