public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Bastien Nocera <hadess@hadess.net>
To: git-commits@fedoraproject.org
Subject: [rpms/smatch] rawhide: Remove cgcc and use the one from sparse instead, to prevent a
Date: Tue, 10 Nov 2026 13:21:10 GMT	[thread overview]
Message-ID: <179431687099.1.11153601037110710817.rpms-smatch-2f52bd854dcf@fedoraproject.org> (raw)

          A new commit has been pushed.

          Repo   : rpms/smatch
          Branch : rawhide
          Commit : 2f52bd854dcfe728b8fdfbe6a7a914bfaced0328
          Author : Bastien Nocera <hadess@hadess.net>
          Date   : 2026-11-10T14:20:47+01:00
          Stats  : +6/-3 in 1 file(s)
          URL    : https://src.fedoraproject.org/rpms/smatch/c/2f52bd854dcfe728b8fdfbe6a7a914bfaced0328?branch=rawhide

          Log:
          Remove cgcc and use the one from sparse instead, to prevent a

file conflict (#2566754)

---
diff --git a/smatch.spec b/smatch.spec
index 72ca3d3..e632d1c 100644
--- a/smatch.spec
+++ b/smatch.spec
@@ -1,6 +1,6 @@
 Name:       smatch
 Version:    1.75
-Release:    4%{?dist}
+Release:    5%{?dist}
 Summary:    A static analyzer for C
 
 # License breakdown:
@@ -28,6 +28,7 @@ BuildRequires: openssl-devel
 BuildRequires: sqlite-devel
 
 Requires: %{name}-data = %{version}-%{release}
+Requires: sparse
 
 Provides: bundled(cwchash)
 Provides: bundled(sparse)
@@ -54,7 +55,6 @@ Data for Smatch the static analysis tool for C.
 
 %install
 %make_install PREFIX='%{_prefix}'
-install -m755 cgcc %{buildroot}%{_bindir}/cgcc
 
 %check
 echo 'int main(void) { int a[2]; return a[2]; }' > test.c
@@ -65,12 +65,15 @@ grep "test.c:1 main() error: buffer overflow 'a' 2 <= 2" out
 %doc README Documentation/{arm64-detecting-tagged-addresses,smatch}.txt
 %license GPL-2 LICENSE
 %{_bindir}/%{name}
-%{_bindir}/cgcc
 
 %files data
 %{_datadir}/%{name}
 
 %changelog
+* Tue Nov 10 2026 Bastien Nocera <bnocera@redhat.com> - 1.75-5
+- Remove cgcc and use the one from sparse instead, to prevent a
+  file conflict (#2566754)
+
 * Thu Aug 13 2026 Bastien Nocera <bnocera@redhat.com> - 1.75-4
 - Also install cgcc wrapper tool
 

                 reply	other threads:[~2026-11-10 13:21 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=179431687099.1.11153601037110710817.rpms-smatch-2f52bd854dcf@fedoraproject.org \
    --to=hadess@hadess.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