
Quoting Cristian Rodríguez <crrodriguez@opensuse.org>:
On 01/30/2013 11:53 AM, Dominique Leuenberger a.k.a. Dimstar wrote:
A possible fix (done in apache2-mod_fcgid) is: %define apache_branch %(rpm -q --qf %%{version} apache2 | grep -E -o "2\\.[0-9]+") %if "%{apache_branch}" == "2.4" %define apxs %{_bindir}/apxs2 %else %define apxs %{_sbindir}/apxs2 %endif
That really a bug .. for some reason a set of rpm macros for apache2 did not land in the package even though I did wrote them...
Well, I see what's happening and why this 'general approach' helped in all cases: /usr/sbin/apxs2 is a symlink to /usr/bin/apxs2, so for packages making use of this and using %{apxs} in the 'pure' sense, no change is needed. apache2-mod_fcgid though still failed, due to: %define apxs /usr/sbin/apxs2 APXS="%{apxs}-prefork" ./configure.apxs => so, even though apxs2 is symlinked, apxs2-prefork is not.. thus this error which the above snippet correctly fixes as well. Reality is so simple :) Dominique -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org