From 5ac38bd071e8cc309eb3afbc40cb7c9095808e6e Mon Sep 17 00:00:00 2001 From: eaglegai Date: Fri, 10 Jun 2022 15:20:56 +0800 Subject: [PATCH] add macros to control if need to eliminate bep differences --- bind-dyndb-ldap.spec | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/bind-dyndb-ldap.spec b/bind-dyndb-ldap.spec index 60ac4aa..c80aee9 100644 --- a/bind-dyndb-ldap.spec +++ b/bind-dyndb-ldap.spec @@ -5,7 +5,7 @@ Name: bind-dyndb-ldap Version: 11.9 -Release: 1 +Release: 2 Summary: LDAP back-end plug-in for BIND License: GPLv2+ URL: https://releases.pagure.org/bind-dyndb-ldap @@ -41,7 +41,14 @@ a plug-in for BIND that provides an LDAP database back-end capabilities. autoreconf -fiv export BIND9_CFLAGS='-I /usr/include/bind9 -DHAVE_TLS -DHAVE_THREAD_LOCAL' %configure +%if %{?openEuler:1}0 %make_build +%else +# unset SOURCE_DATE_EPOCH eliminate bep differences +unset SOURCE_DATE_EPOCH +%make_build +set SOURCE_DATE_EPOCH +%endif %install rm -rf %{buildroot} @@ -86,6 +93,12 @@ sed -i.bak -e "$SEDSCRIPT" /etc/named.conf %changelog +* Fri Jun 10 2022 gaihuiying - 11.9-2 +- Type:bugfix +- CVE:NA +- SUG:NA +- DESC:add macros to control if need to eliminate bep differences + * Fri Dec 24 2021 yanglu - 11.9-1 - Type:requirement - ID:NA -- Gitee