fix python lookup paths for ppc64
This commit is contained in:
parent
60d7b554f8
commit
622f041b98
@ -1,6 +1,6 @@
|
|||||||
Name: gdal
|
Name: gdal
|
||||||
Version: 1.4.1
|
Version: 1.4.1
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: GIS file format library
|
Summary: GIS file format library
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -92,6 +92,9 @@ sed -i 's|-L\$with_libtiff\/lib -ltiff|-ltiff|g' configure
|
|||||||
sed -i 's|-L\$with_grass\/lib||g' configure
|
sed -i 's|-L\$with_grass\/lib||g' configure
|
||||||
sed -i 's|-logdi31|-logdi|g' configure
|
sed -i 's|-logdi31|-logdi|g' configure
|
||||||
|
|
||||||
|
# fix python path for ppc64
|
||||||
|
sed -i 's|test \"$ARCH\" = \"x86_64\"|test \"$libdir\" = \"\/usr\/lib64\"|g' configure
|
||||||
|
|
||||||
# append some path for few libs
|
# append some path for few libs
|
||||||
export CPPFLAGS="`pkg-config ogdi --cflags`"
|
export CPPFLAGS="`pkg-config ogdi --cflags`"
|
||||||
export CPPFLAGS="$CPPFLAGS -I%{_includedir}/netcdf-3"
|
export CPPFLAGS="$CPPFLAGS -I%{_includedir}/netcdf-3"
|
||||||
@ -286,6 +289,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{perl_vendorarch}/*
|
%{perl_vendorarch}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri May 11 2007 Balint Cristian <cbalint@redhat.com> 1.4.1-2
|
||||||
|
- fix python lookup paths for ppc64.
|
||||||
|
|
||||||
* Wed May 09 2007 Balint Cristian <cbalint@redhat.com> 1.4.1-1
|
* Wed May 09 2007 Balint Cristian <cbalint@redhat.com> 1.4.1-1
|
||||||
- new upstream release.
|
- new upstream release.
|
||||||
- disable temporary grass-devel requirement untill find a
|
- disable temporary grass-devel requirement untill find a
|
||||||
|
Loading…
Reference in New Issue
Block a user