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/kubernetes1.34] rawhide: Add fdupes to eliminate rpmlint warning
Date: Sun, 23 Aug 2026 15:09:52 GMT [thread overview]
Message-ID: <178749779281.1.950896006246687845.rpms-kubernetes1.34-ca481750c047@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/kubernetes1.34
Branch : rawhide
Commit : ca481750c047053b12dc125d112bc1a5eb3250d6
Author : Bradley G Smith <bradley.g.smith@gmail.com>
Date : 2026-08-22T16:44:40-07:00
Stats : +9/-3 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/kubernetes1.34/c/ca481750c047053b12dc125d112bc1a5eb3250d6?branch=rawhide
Log:
Add fdupes to eliminate rpmlint warning
- With current releases kubernetes, rpmlint is flagging multiple
duplicate license related files
- Added fdupes macro to eliminate these warnings
Signed-off-by: Bradley G Smith <bradley.g.smith@gmail.com>
---
diff --git a/template/kubernetes-template.spec b/template/kubernetes-template.spec
index c799fb4..5e03dd3 100644
--- a/template/kubernetes-template.spec
+++ b/template/kubernetes-template.spec
@@ -75,15 +75,16 @@ Source117: kubelet.env
# kubernetes-kubeadm.
#
# Build requires for all packages
+BuildRequires: fdupes
+BuildRequires: go-rpm-macros
BuildRequires: go-vendor-tools
BuildRequires: golang-github-cpuguy83-md2man
BuildRequires: golang >= %{golangver}
-BuildRequires: go-rpm-macros
BuildRequires: make
-BuildRequires: go-md2man
+BuildRequires: /usr/bin/go-md2man
+BuildRequires: rsync
BuildRequires: systemd
BuildRequires: systemd-rpm-macros
-BuildRequires: rsync
# additonal kubelet requirements
Requires: kubernetes-cni
@@ -320,6 +321,11 @@ mv CHANGELOG/CHANGELOG-*.md .
# change log. no need to include generated rpms
rm CHANGELOG.md
+# additional license deduplication
+%fdupes %{buildroot}%{_datadir}/licenses/%{k8s_name}
+
+##############################################
+##############################################
%check
%go_vendor_license_check -c %{S:2}
if [ 1 != 1 ]; then
reply other threads:[~2026-08-23 15:09 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=178749779281.1.950896006246687845.rpms-kubernetes1.34-ca481750c047@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