public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Neal Gompa <ngompa@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/rpm] pmatilai-v6: Create rpmdb directory symlink in posttrans by default (#2066427)
Date: Mon, 23 Nov 2026 09:34:11 GMT [thread overview]
Message-ID: <179542645132.1.12633100978052840827.rpms-rpm-391c3aeb66e8@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rpm
Branch : pmatilai-v6
Commit : 391c3aeb66e8c2a0ac684580ac82c41d7da2128b
Author : Neal Gompa <ngompa@fedoraproject.org>
Date : 2022-03-21T18:42:53-04:00
Stats : +8/-1 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/rpm/c/391c3aeb66e8c2a0ac684580ac82c41d7da2128b?branch=pmatilai-v6
Log:
Create rpmdb directory symlink in posttrans by default (#2066427)
---
diff --git a/rpm.spec b/rpm.spec
index a356c5a..9f9c543 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -30,7 +30,7 @@
%global rpmver 4.17.0
#global snapver rc1
-%global baserelease 9
+%global baserelease 10
%global sover 9
%global srcver %{rpmver}%{?snapver:-%{snapver}}
@@ -449,6 +449,10 @@ fi
if [ -d /var/lib/rpm ]; then
touch /var/lib/rpm/.migratedb
fi
+if [ ! -d /var/lib/rpm ] && [ -d /usr/lib/sysimage/rpm ] && [ ! -f /usr/lib/sysimage/rpm/.rpmdbdirsymlink_created ]; then
+ ln -sfr /var/lib/rpm /usr/lib/sysimage/rpm
+ touch /usr/lib/sysimage/rpm/.rpmdbdirsymlink_created
+fi
%files -f rpm.lang
%license COPYING
@@ -605,6 +609,9 @@ fi
%doc docs/librpm/html/*
%changelog
+* Mon Mar 21 2022 Neal Gompa <ngompa@fedoraproject.org> - 4.17.0-10
+- Create rpmdb directory symlink in posttrans by default (#2066427)
+
* Wed Feb 16 2022 Neal Gompa <ngompa@fedoraproject.org> - 4.17.0-9
- Add dependencies for the rpmdb migration scriptlet (#2055033)
reply other threads:[~2026-11-23 9:34 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=179542645132.1.12633100978052840827.rpms-rpm-391c3aeb66e8@fedoraproject.org \
--to=ngompa@fedoraproject.org \
--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