public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/kubernetes1.34] f44: Add fdupes to eliminate rpmlint warning
@ 2026-08-23 16:02 Bradley G Smith
  0 siblings, 0 replies; only message in thread
From: Bradley G Smith @ 2026-08-23 16:02 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/kubernetes1.34
            Branch : f44
            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=f44

            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

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

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

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-23 16:02 [rpms/kubernetes1.34] f44: Add fdupes to eliminate rpmlint warning 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