public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Sun Haiyong <sunhaiyong@zdbr.net>
To: git-commits@fedoraproject.org
Subject: [rpms/gcc] rawhide: Fix a typo
Date: Mon, 31 Aug 2026 22:01:55 GMT	[thread overview]
Message-ID: <178821371504.1.663785314663613707.rpms-gcc-7d10d240006f@fedoraproject.org> (raw)

            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

                 reply	other threads:[~2026-08-31 22:01 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=178821371504.1.663785314663613707.rpms-gcc-7d10d240006f@fedoraproject.org \
    --to=sunhaiyong@zdbr.net \
    --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