Selaa lähdekoodia

modifying package: postgresql-7.4 20031122 -> 20031226

Ralf S. Engelschall 22 vuotta sitten
vanhempi
commit
1edf253107
1 muutettua tiedostoa jossa 4 lisäystä ja 4 poistoa
  1. 4 4
      postgresql/postgresql.spec

+ 4 - 4
postgresql/postgresql.spec

@@ -26,7 +26,7 @@
 #   package versions
 %define       V_postgresql      7.4
 %define       V_libpqpp         4.0
-%define       V_libpqxx         2.1.2
+%define       V_libpqxx         2.1.3
 %define       V_pgperl          2.0.2
 %define       V_psqlodbc        07.03.0200
 
@@ -40,7 +40,7 @@ Distribution: OpenPKG [BASE]
 Group:        Database
 License:      GPL
 Version:      %{V_postgresql}
-Release:      20031122
+Release:      20031226
 
 #   package options
 %option       with_cxx      no
@@ -330,7 +330,7 @@ AutoReqProv:  no
         v_new_all="%{V_postgresql}"
         v_new_maj=`echo "$v_new_all" | sed -e 's/^\([0-9]*\.[0-9]*\).*/\1/'`
         if [ ".$v_old_maj" != ".$v_new_maj" ]; then
-           if [ ! -f $RPM_INSTALL_PREFIX/var/postgresql/db.dump.sql.bz2 -a ".$PG_MIGRATE" != .ignore ]; then
+           if [ ! -f $RPM_INSTALL_PREFIX/var/postgresql/db.dump.sql.bz2 -a ".$RPM_POSTGRESQL_MIGRATE" != .ignore ]; then
                 ( echo "You are upgrading from PostgreSQL $v_old_all to PostgresSQL $v_new_all,"
                   echo "which is a major version change. We expect a database incompatibility,"
                   echo "so we strongly recommend that you backup your existing database"
@@ -342,7 +342,7 @@ AutoReqProv:  no
                   echo "      >$RPM_INSTALL_PREFIX/var/postgresql/db.dump.sql.bz2"
                   echo "Alternatively, if you want to force this package to be installed without"
                   echo "performing a database dump, run the following command before upgrading:"
-                  echo "    \$ PG_MIGRATE=ignore; export PG_MIGRATE"
+                  echo "    \$ RPM_POSTGRESQL_MIGRATE=ignore; export RPM_POSTGRESQL_MIGRATE"
                 ) | %{l_rpmtool} msg -b -t error
                 exit 1
             fi