#4 Remove package notes from flatpak-builder compile flags
Merged a year ago by kalev. Opened a year ago by yselkowitz.
rpms/ yselkowitz/flatpak-runtime-config optflags  into  f37

file modified
+8 -1
@@ -1,6 +1,10 @@ 

+ # package notes require setting RPM-specific environment variables,

+ # incompatible with flatpak-builder

+ %undefine _package_note_flags

+ 

  Name:           flatpak-runtime-config

  Version:        37

- Release:        2%{?dist}

+ Release:        3%{?dist}

  Summary:        Configuration files that live inside the flatpak runtime

  Source1:        50-flatpak.conf

  Source2:        usercustomize.py
@@ -86,6 +90,9 @@ 

  %{_sysconfdir}/ld.so.conf.d/app.conf

  

  %changelog

+ * Tue Feb 21 2023 Yaakov Selkowitz <yselkowi@redhat.com> - 37-3

+ - Remove package notes from flatpak-builder compile flags

+ 

  * Tue Sep 06 2022 Kalev Lember <klember@redhat.com> - 37-2

  - Correctly substitute /app/lib in flatpak-builder defaults.json ldflags

  - Revert "Fix search paths for /app-installed python modules" (#2026979)

As implemented in redhat-rpm-config, package notes requires several RPM-specific environment variables to be set, and therefore only work with RPM builds. This causes gcc to be unable to compile in other use cases, such as with flatpak-builder.

This is needed to allow our SDKs to be used in place of FD.o's with flatpak-builder.

Makes sense to me! Thanks.

Pull-Request has been merged by kalev

a year ago
Metadata