public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Troy Dawson <tdawson@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/qt6-qtgrpc] epel9: Turn off and obsolete examples for RHEL < 10
Date: Thu, 08 Oct 2026 18:16:03 GMT [thread overview]
Message-ID: <179148336324.1.9172688969787269731.rpms-qt6-qtgrpc-9e629cf6fd5c@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/qt6-qtgrpc
Branch : epel9
Commit : 9e629cf6fd5c012ce9ad0b39aa0a35e4b091923e
Author : Troy Dawson <tdawson@redhat.com>
Date : 2026-10-08T11:15:53-07:00
Stats : +17/-3 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/qt6-qtgrpc/c/9e629cf6fd5c012ce9ad0b39aa0a35e4b091923e?branch=epel9
Log:
Turn off and obsolete examples for RHEL < 10
---
diff --git a/qt6-qtgrpc.spec b/qt6-qtgrpc.spec
index d3b7640..b9bd98f 100644
--- a/qt6-qtgrpc.spec
+++ b/qt6-qtgrpc.spec
@@ -6,12 +6,16 @@
%global prerelease rc
%endif
+%if 0%{?rhel} && 0%{?rhel} < 10
+%global examples 0
+%else
%global examples 1
+%endif
Summary: Qt6 - Support for using gRPC and Protobuf
Name: qt6-%{qt_module}
Version: 6.10.3
-Release: 1%{?dist}
+Release: 1.1%{?dist}
License: LGPL-3.0-only OR GPL-3.0-only WITH Qt-GPL-exception-1.0
Url: http://www.qt.io
@@ -41,6 +45,8 @@ BuildRequires: pkgconfig(protobuf)
BuildRequires: zlib-static
BuildRequires: qt6-qtbase-private-devel
+
+Obsoletes: %{name}-examples < %{version}
%{?_qt6:Requires: %{_qt6}%{?_isa} = %{_qt6_version}}
%description
@@ -72,8 +78,13 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
%build
%cmake_qt6 \
- -DQT_BUILD_EXAMPLES:BOOL=%{?examples:ON}%{!?examples:OFF} \
- -DQT_INSTALL_EXAMPLES_SOURCES=%{?examples:ON}%{!?examples:OFF}
+%if 0%{?examples}
+ -DQT_BUILD_EXAMPLES:BOOL=ON \
+ -DQT_INSTALL_EXAMPLES_SOURCES=ON
+%else
+ -DQT_BUILD_EXAMPLES:BOOL=OFF \
+ -DQT_INSTALL_EXAMPLES_SOURCES=OFF
+%endif
%cmake_build
@@ -166,6 +177,9 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
%endif
%changelog
+* Thu Sep 10 2026 Troy Dawson <tdawson@redhat.com> - 6.11.3-1.1
+- Turn off and obsolete examples for RHEL < 10
+
* Tue Mar 31 2026 Jan Grulich <jgrulich@redhat.com> - 6.10.3-1
- 6.10.3
reply other threads:[~2026-10-08 18:16 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=179148336324.1.9172688969787269731.rpms-qt6-qtgrpc-9e629cf6fd5c@fedoraproject.org \
--to=tdawson@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