[hmaccalc] Limit the arches on which we BuildRequire: prelink
Nalin Dahyabhai
nalin at fedoraproject.org
Mon Feb 10 22:27:43 UTC 2014
commit de7f0035ac7e554ea51319300686fdd544196509
Author: Nalin Dahyabhai <nalin at dahyabhai.net>
Date: Mon Feb 10 17:27:21 2014 -0500
Limit the arches on which we BuildRequire: prelink
- only BuildRequire: prelink on the arches on which we know it runs
(currently %%{ix86}, x86_64, ppc, ppc64, s390, s390x), so that it can
be built on the rest (#1061889)
hmaccalc.spec | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
---
diff --git a/hmaccalc.spec b/hmaccalc.spec
index a8b24d4..13b875f 100644
--- a/hmaccalc.spec
+++ b/hmaccalc.spec
@@ -13,7 +13,7 @@
Name: hmaccalc
Version: 0.9.13
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Tools for computing and checking HMAC values for files
Group: System Environment/Base
@@ -23,7 +23,11 @@ Source0: https://fedorahosted.org/released/hmaccalc/hmaccalc-%{version}.tar.gz
Source1: https://fedorahosted.org/released/hmaccalc/hmaccalc-%{version}.tar.gz.sig
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
+%ifarch %{ix86} x86_64 ppc ppc64 s390 s390x
BuildRequires: nss-devel, prelink
+%else
+BuildRequires: nss-devel
+%endif
%description
The hmaccalc package contains tools which can calculate HMAC (hash-based
@@ -62,6 +66,11 @@ make check
%{_mandir}/*/*
%changelog
+* Mon Feb 10 2013 Nalin Dahyabhai <nalin at redhat.com> - 0.9.13-2
+- only BuildRequire: prelink on the arches on which we know it runs (currently
+ %%{ix86}, x86_64, ppc, ppc64, s390, s390x), so that it can be built on the
+ rest (#1061889)
+
* Mon Oct 14 2013 Nalin Dahyabhai <nalin at redhat.com> - 0.9.13-1
- treat unexpected command-line arguments as an error to avoid setting
incorrect expectations, and warn when a check file doesn't appear to
More information about the scm-commits
mailing list