remove libdb dependency
This commit is contained in:
parent
60d9770b0b
commit
a9109f7354
11
postfix.spec
11
postfix.spec
@ -23,7 +23,7 @@
|
|||||||
Name: postfix
|
Name: postfix
|
||||||
Summary: Postfix Mail Transport Agent
|
Summary: Postfix Mail Transport Agent
|
||||||
Version: 3.3.1
|
Version: 3.3.1
|
||||||
Release: 15
|
Release: 16
|
||||||
Epoch: 2
|
Epoch: 2
|
||||||
URL: http://www.postfix.org
|
URL: http://www.postfix.org
|
||||||
License: (IPL-1.0 and GPLv2+) or (EPL-2.0 and GPLv2+)
|
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
|
Patch9: fix-multiple-definition-error-with-gcc-10.patch
|
||||||
Patch10: postfix-3.6.2-glibc-234-build-fix.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: cyrus-sasl-devel pcre-devel mariadb-connector-c-devel postgresql-devel sqlite-devel openssl-devel procps-ng
|
||||||
BuildRequires: chrpath
|
BuildRequires: chrpath
|
||||||
Requires(post): systemd-sysv %{_sbindir}/alternatives %{_bindir}/openssl
|
Requires(post): systemd-sysv %{_sbindir}/alternatives %{_bindir}/openssl
|
||||||
@ -156,6 +156,7 @@ fi
|
|||||||
CCARGS="${CCARGS} -DDEF_CONFIG_DIR=\\\"%{postfix_config_dir}\\\""
|
CCARGS="${CCARGS} -DDEF_CONFIG_DIR=\\\"%{postfix_config_dir}\\\""
|
||||||
CCARGS="${CCARGS} $(getconf LFS_CFLAGS)"
|
CCARGS="${CCARGS} $(getconf LFS_CFLAGS)"
|
||||||
|
|
||||||
|
CCARGS="${CCARGS} -DNO_DB"
|
||||||
LDFLAGS="%{?__global_ldflags} %{?_hardened_build:-Wl,-z,relro,-z,now}"
|
LDFLAGS="%{?__global_ldflags} %{?_hardened_build:-Wl,-z,relro,-z,now}"
|
||||||
|
|
||||||
make -f Makefile.init makefiles shared=yes dynamicmaps=yes \
|
make -f Makefile.init makefiles shared=yes dynamicmaps=yes \
|
||||||
@ -546,6 +547,12 @@ fi
|
|||||||
%{postfix_doc_dir}/README_FILES/*
|
%{postfix_doc_dir}/README_FILES/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Feb 23 2022 xihaochen<xihaochen@h-partner.com> - 2:3.3.1-16
|
||||||
|
- Type:bugfix
|
||||||
|
- ID:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:remove libdb dependency
|
||||||
|
|
||||||
* Tue Sep 07 2021 gaihuiying <gaihuiying1@huawei.com> - 2:3.3.1-15
|
* Tue Sep 07 2021 gaihuiying <gaihuiying1@huawei.com> - 2:3.3.1-15
|
||||||
- Type:bugfix
|
- Type:bugfix
|
||||||
- ID:NA
|
- ID:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user