From a9109f7354b0f5cf7ff37143e1ff53d250c307f3 Mon Sep 17 00:00:00 2001 From: haochenstar Date: Wed, 23 Feb 2022 14:40:43 +0800 Subject: [PATCH] remove libdb dependency --- postfix.spec | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/postfix.spec b/postfix.spec index 09c1b38..cc71931 100644 --- a/postfix.spec +++ b/postfix.spec @@ -23,7 +23,7 @@ Name: postfix Summary: Postfix Mail Transport Agent Version: 3.3.1 -Release: 15 +Release: 16 Epoch: 2 URL: http://www.postfix.org License: (IPL-1.0 and GPLv2+) or (EPL-2.0 and GPLv2+) @@ -47,7 +47,7 @@ Patch8: fix-build-error-with_glibc2.30-ftbfs.patch Patch9: fix-multiple-definition-error-with-gcc-10.patch Patch10: postfix-3.6.2-glibc-234-build-fix.patch -BuildRequires: libdb-devel perl-generators pkgconfig zlib-devel systemd-units libicu-devel libnsl2-devel gcc m4 openldap-devel +BuildRequires: perl-generators pkgconfig zlib-devel systemd-units libicu-devel libnsl2-devel gcc m4 openldap-devel BuildRequires: cyrus-sasl-devel pcre-devel mariadb-connector-c-devel postgresql-devel sqlite-devel openssl-devel procps-ng BuildRequires: chrpath Requires(post): systemd-sysv %{_sbindir}/alternatives %{_bindir}/openssl @@ -156,6 +156,7 @@ fi CCARGS="${CCARGS} -DDEF_CONFIG_DIR=\\\"%{postfix_config_dir}\\\"" CCARGS="${CCARGS} $(getconf LFS_CFLAGS)" +CCARGS="${CCARGS} -DNO_DB" LDFLAGS="%{?__global_ldflags} %{?_hardened_build:-Wl,-z,relro,-z,now}" make -f Makefile.init makefiles shared=yes dynamicmaps=yes \ @@ -546,6 +547,12 @@ fi %{postfix_doc_dir}/README_FILES/* %changelog +* Wed Feb 23 2022 xihaochen - 2:3.3.1-16 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:remove libdb dependency + * Tue Sep 07 2021 gaihuiying - 2:3.3.1-15 - Type:bugfix - ID:NA