public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Panu Matilainen <pmatilai@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rpm] rawhide: rpm-cron cleanups
Date: Mon, 23 Nov 2026 07:52:07 GMT [thread overview]
Message-ID: <179542032717.1.9655824480292689536.rpms-rpm-4f48db9761e6@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rpm
Branch : rawhide
Commit : 4f48db9761e6af78b1173e738f9e3670d7e1ad4b
Author : Panu Matilainen <pmatilai@redhat.com>
Date : 2026-11-19T17:03:59+02:00
Stats : +4/-3 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/rpm/c/4f48db9761e6af78b1173e738f9e3670d7e1ad4b?branch=rawhide
Log:
rpm-cron cleanups
The logrotate integration is packaged in rpm-cron, drop the redundant
files from /usr/lib/rpm. Package /var/log/ as %ghost to shut up rpmlint
on the directory ownership, and package the resulting /var/log/rpmpkgs
as a ghost as well.
---
diff --git a/rpm.spec b/rpm.spec
index 100673b..aa4bd32 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -256,7 +256,7 @@ This package contains API documentation for developing applications
that will manipulate RPM packages and databases.
%package cron
-Summary: Create daily logs of installed packages.
+Summary: Create daily logs of installed packages
BuildArch: noarch
Requires: crontabs logrotate rpm = %{version}-%{release}
@@ -427,6 +427,8 @@ ln -s ../../bin/find-debuginfo $RPM_BUILD_ROOT/usr/lib/rpm/find-debuginfo.sh
rm -f $RPM_BUILD_ROOT/%{rpmhome}/{perldeps.pl,perl.*,pythond*}
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}
%pre
# Symlink all rpmdb files to the new location if we're still using /var/lib/rpm
@@ -500,8 +502,6 @@ fi
%{rpmhome}/rpmrc
%{rpmhome}/rpmdb_*
-%{rpmhome}/rpm.daily
-%{rpmhome}/rpm.log
%{rpmhome}/rpm.supp
%{rpmhome}/rpm2cpio.sh
%{rpmhome}/tgpg
@@ -645,6 +645,7 @@ fi
%files cron
%{_sysconfdir}/cron.daily/rpm
%config(noreplace) %{_sysconfdir}/logrotate.d/rpm
+%ghost %attr(0644,root,root) /var/log/rpmpkgs
%files apidocs
%license COPYING
reply other threads:[~2026-11-23 7:52 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=179542032717.1.9655824480292689536.rpms-rpm-4f48db9761e6@fedoraproject.org \
--to=pmatilai@redhat.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