public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/gcc] rawhide: Fix a typo
@ 2026-08-31 22:01 Sun Haiyong
  0 siblings, 0 replies; only message in thread
From: Sun Haiyong @ 2026-08-31 22:01 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/gcc
            Branch : rawhide
            Commit : 7d10d240006f8ce1d21bcca2b8165d69e1670618
            Author : Sun Haiyong <sunhaiyong@zdbr.net>
            Date   : 2026-08-25T10:46:09+08:00
            Stats  : +4/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/gcc/c/7d10d240006f8ce1d21bcca2b8165d69e1670618?branch=rawhide

            Log:
            Fix a typo

I found a typo in the following lines:

%if %{build_libubsan}
  %{_prefix}/%{_lib}/libubsan.so.1 \
%%endif

Here, %%endif should be %endif. Otherwise, it causes the following error:

error: line 3334: Unclosed %if

---
diff --git a/gcc.spec b/gcc.spec
index c61b8d8..87ac842 100644
--- a/gcc.spec
+++ b/gcc.spec
@@ -3375,7 +3375,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
@@ -5173,6 +5173,9 @@ end
 %endif
 
 %changelog
+* Tue Aug 25 2026 Sun Haiyong <sunhaiyong@zdbr.net>
+- fix a typo.
+
 * Fri Aug 21 2026 Jakub Jelinek <jakub@redhat.com>
 - add cross compiler support for Fedora arches, for the time being
   disabled through macros

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

only message in thread, other threads:[~2026-08-31 22:01 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:01 [rpms/gcc] rawhide: Fix a typo Sun Haiyong

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