public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [flatpaks/flatpak-runtime] f45: Add flatpak-runtime-config to the srpm-buildroot group
@ 2026-09-11 14:41 Owen W. Taylor
  0 siblings, 0 replies; only message in thread
From: Owen W. Taylor @ 2026-09-11 14:41 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : flatpaks/flatpak-runtime
            Branch : f45
            Commit : be1ef9931a91d7b60a332708dcc30b898d42d474
            Author : Owen W. Taylor <otaylor@fishsoup.net>
            Date   : 2020-10-01T23:05:51+02:00
            Stats  : +8/-0 in 3 file(s)
            URL    : https://src.fedoraproject.org/flatpaks/flatpak-runtime/c/be1ef9931a91d7b60a332708dcc30b898d42d474?branch=f45

            Log:
            Add flatpak-runtime-config to the srpm-buildroot group

When we are building a SRPM that in a module that buildrequires
flatpak-runtime, already built packages will be in the repositories
that are used to install the "srpm-build" packages. We might end
up with libraries in /app/lib[64] because of this, so we need
flatpak-runtime-config.

For example, the libreoffice build rebuilds libssh - this is a
dependency of curl, so having a rebuilt libssh without having
/app/lib[64] in the path breaks 'rhpkg-simple sources'.

Also include flatpak-rpm-macros - we don't expect that any macros
in there would change how a SRPM is built, but if they *do* change
how a SPRM is built, then we want them installed when building the
SRPM.

---
diff --git a/flatpak-runtime-baseonly.in.yaml b/flatpak-runtime-baseonly.in.yaml
index 0d82f23..f13df02 100644
--- a/flatpak-runtime-baseonly.in.yaml
+++ b/flatpak-runtime-baseonly.in.yaml
@@ -19,6 +19,8 @@ data:
             rpms: []
         buildroot:
             rpms: [flatpak-rpm-macros, flatpak-runtime-config]
+        srpm-buildroot:
+            rpms: [flatpak-rpm-macros, flatpak-runtime-config]
     api:
         rpms:
             - flatpak-rpm-macros

diff --git a/flatpak-runtime.in.yaml b/flatpak-runtime.in.yaml
index 7cbf91f..77ffee8 100644
--- a/flatpak-runtime.in.yaml
+++ b/flatpak-runtime.in.yaml
@@ -26,6 +26,8 @@ data:
             rpms: []
         buildroot:
             rpms: [flatpak-rpm-macros, flatpak-runtime-config]
+        srpm-buildroot:
+            rpms: [flatpak-rpm-macros, flatpak-runtime-config]
     api:
         rpms:
             - flatpak-rpm-macros

diff --git a/flatpak-runtime.yaml b/flatpak-runtime.yaml
index ee3e772..51216cf 100644
--- a/flatpak-runtime.yaml
+++ b/flatpak-runtime.yaml
@@ -3367,6 +3367,10 @@ data:
       rpms:
       - flatpak-rpm-macros
       - flatpak-runtime-config
+    srpm-buildroot:
+      rpms:
+      - flatpak-rpm-macros
+      - flatpak-runtime-config
   api:
     rpms:
     - flatpak-rpm-macros

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-11 14:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-11 14:41 [flatpaks/flatpak-runtime] f45: Add flatpak-runtime-config to the srpm-buildroot group Owen W. Taylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox