--- postgresql8.0.spec.orig 2005-05-17 20:20:03 +0400 +++ postgresql8.0.spec 2005-06-03 17:16:44 +0400 @@ -6,7 +6,7 @@ Name: postgresql8.0 Version: 8.0.3 -Release: alt1 +Release: alt1.64bit %define PGSQL pgsql %define ROOT %_localstatedir/%PGSQL-root @@ -240,6 +240,7 @@ %__autoconf ./configure %_target_platform \ --prefix=%prefix \ + --libdir=%_libdir \ --mandir=%_mandir \ --with-docdir=%_docdir \ --includedir=%_includedir/%PGSQL \ @@ -318,7 +319,7 @@ %__ln_s port/linux.h %buildroot%_includedir/%PGSQL/os.h # Chrooted environment -%__mkdir_p %buildroot%ROOT/{bin,dev,lib,tmp,%_sysconfdir/%PGSQL,%_localstatedir,%_libdir/%PGSQL,%_libdir/locale} +%__mkdir_p %buildroot%ROOT/{bin,dev,%_lib,tmp,%_sysconfdir/%PGSQL,%_localstatedir,%_libdir/%PGSQL,%_libdir/locale} mksock %buildroot%ROOT/dev/log %__mkdir_p -m700 %buildroot%_sysconfdir/syslog.d @@ -339,7 +340,7 @@ filelist=`find $curdir -name "*.sql" -print` for f in $filelist; do if [ -f "$f" ]; then - %__subst -p "s|\$libdir|/lib/$p|g" $f + %__subst -p "s|\$libdir|/%_lib/$p|g" $f fi done popd @@ -611,6 +612,9 @@ %_libdir/%PGSQL/plpython.so %changelog +* Fri Jun 03 2005 Anton D. Kachalov 8.0.3-alt1.64bit +- multilib support + * Tue May 17 2005 Ivan Fedorov 8.0.3-alt1 - 8.0.3 - some bugs fixed