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/qcoro] epel9: Fix flatpak build
Date: Thu, 08 Oct 2026 21:02:30 GMT	[thread overview]
Message-ID: <179149335095.1.8283977952288484995.rpms-qcoro-8bdfc4e17031@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/qcoro
            Branch : epel9
            Commit : 8bdfc4e1703166844454e5278dfa4797482e342e
            Author : Yaakov Selkowitz <yselkowi@redhat.com>
            Date   : 2023-10-09T22:46:47-04:00
            Stats  : +2/-0 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/qcoro/c/8bdfc4e1703166844454e5278dfa4797482e342e?branch=epel9

            Log:
            Fix flatpak build

CMake will try to install the .pri files into the Qt installation root
rather than the chosen prefix, which breaks flatpak builds in /app.

---
diff --git a/qcoro.spec b/qcoro.spec
index 2d07fae..742bd40 100644
--- a/qcoro.spec
+++ b/qcoro.spec
@@ -95,6 +95,7 @@ mkdir %{qt5_build_dir} && pushd %{qt5_build_dir}
 %cmake -G Ninja \
     -S'..' \
     -DCMAKE_BUILD_TYPE=Release \
+    -DECM_MKSPECS_INSTALL_DIR=%{_libdir}/qt5/mkspecs/modules \
     -DUSE_QT_VERSION:STRING=5 \
     -DBUILD_TESTING:BOOL=ON \
     -DQCORO_BUILD_EXAMPLES:BOOL=ON \
@@ -113,6 +114,7 @@ mkdir %{qt6_build_dir} && pushd %{qt6_build_dir}
 %cmake -G Ninja \
     -S'..' \
     -DCMAKE_BUILD_TYPE=Release \
+    -DECM_MKSPECS_INSTALL_DIR=%{_libdir}/qt6/mkspecs/modules \
     -DUSE_QT_VERSION:STRING=6 \
     -DBUILD_TESTING:BOOL=ON \
     -DQCORO_BUILD_EXAMPLES:BOOL=ON \

                 reply	other threads:[~2026-10-08 21:02 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=179149335095.1.8283977952288484995.rpms-qcoro-8bdfc4e17031@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