public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jan Grulich <jgrulich@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/qt6-qtlocation] epel9: CMake: Don't publicly propagate private Qt modules for public modules
Date: Thu, 08 Oct 2026 20:01:04 GMT [thread overview]
Message-ID: <179148966418.1.9060654734342567963.rpms-qt6-qtlocation-46eadaacf1b7@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/qt6-qtlocation
Branch : epel9
Commit : 46eadaacf1b7674e6f02b0d03fba772bc8996652
Author : Jan Grulich <jgrulich@redhat.com>
Date : 2025-09-23T10:48:54+02:00
Stats : +47/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/qt6-qtlocation/c/46eadaacf1b7674e6f02b0d03fba772bc8996652?branch=epel9
Log:
CMake: Don't publicly propagate private Qt modules for public modules
---
diff --git a/qt6-qtlocation.spec b/qt6-qtlocation.spec
index 69ec1b7..1611cdb 100644
--- a/qt6-qtlocation.spec
+++ b/qt6-qtlocation.spec
@@ -11,7 +11,7 @@
Summary: Qt6 - Location Libraries
Name: qt6-%{qt_module}
Version: 6.9.2
-Release: 1%{?dist}
+Release: 2%{?dist}
# Rest of the licenses are for Qt code in src/location and src/plugins
License: LGPL-3.0-only OR GPL-3.0-only WITH Qt-GPL-exception-1.0
@@ -25,6 +25,9 @@ Source0: https://download.qt.io/development_releases/qt/%{majmin}/%{qt_version}/
Source0: https://download.qt.io/official_releases/qt/%{majmin}/%{version}/submodules/%{qt_module}-everywhere-src-%{version}.tar.xz
%endif
+# Remove with Qt 6.10
+Patch0: qtlocation-cmake-dont-publicly-propagate-private-qt-modules-for-public-modules.patch
+
# filter plugin/qml provides
%global __provides_exclude_from ^(%{_qt6_archdatadir}/qml/.*\\.so|%{_qt6_plugindir}/.*\\.so)$
@@ -126,6 +129,9 @@ popd
%endif
%changelog
+* Tue Sep 23 2025 Jan Grulich <jgrulich@redhat.com> - 6.9.2-2
+- CMake: Don't publicly propagate private Qt modules for public modules
+
* Thu Aug 28 2025 Jan Grulich <jgrulich@redhat.com> - 6.9.2-1
- 6.9.2
diff --git a/qtlocation-cmake-dont-publicly-propagate-private-qt-modules-for-public-modules.patch b/qtlocation-cmake-dont-publicly-propagate-private-qt-modules-for-public-modules.patch
new file mode 100644
index 0000000..eb1d7e5
--- /dev/null
+++ b/qtlocation-cmake-dont-publicly-propagate-private-qt-modules-for-public-modules.patch
@@ -0,0 +1,40 @@
+From 5571a1e37ea6b9ddf717125b10e26234e7827bc8 Mon Sep 17 00:00:00 2001
+From: Alexandru Croitor <alexandru.croitor@qt.io>
+Date: Mon, 28 Jul 2025 12:59:39 +0200
+Subject: [PATCH] CMake: Don't publicly propagate private Qt modules for public
+ modules
+
+This causes user projects to automatically find the private Qt module
+packages and expose the Private targets and their headers, without the
+user project explicitly opting into this, and without showing them a
+warning.
+
+Pick-to: 6.10
+Task-number: QTBUG-138712
+Change-Id: I63db9259bc6145cb247523896bcfd9f8f163f0f7
+Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
+---
+ src/location/CMakeLists.txt | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/src/location/CMakeLists.txt b/src/location/CMakeLists.txt
+index a7f49374c..acde933ab 100644
+--- a/src/location/CMakeLists.txt
++++ b/src/location/CMakeLists.txt
+@@ -85,14 +85,15 @@ qt_internal_add_module(Location
+ Qt::PositioningQuickPrivate
+ Qt::Qml
+ Qt::Quick
++ Qt::QuickShapesPrivate
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Positioning
+ Qt::PositioningQuick
+- Qt::QuickShapesPrivate
+ PRIVATE_MODULE_INTERFACE
+ Qt::CorePrivate
+ Qt::QuickPrivate
++ Qt::QuickShapesPrivate
+ Qt::PositioningPrivate
+ Qt::PositioningQuickPrivate
+ )
reply other threads:[~2026-10-08 20:01 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=179148966418.1.9060654734342567963.rpms-qt6-qtlocation-46eadaacf1b7@fedoraproject.org \
--to=jgrulich@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