public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Yaakov Selkowitz <yselkowi@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/postfix] rawhide: Fix RHEL build of 3.11
Date: Wed, 10 Jun 2026 13:54:45 GMT [thread overview]
Message-ID: <178109968562.1.884197711606575485.rpms-postfix-331b7f55ccc9@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/postfix
Branch : rawhide
Commit : 331b7f55ccc978607a2ed1ececc053972e6799c3
Author : Yaakov Selkowitz <yselkowi@redhat.com>
Date : 2026-06-10T09:51:55-04:00
Stats : +4/-0 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/postfix/c/331b7f55ccc978607a2ed1ececc053972e6799c3?branch=rawhide
Log:
Fix RHEL build of 3.11
Both default_database_type and default_cache_db_type need to be specified
at build time.
---
diff --git a/postfix.spec b/postfix.spec
index 4bd1481..78e3ef1 100644
--- a/postfix.spec
+++ b/postfix.spec
@@ -296,6 +296,7 @@ done
sed -i '/^\s*alias_database\s*=\s*hash:\/etc\/aliases/ s|hash:|lmdb:|g' conf/main.cf
echo >> conf/main.cf
echo "default_database_type = lmdb" >> conf/main.cf
+ echo "default_cache_db_type = lmdb" >> conf/main.cf
%endif
%build
@@ -381,6 +382,9 @@ make -f Makefile.init makefiles shared=yes dynamicmaps=yes \
AUXLIBS_CDB="${AUXLIBS_CDB}" \
DEBUG="" SHLIB_RPATH="-Wl,-rpath,%{postfix_shlib_dir} $LDFLAGS" \
OPT="$CFLAGS -fno-strict-aliasing -Wno-comment" \
+%if 0%{?defmap_lmdb}
+ default_database_type=lmdb default_cache_db_type=lmdb \
+%endif
POSTFIX_INSTALL_OPTS=-keep-build-mtime
%make_build
reply other threads:[~2026-06-10 13:54 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=178109968562.1.884197711606575485.rpms-postfix-331b7f55ccc9@fedoraproject.org \
--to=yselkowi@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