public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/smatch] rawhide: Remove cgcc and use the one from sparse instead, to prevent a
@ 2026-11-10 13:21 Bastien Nocera
0 siblings, 0 replies; only message in thread
From: Bastien Nocera @ 2026-11-10 13:21 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-10 13:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-10 13:21 [rpms/smatch] rawhide: Remove cgcc and use the one from sparse instead, to prevent a Bastien Nocera
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox