[satyr] libunwind exists only on selected arches

Dan Horák sharkcz at fedoraproject.org
Tue Apr 2 08:44:09 UTC 2013


commit 997d39ed6877a60d3aacb6b7a9a7a290d634ed3c
Author: Dan Horák <dan at danny.cz>
Date:   Tue Apr 2 10:44:05 2013 +0200

    libunwind exists only on selected arches

 satyr.spec |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/satyr.spec b/satyr.spec
index 9e345ad..560c2df 100644
--- a/satyr.spec
+++ b/satyr.spec
@@ -2,7 +2,7 @@
 
 Name: satyr
 Version: 0.3
-Release: 1%{?dist}
+Release: 2%{?dist}
 Summary: Tools to create anonymous, machine-friendly problem reports
 Group: System Environment/Libraries
 License: GPLv2+
@@ -15,8 +15,11 @@ BuildRequires: rpm-devel
 # We're going to switch to elfutils unwinder once it's available
 %if 0%{?rhel}
 %else
+# libunwind exists only on selected arches
+%ifarch %{arm} hppa ia64 mips ppc ppc64 %{ix86} x86_64
 BuildRequires: libunwind-devel >= 1.1
 %endif
+%endif
 
 %description
 Satyr is a library that can be used to create and process microreports.
@@ -78,6 +81,9 @@ make check
 %{python_sitearch}/%{name}/*
 
 %changelog
+* Tue Apr 02 2013 Dan Horák <dan[at]danny.cz> 0.3-2
+- libunwind exists only on selected arches
+
 * Mon Mar 25 2013 Martin Milata <mmilata at redhat.com> 0.3-1
 - New upstream version
   - Bug fixes


More information about the scm-commits mailing list