libunwind exists only on selected arches

This commit is contained in:
Dan Horák 2013-04-02 10:44:05 +02:00
parent 0d0021212e
commit 997d39ed68

View File

@ -2,7 +2,7 @@
Name: satyr Name: satyr
Version: 0.3 Version: 0.3
Release: 1%{?dist} Release: 2%{?dist}
Summary: Tools to create anonymous, machine-friendly problem reports Summary: Tools to create anonymous, machine-friendly problem reports
Group: System Environment/Libraries Group: System Environment/Libraries
License: GPLv2+ License: GPLv2+
@ -15,8 +15,11 @@ BuildRequires: rpm-devel
# We're going to switch to elfutils unwinder once it's available # We're going to switch to elfutils unwinder once it's available
%if 0%{?rhel} %if 0%{?rhel}
%else %else
# libunwind exists only on selected arches
%ifarch %{arm} hppa ia64 mips ppc ppc64 %{ix86} x86_64
BuildRequires: libunwind-devel >= 1.1 BuildRequires: libunwind-devel >= 1.1
%endif %endif
%endif
%description %description
Satyr is a library that can be used to create and process microreports. Satyr is a library that can be used to create and process microreports.
@ -78,6 +81,9 @@ make check
%{python_sitearch}/%{name}/* %{python_sitearch}/%{name}/*
%changelog %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@redhat.com> 0.3-1 * Mon Mar 25 2013 Martin Milata <mmilata@redhat.com> 0.3-1
- New upstream version - New upstream version
- Bug fixes - Bug fixes