The module mod_dosevasive20 is move in lib/httpd/modules/ and not in lib64/httpd/modules
When I look in the spec I see that the module is moved in %(_libdir) so it should be fine.
More when I look at /usr/lib/rpm/x86_64-linux/macros the _libdir is set to lib64
but in /usr/lib/rpm/macros it is set to lib and not lib64.
%_lib lib
%_libdir %{_exec_prefix}/%{_lib}
Well I assume it is the macro with lib that is choosed ? or the _libdir is overwrited somewhere.
How to be sure the rpmbuild use /usr/lib/rpm/x86_64-linux/macros rather than /usr/lib/rpm/macros ?
Could, some one who have a x86_64 bits arch, tell me what is the value of
%_lib and %_libdir in these files :
/usr/lib/rpm/macros
/usr/lib/rpm/noarch-linux/macros
/usr/lib/rpm/x86_64-linux/macros
Personnaly I have :
lib in /usr/lib/rpm/macros
lib64 in /usr/lib/rpm/noarch-linux/macros and in /usr/lib/rpm/x86_64-linux/macros
I try to figure out if it is normal that each time we use libdir in a spec file it will use the one defined in /rpm/ or not. Basicly I try to be sure that autoconf and so rpm are well configured on my box. I also try to validate that every time a spec file will use libdir the files won’t always be write in lib rather than lib64 as I has with mod_dosevasive