From 0a807a000f37f6123095ecc2e5f90163b8c450f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20Hor=C3=A1k?= Date: Tue, 22 Mar 2011 15:02:13 +0100 Subject: [PATCH] switch to %ifarch for google-perftools as BR --- gearmand.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/gearmand.spec b/gearmand.spec index 4b4b71e..060d215 100644 --- a/gearmand.spec +++ b/gearmand.spec @@ -1,6 +1,6 @@ Name: gearmand Version: 0.14 -Release: 3%{?dist} +Release: 4%{?dist} Summary: A distributed job system Group: System Environment/Daemons @@ -13,8 +13,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: libevent-devel, libuuid-devel, libmemcached-devel, memcached -%ifnarch ppc64 sparc64 -# no google perftools +# google perftools available only on these +%ifarch %{ix86} x86_64 ppc BuildRequires: google-perftools-devel %endif Requires(pre): shadow-utils @@ -130,6 +130,9 @@ fi %{_libdir}/libgearman*.so.* %changelog +* Tue Mar 22 2011 Dan HorĂ¡k - 0.14-4 +- switch to %%ifarch for google-perftools as BR + * Thu Feb 17 2011 BJ Dierkes - 0.14-3 - Rebuild against latest libevent in rawhide/f15