|
@@ -25,7 +25,7 @@
|
|
|
|
|
|
|
|
# package versions
|
|
# package versions
|
|
|
%define V_postgresql 8.0.0
|
|
%define V_postgresql 8.0.0
|
|
|
-%define V_postgresql_beta 5
|
|
|
|
|
|
|
+%define V_postgresql_rc 1
|
|
|
%define V_libpqpp 4.0
|
|
%define V_libpqpp 4.0
|
|
|
%define V_libpqxx 2.4.2
|
|
%define V_libpqxx 2.4.2
|
|
|
%define V_pgperl 2.0.2
|
|
%define V_pgperl 2.0.2
|
|
@@ -43,8 +43,8 @@ Distribution: OpenPKG
|
|
|
Class: BASE
|
|
Class: BASE
|
|
|
Group: Database
|
|
Group: Database
|
|
|
License: GPL
|
|
License: GPL
|
|
|
-Version: %{V_postgresql}b%{V_postgresql_beta}
|
|
|
|
|
-Release: 20041215
|
|
|
|
|
|
|
+Version: %{V_postgresql}rc%{V_postgresql_rc}
|
|
|
|
|
+Release: 20041219
|
|
|
|
|
|
|
|
# package options
|
|
# package options
|
|
|
%option with_server yes
|
|
%option with_server yes
|
|
@@ -57,7 +57,7 @@ Release: 20041215
|
|
|
%option with_pgpool no
|
|
%option with_pgpool no
|
|
|
|
|
|
|
|
# list of sources
|
|
# list of sources
|
|
|
-Source0: ftp://ftp.postgresql.org/pub/source/v%{V_postgresql}beta/postgresql-%{V_postgresql}beta%{V_postgresql_beta}.tar.bz2
|
|
|
|
|
|
|
+Source0: ftp://ftp.postgresql.org/pub/source/v%{V_postgresql}beta/postgresql-%{V_postgresql}rc%{V_postgresql_rc}.tar.bz2
|
|
|
Source1: ftp://gborg.postgresql.org/pub/libpqpp/stable/libpq++-%{V_libpqpp}.tar.gz
|
|
Source1: ftp://gborg.postgresql.org/pub/libpqpp/stable/libpq++-%{V_libpqpp}.tar.gz
|
|
|
Source2: ftp://gborg.postgresql.org/pub/libpqxx/stable/libpqxx-%{V_libpqxx}.tar.gz
|
|
Source2: ftp://gborg.postgresql.org/pub/libpqxx/stable/libpqxx-%{V_libpqxx}.tar.gz
|
|
|
Source3: ftp://gborg.postgresql.org/pub/pgperl/stable/pgperl-%{V_pgperl}.tar.gz
|
|
Source3: ftp://gborg.postgresql.org/pub/pgperl/stable/pgperl-%{V_pgperl}.tar.gz
|
|
@@ -103,7 +103,7 @@ Provides: postgresql = %{version}
|
|
|
url = ftp://ftp.postgresql.org/pub/source/
|
|
url = ftp://ftp.postgresql.org/pub/source/
|
|
|
regex = v(8\.\d+(\.\d+)*)(?!beta)
|
|
regex = v(8\.\d+(\.\d+)*)(?!beta)
|
|
|
url = ftp://ftp.postgresql.org/pub/source/v__NEWVER__/
|
|
url = ftp://ftp.postgresql.org/pub/source/v__NEWVER__/
|
|
|
- regex = postgresql-(\d+\.\d+(\.\d+)*)\.tar\.(?:gz|bz2)
|
|
|
|
|
|
|
+ regex = postgresql-(\d+\.\d+(\.\d+)*((beta|rc)\d+))?\.tar\.(?:gz|bz2)
|
|
|
}
|
|
}
|
|
|
prog postgresql8:libpq++ = {
|
|
prog postgresql8:libpq++ = {
|
|
|
version = %{V_libpqpp}
|
|
version = %{V_libpqpp}
|
|
@@ -137,23 +137,23 @@ Provides: postgresql = %{version}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
%prep
|
|
%prep
|
|
|
- %setup -q -n postgresql-%{V_postgresql}beta%{V_postgresql_beta}
|
|
|
|
|
|
|
+ %setup -q -n postgresql-%{V_postgresql}rc%{V_postgresql_rc}
|
|
|
%patch -p0
|
|
%patch -p0
|
|
|
%if "%{with_cxx}" == "yes"
|
|
%if "%{with_cxx}" == "yes"
|
|
|
- %setup -q -n postgresql-%{V_postgresql}beta%{V_postgresql_beta} -T -D -a 1
|
|
|
|
|
- %setup -q -n postgresql-%{V_postgresql}beta%{V_postgresql_beta} -T -D -a 2
|
|
|
|
|
|
|
+ %setup -q -n postgresql-%{V_postgresql}rc%{V_postgresql_rc} -T -D -a 1
|
|
|
|
|
+ %setup -q -n postgresql-%{V_postgresql}rc%{V_postgresql_rc} -T -D -a 2
|
|
|
%endif
|
|
%endif
|
|
|
%if "%{with_perl}" == "yes"
|
|
%if "%{with_perl}" == "yes"
|
|
|
- %setup -q -n postgresql-%{V_postgresql}beta%{V_postgresql_beta} -T -D -a 3
|
|
|
|
|
|
|
+ %setup -q -n postgresql-%{V_postgresql}rc%{V_postgresql_rc} -T -D -a 3
|
|
|
%endif
|
|
%endif
|
|
|
%if "%{with_odbc}" == "yes"
|
|
%if "%{with_odbc}" == "yes"
|
|
|
- %setup -q -n postgresql-%{V_postgresql}beta%{V_postgresql_beta} -T -D -a 4
|
|
|
|
|
|
|
+ %setup -q -n postgresql-%{V_postgresql}rc%{V_postgresql_rc} -T -D -a 4
|
|
|
%endif
|
|
%endif
|
|
|
%if "%{with_slony1}" == "yes"
|
|
%if "%{with_slony1}" == "yes"
|
|
|
- %setup -q -n postgresql-%{V_postgresql}beta%{V_postgresql_beta} -T -D -a 5
|
|
|
|
|
|
|
+ %setup -q -n postgresql-%{V_postgresql}rc%{V_postgresql_rc} -T -D -a 5
|
|
|
%endif
|
|
%endif
|
|
|
%if "%{with_pgpool}" == "yes"
|
|
%if "%{with_pgpool}" == "yes"
|
|
|
- %setup -q -n postgresql-%{V_postgresql}beta%{V_postgresql_beta} -T -D -a 6
|
|
|
|
|
|
|
+ %setup -q -n postgresql-%{V_postgresql}rc%{V_postgresql_rc} -T -D -a 6
|
|
|
%endif
|
|
%endif
|
|
|
|
|
|
|
|
# adjust source tree
|
|
# adjust source tree
|