|
|
@@ -26,7 +26,7 @@
|
|
|
# package versions
|
|
|
%define V_postgresql 7.4.3
|
|
|
%define V_libpqpp 4.0
|
|
|
-%define V_libpqxx 2.2.7
|
|
|
+%define V_libpqxx 2.3.0
|
|
|
%define V_pgperl 2.0.2
|
|
|
%define V_psqlodbc 07.03.0200
|
|
|
%define V_slony1 1.0.2
|
|
|
@@ -43,7 +43,7 @@ Class: BASE
|
|
|
Group: Database
|
|
|
License: GPL
|
|
|
Version: %{V_postgresql}
|
|
|
-Release: 20040820
|
|
|
+Release: 20040821
|
|
|
|
|
|
# package options
|
|
|
%option with_server yes
|
|
|
@@ -226,6 +226,9 @@ AutoReqProv: no
|
|
|
) || exit $?
|
|
|
ln -s `pwd`/src/interfaces/libpq/*.h src/include/
|
|
|
( cd libpqxx-%{V_libpqxx}
|
|
|
+ %{l_shtool} subst \
|
|
|
+ -e 's;\(cut\)\( configitems\)\( -f [0-9]\);\1\3\2;g' \
|
|
|
+ configure
|
|
|
( echo "#!/bin/sh"
|
|
|
echo "case \"\$1\" in"
|
|
|
echo " --includedir ) echo \"`pwd`/../src/include\" ;;"
|