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] pmatilai-v6: Move bdb specific systemd-tmpfiles cleanup crutch behind the bdb bcond
Date: Mon, 23 Nov 2026 09:33:10 GMT	[thread overview]
Message-ID: <179542639075.1.17330779337552127992.rpms-rpm-52a9ca7aad3e@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/rpm
Branch : pmatilai-v6
Commit : 52a9ca7aad3e0fa1f68db15543978f217d3be03d
Author : Panu Matilainen <pmatilai@redhat.com>
Date   : 2020-04-01T14:10:37+03:00
Stats  : +10/-2 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/rpm/c/52a9ca7aad3e0fa1f68db15543978f217d3be03d?branch=pmatilai-v6

Log:
Move bdb specific systemd-tmpfiles cleanup crutch behind the bdb bcond

---
diff --git a/rpm.spec b/rpm.spec
index 3143f94..1252867 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -25,17 +25,17 @@
 
 %global rpmver 4.15.90
 %global snapver git14971
-%global rel 1
+%global rel 2
 
 %global srcver %{version}%{?snapver:-%{snapver}}
 %global srcdir %{?snapver:testing}%{!?snapver:%{name}-%(echo %{version} | cut -d'.' -f1-2).x}
 
 %if %{with bdb}
 %define bdbver 5.3.15
-%endif
 
 # Build-dependency on systemd for the sake of one macro would be a bit much...
 %{!?_tmpfilesdir:%global _tmpfilesdir /usr/lib/tmpfiles.d}
+%endif
 
 Summary: The RPM package management system
 Name: rpm
@@ -359,8 +359,10 @@ install -m 755 scripts/rpm.daily ${RPM_BUILD_ROOT}%{_sysconfdir}/cron.daily/rpm
 mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/logrotate.d
 install -m 644 scripts/rpm.log ${RPM_BUILD_ROOT}%{_sysconfdir}/logrotate.d/rpm
 
+%if %{with bdb}
 mkdir -p ${RPM_BUILD_ROOT}%{_tmpfilesdir}
 echo "r /var/lib/rpm/__db.*" > ${RPM_BUILD_ROOT}%{_tmpfilesdir}/rpm.conf
+%endif
 
 mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/rpm
 mkdir -p $RPM_BUILD_ROOT%{rpmhome}/macros.d
@@ -389,7 +391,10 @@ make check || (cat tests/rpmtests.log; exit 1)
 %license COPYING
 %doc CREDITS doc/manual/[a-z]*
 
+%if %{with bdb}
 %{_tmpfilesdir}/rpm.conf
+%endif
+
 %dir %{_sysconfdir}/rpm
 
 %attr(0755, root, root) %dir /var/lib/rpm
@@ -518,6 +523,9 @@ make check || (cat tests/rpmtests.log; exit 1)
 %doc doc/librpm/html/*
 
 %changelog
+* Tue Mar 31 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.90-0.git14971.2
+- Move bdb specific systemd-tmpfiles cleanup crutch behind the bdb bcond
+
 * Tue Mar 31 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.90-0.git14971.1
 - Rebase to rpm 4.16 alpha (https://rpm.org/wiki/Releases/4.16.0)
 - Add bconds for and enable sqlite, ndb and bdb_ro database backends

                 reply	other threads:[~2026-11-23  9:33 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=179542639075.1.17330779337552127992.rpms-rpm-52a9ca7aad3e@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