[gearmand] switch to %ifarch for google-perftools as BR

Dan Horák sharkcz at fedoraproject.org
Tue Mar 22 14:02:22 UTC 2011


commit 0a807a000f37f6123095ecc2e5f90163b8c450f2
Author: Dan Horák <dan at danny.cz>
Date:   Tue Mar 22 15:02:13 2011 +0100

    switch to %ifarch for google-perftools as BR

 gearmand.spec |    9 ++++++---
 1 files 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 <dan[at]danny.cz> - 0.14-4
+- switch to %%ifarch for google-perftools as BR
+
 * Thu Feb 17 2011 BJ Dierkes <wdierkes at rackspace.com> - 0.14-3
 - Rebuild against latest libevent in rawhide/f15
 


More information about the scm-commits mailing list