Update:
This is what I have so far...i am quite certain it is not correct but it's
a shot....
Used this doc as reference:
https://backreference.org/2011/09/17/some-tips-on-rpm-conditional-macros/
git commits:
https://github.com/davama/freeradius-server/commit/4421c39180726ae16eb204...
Note: I commented this line because it is if the macro is enable/exist then
true...but need to specify which directives to give it depending on the
openldap source used....
#%if %{?_with_freeradius_ldap:1}%{!?_with_freeradius_ldap:0}
I could not find the corresponding "include-dir" for symas-openldap
Any input is much appreciated!
Thank you,
Dave
On Fri, Mar 27, 2020 at 11:11 AM Dave Macias <davama(a)gmail.com> wrote:
On Thu, Mar 26, 2020 at 3:44 PM Quanah Gibson-Mount
<quanah(a)symas.com>
wrote:
> Try it and see? I can't find any concrete documentation one way or the
> other, although it seems BuildRequires generally follows what Requires
> does. You may need to ask the people who maintain RPM.
>
> There are other issues in the spec file, however, like:
>
> --with-libfreeradius-ldap-include-dir=/usr/local/openldap/include
> \
> --with-libfreeradius-ldap-lib-dir=/usr/local/openldap/lib64 \
>
> are specific to LTB, might want to do something like they did around line
> 447 to only do this if the LTB openldap is in use.
>
Awesome!
Thank you very much for the input!
Will report how things go
-Dave