public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Bradley G Smith <bradley.g.smith@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/containerd] epel10: Resolve rpmlint errors
Date: Fri, 23 Oct 2026 01:16:28 GMT [thread overview]
Message-ID: <179271818869.1.11058836361620310568.rpms-containerd-e8cd36f9026c@fedoraproject.org> (raw)
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',
+]
+
reply other threads:[~2026-10-23 1:16 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=179271818869.1.11058836361620310568.rpms-containerd-e8cd36f9026c@fedoraproject.org \
--to=bradley.g.smith@gmail.com \
--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