diff --git a/bind-dyndb-ldap.spec b/bind-dyndb-ldap.spec index 606b189..4680568 100644 --- a/bind-dyndb-ldap.spec +++ b/bind-dyndb-ldap.spec @@ -55,12 +55,11 @@ off of your LDAP server. autoreconf -fiv export BIND9_CFLAGS='-I /usr/include/bind9 -DHAVE_TLS -DHAVE_THREAD_LOCAL' %configure -make %{?_smp_mflags} +%make_build %install -rm -rf %{buildroot} -make install DESTDIR=%{buildroot} +%make_install mkdir -m 770 -p %{buildroot}/%{_localstatedir}/named/dyndb-ldap # Remove unwanted files @@ -120,6 +119,8 @@ sed -i.bak -e "$SEDSCRIPT" /etc/named.conf %changelog * Tue Jan 12 2021 Petr Menšík - 11.6-4 - Support BIND 9.16.10 +- Use make macros +- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro * Thu Dec 17 2020 Alexander Bokovoy - 11.6-3 - Both require bind and require it for pre-install script