public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/containerd] epel10: Resolve rpmlint errors
@ 2026-10-23  1:16 Bradley G Smith
  0 siblings, 0 replies; only message in thread
From: Bradley G Smith @ 2026-10-23  1:16 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/containerd
            Branch : epel10
            Commit : e8cd36f9026c8ce178a0aec42b7d36aed21e00b3
            Author : Bradley G Smith <bradley.g.smith@gmail.com>
            Date   : 2026-10-22T16:36:17-07:00
            Stats  : +23/-0 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/containerd/c/e8cd36f9026c8ce178a0aec42b7d36aed21e00b3?branch=epel10

            Log:
            Resolve rpmlint errors

- Add changes made in other branches to fix rpmlint findings

Signed-off-by: Bradley G Smith <bradley.g.smith@gmail.com>

---
diff --git a/containerd.spec b/containerd.spec
index 639e05c..10e6d87 100644
--- a/containerd.spec
+++ b/containerd.spec
@@ -30,6 +30,7 @@ Source1:        %{archivename}-vendor.tar.bz2
 Source2:        go-vendor-tools.toml
 Source3:        containerd.toml
 
+BuildRequires:  fdupes
 BuildRequires:  /usr/bin/go-md2man
 BuildRequires:  btrfs-progs-devel
 BuildRequires:  go-vendor-tools
@@ -126,6 +127,9 @@ install -p -m 0644 man/ctr.8                    %{buildroot}%{_mandir}/man8
 install -p -m 0644 man/containerd.8             %{buildroot}%{_mandir}/man8
 install -p -m 0644 man/containerd-config.8      %{buildroot}%{_mandir}/man8
 
+# remove duplicate license files
+%fdupes %{buildroot}%{_datadir}/licenses/%{name}
+
 %check
 %go_vendor_license_check -c %{S:2}
 

diff --git a/go-vendor-tools.toml b/go-vendor-tools.toml
index d59773e..404465e 100644
--- a/go-vendor-tools.toml
+++ b/go-vendor-tools.toml
@@ -8,6 +8,13 @@ exclude_directories = [
     "test",
 ]
 
+exclude_files = [
+    "vendor/github.com/containerd/btrfs/v2/btrfs.c",
+    "vendor/github.com/containerd/btrfs/v2/btrfs.h",
+    "vendor/github.com/petermattis/goid/goid_go1.3.c",
+    "vendor/github.com/prometheus/client_golang/prometheus/process_collector_mem_cgo_darwin.c",
+]
+
 [[licensing.licenses]]
 path = "vendor/github.com/grpc-ecosystem/go-grpc-middleware/v2/COPYRIGHT"
 sha256sum = "8befb41eac649775143c81fddaf84b7d7e1197899d968b8b51cfec405f2ff72f"

diff --git a/rpmlint.toml b/rpmlint.toml
new file mode 100644
index 0000000..d6cffec
--- /dev/null
+++ b/rpmlint.toml
@@ -0,0 +1,12 @@
+Filters = [
+	
+    # shim and stress not used directly
+    'no-manual-page-for-binary',
+
+    # source urls correct
+    'invalid-url',
+
+   #fdupes not removing some duplicate license files
+   'files-duplicate',
+]
+

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

only message in thread, other threads:[~2026-10-23  1:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-23  1:16 [rpms/containerd] epel10: Resolve rpmlint errors Bradley G Smith

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