From 954a8452323b297d53c28d58c2624d512fa48022 Mon Sep 17 00:00:00 2001 From: eaglegai Date: Fri, 10 Jun 2022 15:16:39 +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 65d34c3..3f8607f 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 + * Mon Mar 21 2022 xihaochen - 11.9-1 - Type:requirement - ID:NA