This change fixes the 64-bit build on SXDE, where there's a sylink
to cc in /usr/bin.

Laca

Index: Solaris/SUNWlibpopt.spec
===================================================================
--- Solaris/SUNWlibpopt.spec    (revision 10518)
+++ Solaris/SUNWlibpopt.spec    (working copy)
@@ -57,9 +57,6 @@
 CFLAGS="$RPM_OPT_FLAGS"
 export CFLAGS
 export CC=${CC64:-$CC}
-save_PATH="$PATH"
-ccdir=`dirname $CC`
-export PATH=$ccdir:$PATH
 
 ./configure $CONFLAGS                                  \
             --libdir=%{_libdir}/%{_arch64}             \
@@ -69,7 +66,6 @@
 make -j $CPUS
 cd ..
 export CC=${CC32:-$CC}
-export PATH="$save_PATH"
 %endif
 
 cd popt-%version
@@ -120,6 +116,9 @@
 
 
 %changelog
+* Sun Feb 11 2007 - laca at sun.com
+- delete PATH changes in the 64-bit build: not needed anymore and break
+  the build on SXDE
 * Mon Sep 04 2006 - Matt.Keenan at sun.com
 - New Manpage tarball
 * Sun Jun 11 2006 - laca at Sun.com



Reply via email to