From 50064c4f5c5ddced2832e8f5cde96f8b42944464 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Matos?= Date: Sun, 29 Jul 2012 23:01:02 +0100 Subject: [PATCH] Use the correct shell idiom "if true" instead of "if 1" --- gdal.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/gdal.spec b/gdal.spec index 3f5e468..7fe6b01 100644 --- a/gdal.spec +++ b/gdal.spec @@ -30,7 +30,7 @@ Name: gdal Version: 1.9.1 -Release: 9%{?dist} +Release: 10%{?dist} Summary: GIS file format library Group: System Environment/Libraries License: MIT @@ -318,7 +318,7 @@ done # due to http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53549 # configure interprets the result as an error so ignore it # this patch can/should be removed after gcc 4.7.2 is released -sed -i 's|if test -z "`${CXX} testarmadillo.cpp -o testarmadillo -larmadillo 2>&1`"|if 1|' configure +sed -i 's|if test -z "`${CXX} testarmadillo.cpp -o testarmadillo -larmadillo 2>&1`"|if true|' configure # Build with fPIC to allow Ruby bindings # Xcompiler should normally achieve that -- http://trac.osgeo.org/gdal/ticket/3978 @@ -795,6 +795,9 @@ rm -rf %{buildroot} #Or as before, using ldconfig %changelog +* Sun Jul 29 2012 José Matos - 1.9.1-10 +- Use the correct shell idiom "if true" instead of "if 1" + * Sun Jul 29 2012 José Matos - 1.9.1-9 - Ignore for the moment the test for armadillo (to be removed after gcc 4.7.2 release)