public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rpm] rawhide: Remove INSTALL and COPYING from docs
@ 2026-11-23  7:52 Panu Matilainen
  0 siblings, 0 replies; only message in thread
From: Panu Matilainen @ 2026-11-23  7:52 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/rpm
            Branch : rawhide
            Commit : 77cab64308f1c22ccb7b6ec06227b4924bb803e5
            Author : Panu Matilainen <pmatilai@redhat.com>
            Date   : 2026-11-19T17:03:59+02:00
            Stats  : +2/-0 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/rpm/c/77cab64308f1c22ccb7b6ec06227b4924bb803e5?branch=rawhide

            Log:
            Remove INSTALL and COPYING from docs

COPYING is a license and packaged as such, INSTALL is not useful
for a user of packaged software.

---
diff --git a/rpm.spec b/rpm.spec
index 15bd74a..03acd65 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -430,6 +430,8 @@ rm -f $RPM_BUILD_ROOT/%{_fileattrsdir}/{perl*,python*}
 rm -rf $RPM_BUILD_ROOT/var/tmp
 # Packaged in rpm-cron
 rm -f $RPM_BUILD_ROOT/%{rpmhome}/{rpm.daily,rpm.log}
+# INSTALL is not relevant in an rpm, COPYING is a license and packaged as such
+rm -f $RPM_BUILD_ROOT/%{_defaultdocdir}/rpm/{INSTALL,COPYING}
 
 %pre
 # Symlink all rpmdb files to the new location if we're still using /var/lib/rpm

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

only message in thread, other threads:[~2026-11-23  7:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-23  7:52 [rpms/rpm] rawhide: Remove INSTALL and COPYING from docs Panu Matilainen

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