add macros to control if need to eliminate bep differences
This commit is contained in:
parent
d24925b3ba
commit
954a845232
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
Name: bind-dyndb-ldap
|
Name: bind-dyndb-ldap
|
||||||
Version: 11.9
|
Version: 11.9
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: LDAP back-end plug-in for BIND
|
Summary: LDAP back-end plug-in for BIND
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: https://releases.pagure.org/bind-dyndb-ldap
|
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
|
autoreconf -fiv
|
||||||
export BIND9_CFLAGS='-I /usr/include/bind9 -DHAVE_TLS -DHAVE_THREAD_LOCAL'
|
export BIND9_CFLAGS='-I /usr/include/bind9 -DHAVE_TLS -DHAVE_THREAD_LOCAL'
|
||||||
%configure
|
%configure
|
||||||
|
%if %{?openEuler:1}0
|
||||||
%make_build
|
%make_build
|
||||||
|
%else
|
||||||
|
# unset SOURCE_DATE_EPOCH eliminate bep differences
|
||||||
|
unset SOURCE_DATE_EPOCH
|
||||||
|
%make_build
|
||||||
|
set SOURCE_DATE_EPOCH
|
||||||
|
%endif
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
@ -86,6 +93,12 @@ sed -i.bak -e "$SEDSCRIPT" /etc/named.conf
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jun 10 2022 gaihuiying <eaglegai@163.com> - 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 <xihaochen@h-partners.com> - 11.9-1
|
* Mon Mar 21 2022 xihaochen <xihaochen@h-partners.com> - 11.9-1
|
||||||
- Type:requirement
|
- Type:requirement
|
||||||
- ID:NA
|
- ID:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user