summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClark Williams <clark.williams@gmail.com>2015-01-15 12:40:56 -0600
committerClark Williams <clark.williams@gmail.com>2015-01-15 16:31:20 -0600
commitdeb1e1eecc64dfc27267cf6d9f71f87b4eccc7c5 (patch)
tree3f4c07ee8b2ffb0c0b34b8403a10881212ac338e
parent53956b6712fef18a7141c2b24dcf8815b5e46e9d (diff)
downloadrt-tests-deb1e1eecc64dfc27267cf6d9f71f87b4eccc7c5.tar.gz
specfile: update template and make build exclusive to x86_64
Signed-off-by: Clark Williams <clark.williams@gmail.com>
-rw-r--r--rt-tests.spec-in9
1 files changed, 6 insertions, 3 deletions
diff --git a/rt-tests.spec-in b/rt-tests.spec-in
index 13bcb1b..13de34b 100644
--- a/rt-tests.spec-in
+++ b/rt-tests.spec-in
@@ -2,7 +2,11 @@
Summary: Programs that test various rt-features
Name: rt-tests
-# __VERSION__ will be replaced by "make rpm"
+# These will be setup by the "make rpm" logic
+# Version: __VERSION__
+# BuildRequires: __BUILDREQUIRES_NUMA__
+# Numa argument to make: __MAKE_NUMA__
+#
Version: __VERSION__
Release: 1%{?dist}
License: GPLv2
@@ -11,7 +15,7 @@ URL: git://git.kernel.org/pub/scm/linux/kernel/git/tglx/rt-tests.git
Source0: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
Obsoletes: cyclictest signaltest pi_tests
-# __BUILDREQUIRES__ will be replaced by "make rpm"
+ExclusiveArch: x86_64
BuildRequires: __BUILDREQUIRES_NUMA__ python
%description
@@ -23,7 +27,6 @@ latency. It also tests the functioning of priority-inheritance mutexes.
%setup -qn rt-tests
%build
-# __MAKE_NUMA__ will be replaced by "make rpm"
make __MAKE_NUMA__
%install