public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/gcc] snapshot: Fix %%endif typo in cross-compiler sysroot file list
@ 2026-08-31 22:38 Siddhesh Poyarekar
  0 siblings, 0 replies; only message in thread
From: Siddhesh Poyarekar @ 2026-08-31 22:38 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/gcc
            Branch : snapshot
            Commit : 06e8169408f350475f656a1950f99ebced6494f2
            Author : Siddhesh Poyarekar <sipoyare@redhat.com>
            Date   : 2026-08-31T18:36:06-04:00
            Stats  : +1/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/gcc/c/06e8169408f350475f656a1950f99ebced6494f2?branch=snapshot

            Log:
            Fix %%endif typo in cross-compiler sysroot file list

The cross compiler support merge (273717f from rawhide) has a literal
%%endif instead of %endif closing the %if %{build_libubsan} block in
the sysroot package's %install file list, which left that %if
unclosed and made the spec fail to parse ("Unclosed %if").

Assisted-by: Claude <noreply@anthropic.com>

---
diff --git a/gcc.spec b/gcc.spec
index b17559f..375c2e9 100644
--- a/gcc.spec
+++ b/gcc.spec
@@ -3417,7 +3417,7 @@ for f in /%{_lib}/libgcc_s.so.1 \
 %endif
 %if %{build_libubsan}
   %{_prefix}/%{_lib}/libubsan.so.1 \
-%%endif
+%endif
   ; do
     mkdir -p %{buildroot}/%{sysroot_prefix}/$(dirname $f)
     cp %{buildroot}$f %{buildroot}/%{sysroot_prefix}/$f

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

only message in thread, other threads:[~2026-08-31 22:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-31 22:38 [rpms/gcc] snapshot: Fix %%endif typo in cross-compiler sysroot file list Siddhesh Poyarekar

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