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/moby-engine] f44: Fix rpmlint errors and warnings
Date: Sun, 04 Oct 2026 19:29:01 GMT [thread overview]
Message-ID: <179114214136.1.12947581542863756894.rpms-moby-engine-66fb8ec1b4fa@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/moby-engine
Branch : f44
Commit : 66fb8ec1b4fa9e69fa7ea6f216007fb936d944ef
Author : Bradley G Smith <bradley.g.smith@gmail.com>
Date : 2026-10-04T10:07:36-07:00
Stats : +65/-4 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/moby-engine/c/66fb8ec1b4fa9e69fa7ea6f216007fb936d944ef?branch=f44
Log:
Fix rpmlint errors and warnings
- remove shebang from bash completion
- drop c lang files included in licenses
- remove duplicate license
- add rpmlint exception for missing docker-proxy man page
- add rpmlint exception for devel-dependency false positive for
tini-static
Signed-off-by: Bradley G Smith <bradley.g.smith@gmail.com>
---
diff --git a/1000-fix-bash-completions.patch b/1000-fix-bash-completions.patch
new file mode 100644
index 0000000..9c1de1b
--- /dev/null
+++ b/1000-fix-bash-completions.patch
@@ -0,0 +1,28 @@
+From c9947dc65a1f931f3a74a3059b6d493ee45af39e Mon Sep 17 00:00:00 2001
+From: Bradley G Smith <bradley.g.smith@gmail.com>
+Date: Sat, 3 Oct 2026 15:23:46 -0700
+Subject: [PATCH] Fix bash completion file
+
+- Replace bash shebang with completion text
+---
+ contrib/completion/bash/docker | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/contrib/completion/bash/docker b/contrib/completion/bash/docker
+index a78b08a6e4..4a18fa037e 100644
+--- a/contrib/completion/bash/docker
++++ b/contrib/completion/bash/docker
+@@ -1,9 +1,9 @@
+-#!/usr/bin/env bash
++# docker completion -*- shell-script -*-
+ # shellcheck disable=SC2016,SC2119,SC2155,SC2206,SC2207,SC2254
+ #
+ # Shellcheck ignore list:
+ # - SC2016: Expressions don't expand in single quotes, use double quotes for that.
+ # - SC2119: Use foo "$@" if function's $1 should mean script's $1.
+ # - SC2155: Declare and assign separately to avoid masking return values.
+ # - SC2206: Quote to prevent word splitting, or split robustly with mapfile or read -a.
+ # - SC2207: Prefer mapfile or read -a to split command output (or quote to avoid splitting).
+--
+2.55.0
+
diff --git a/cli_go-vendor-tools.toml b/cli_go-vendor-tools.toml
index d1c680b..250cfe6 100644
--- a/cli_go-vendor-tools.toml
+++ b/cli_go-vendor-tools.toml
@@ -1,6 +1,7 @@
[licensing]
detector = "trivy"
exclude_files = [
+ "vendor/github.com/prometheus/client_golang/prometheus/process_collector_mem_cgo_darwin.c",
"vendor/go.opentelemetry.io/otel/get_main_pkgs.sh",
"vendor/go.opentelemetry.io/otel/verify_examples.sh",
"vendor/google.golang.org/grpc/regenerate.sh",
diff --git a/engine_go-vendor-tools.toml b/engine_go-vendor-tools.toml
index ec16722..fdb20b0 100644
--- a/engine_go-vendor-tools.toml
+++ b/engine_go-vendor-tools.toml
@@ -1,6 +1,8 @@
[licensing]
detector = "trivy"
exclude_files = [
+ "vendor/github.com/petermattis/goid/goid_go1.3.c",
+ "vendor/github.com/prometheus/client_golang/prometheus/process_collector_mem_cgo_darwin.c",
"vendor/go.opentelemetry.io/otel/get_main_pkgs.sh",
"vendor/go.opentelemetry.io/otel/verify_examples.sh",
"vendor/google.golang.org/grpc/regenerate.sh",
diff --git a/moby-engine.spec b/moby-engine.spec
index 921ff2e..19ba214 100644
--- a/moby-engine.spec
+++ b/moby-engine.spec
@@ -71,8 +71,9 @@ Source201: cli_go-vendor-tools.toml
Patch0: 0001-systemd-adjust-docker.service-for-downstream.patch
# Patches 1000+ are for docker/cli
-# Patch1000:
+Patch1000: 1000-fix-bash-completions.patch
+BuildRequires: fdupes
BuildRequires: git-core
BuildRequires: go-vendor-tools
BuildRequires: make
@@ -94,7 +95,7 @@ Requires: /usr/bin/tini-static
# Other runtime packages (sorted)
Requires: container-selinux
Requires: iptables
-Requires: libseccomp
+# Requires: libseccomp
Requires: nftables
Requires: pigz
Requires: systemd
@@ -161,9 +162,11 @@ Conflicts: docker-ee-cli
# Conflict with podman-docker that also contains /usr/bin/docker
Conflicts: podman-docker
+# v24.0.5 was released on 24 Jul 2023, commenting out for
+# future removal
# Obsolete old separate shell completions packages
-Obsoletes: moby-engine-fish-completion < 24.0.5-6
-Obsoletes: moby-engine-zsh-completion < 24.0.5-6
+# Obsoletes: moby-engine-fish-completion < 24.0.5-6
+# Obsoletes: moby-engine-zsh-completion < 24.0.5-6
%description -n docker-cli %{common_description}
@@ -262,6 +265,10 @@ mkdir %{buildroot}%{_libexecdir}/docker/cli-plugins
cd %{engine_dir}
# Install licenses
%go_vendor_license_install -c %{S:200}
+
+# additional license deduplication
+%fdupes %{buildroot}%{_datadir}/licenses/%{name}
+
# Install binaries
install -Dpm 0755 bundles/dynbinary*/* -t %{buildroot}%{_bindir}
# Create docker-init -> tini-static symlink
@@ -281,6 +288,7 @@ install -Dpm 0755 contrib/dockerd-rootless* -t %{buildroot}%{_bindir}
cd %{cli_dir}
# Install licenses
%go_vendor_license_install -c %{S:201}
+
# Install docker-cli
install -Dpm 0755 build/docker -t %{buildroot}%{_bindir}
# Install shell completions
diff --git a/rpmlint.toml b/rpmlint.toml
new file mode 100644
index 0000000..b2c4bbc
--- /dev/null
+++ b/rpmlint.toml
@@ -0,0 +1,22 @@
+Filters = [
+ # SORRY, NOT SORRY:
+ # manual pages
+ 'no-manual-page-for-binary',
+
+ # false positive labelling tini-static as a development dependency
+ 'devel-dependency',
+
+ # SPELLING ERRORS
+ 'spelling-error',
+
+ # false positive - invalid url for vendor archives
+ 'invalid-url',
+
+ # for macro subpackage
+ 'only-non-binary-in-usr-lib',
+
+ # for subpackages
+ 'no-documentation',
+
+
+]
reply other threads:[~2026-10-04 19:29 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=179114214136.1.12947581542863756894.rpms-moby-engine-66fb8ec1b4fa@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