On 08/26/2014 02:43 AM, Pavel Stehule wrote:
> Hi
>
> I prepared package for 9.3 - what I tested - for 9.2 and 9.4 it is
> mechanical work - change in preambule
I still don't see any check to make sure the PostgreSQL being built
against is the right one for the %pgmajorversion specified.
You could test
pg_config --version
but it'd probably be better to just ensure the correct pg_config gets
used from the target postgresql%{pgmajorversion}-devel by placing
%{pginstdir}/bin
first on the PATH.
--
Craig Ringer http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services