public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/postfix] rawhide: Fix RHEL build of 3.11
@ 2026-06-10 13:54 Yaakov Selkowitz
  0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2026-06-10 13:54 UTC (permalink / raw)
  To: git-commits

            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

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

only message in thread, other threads:[~2026-06-10 13:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-10 13:54 [rpms/postfix] rawhide: Fix RHEL build of 3.11 Yaakov Selkowitz

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