diff --git a/pure-ftpd.changes b/pure-ftpd.changes index d9e3679..095e3e7 100644 --- a/pure-ftpd.changes +++ b/pure-ftpd.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat May 1 09:07:59 UTC 2021 - Luigi Baldoni + +- Fix build + ------------------------------------------------------------------- Wed May 6 08:51:02 UTC 2020 - Peter Simons diff --git a/pure-ftpd.spec b/pure-ftpd.spec index 9824806..e30f214 100644 --- a/pure-ftpd.spec +++ b/pure-ftpd.spec @@ -81,8 +81,9 @@ Apache log files, and more. %patch10 -p1 %build -#CFLAGS="%{optflags} -DLDAP_DEPRECATED -fstack-protector -fvisibility=hidden" -%configure --docdir=%{_docdir}/%{name} \ +CFLAGS="%{optflags} -I%{_includedir}/mysql" +%configure \ + --docdir=%{_docdir}/%{name} \ --with-rfc2640 \ --sysconfdir=%{_sysconfdir}/%{name} \ --with-ldap \ @@ -108,7 +109,8 @@ Apache log files, and more. --with-peruserlimits \ --with-virtualchroot \ --with-extauth -make %{?_smp_mflags} +%make_build +#{?_smp_mflags} %install %make_install