From 9b59b7fdb30828370065cc325ebba11266a3407a Mon Sep 17 00:00:00 2001 From: Balint Cristian Date: Tue, 27 May 2008 20:48:07 +0000 Subject: [PATCH] - fix multilib gdal-config, add wrapper around - fix typos in cpl_config.h wrapper ---------------------------------------------------------------------- Modified Files: devel/gdal.spec ---------------------------------------------------------------------- --- gdal.spec | 44 +++++++++++++++++++++++++++++++++++--------- 1 file changed, 35 insertions(+), 9 deletions(-) diff --git a/gdal.spec b/gdal.spec index 2efe619..af947d6 100644 --- a/gdal.spec +++ b/gdal.spec @@ -1,6 +1,6 @@ Name: gdal Version: 1.5.1 -Release: 10%{?dist} +Release: 11%{?dist} Summary: GIS file format library Group: System Environment/Libraries License: MIT @@ -361,20 +361,36 @@ cp -pr swig/perl/html/* doc/docs-perl/docs-%{cpuarch}/ install -p -m 644 port/cpl_config.h %{buildroot}%{_includedir}/%{name}/cpl_config-%{cpuarch}.h # create universal multilib cpl_config.h bz#341231 cat > %{buildroot}%{_includedir}/%{name}/cpl_config.h < +#include -if __WORDSIZE == 32 -include "gdal/cpl_config-32.h" -elif __WORDSIZE == 64 -include "gdal/cpl_config-64.h" -else -error "Unknown word size" -endif +#if __WORDSIZE == 32 +#include "gdal/cpl_config-32.h" +#else +#if __WORDSIZE == 64 +#include "gdal/cpl_config-64.h" +#else +#error "Unknown word size" +#endif +#endif EOF touch -r VERSION port/cpl_config.h # multilib gdal-config mv %{buildroot}%{_bindir}/%{name}-config %{buildroot}%{_bindir}/%{name}-config-%{cpuarch} +cat > %{buildroot}%{_bindir}/%{name}-config < - 1.5.1-11 +- fix multilib gdal-config, add wrapper around +- fix typos in cpl_config.h wrapper + * Tue May 27 2008 Balint Cristian - 1.5.1-10 - fix for multilib packaging bz#341231 - huge spec cleanup - enable russian and brazil docs - enable and triage more docs +* Sun May 25 2008 Balint Cristian - 1.5.1-9 +- enable ruby and java packages +- fix spurious sed problem +- spec file cosmetics + * Thu May 23 2008 Balint Cristian - 1.5.1-8 - fix sincos on all arch