From a48e17f74769e5391e9ebe0c58a47058d5cb8964 Mon Sep 17 00:00:00 2001 From: Kamil Dudka Date: Wed, 10 Jun 2009 13:21:09 +0000 Subject: [PATCH] avoid unguarded comparison in the spec file (#504857) --- curl.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/curl.spec b/curl.spec index 7fd49d5..c2c77c3 100644 --- a/curl.spec +++ b/curl.spec @@ -1,7 +1,7 @@ Summary: A utility for getting files from remote servers (FTP, HTTP, and others) Name: curl Version: 7.19.4 -Release: 8%{?dist} +Release: 9%{?dist} License: MIT Group: Applications/Internet Source: http://curl.haxx.se/download/%{name}-%{version}.tar.bz2 @@ -98,7 +98,7 @@ install -m 644 docs/libcurl/libcurl.m4 $RPM_BUILD_ROOT/%{_datadir}/aclocal %define _curlbuild32_h curlbuild-32.h %define _curlbuild64_h curlbuild-64.h -%if %{__isa_bits} == 64 +%if 0%{?__isa_bits} == 64 %define _curlbuild_h %{_curlbuild64_h} %else %define _curlbuild_h %{_curlbuild32_h} @@ -152,6 +152,9 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/aclocal/libcurl.m4 %changelog +* Wed Jun 10 2009 Kamil Dudka 7.19.4-9 +- avoid unguarded comparison in the spec file, thanks to R P Herrold (#504857) + * Mon May 11 2009 Kamil Dudka 7.19.4-8 - fix configure.ac to not discard -g in CFLAGS (#496778) - fix infinite loop while loading a private key, thanks to Michael Cronenworth