[atlas] Add %check section

Orion Poplawski orion at fedoraproject.org
Mon Sep 23 20:05:54 UTC 2013


commit f8e736600e6aec3f03f2786cceebe1e3618ac6d5
Author: Orion Poplawski <orion at nwra.com>
Date:   Mon Sep 23 14:05:44 2013 -0600

    Add %check section

 atlas.spec |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)
---
diff --git a/atlas.spec b/atlas.spec
index 8087245..54eb667 100644
--- a/atlas.spec
+++ b/atlas.spec
@@ -5,7 +5,7 @@ Version:        3.10.1
 %if "%{?enable_native_atlas}" != "0"
 %define dist .native
 %endif
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Automatically Tuned Linear Algebra Software
 
 Group:          System Environment/Libraries
@@ -478,6 +478,13 @@ done
 mkdir -p %{buildroot}%{_includedir}/atlas
 
 
+%check
+for type in %{types}; do
+	pushd %{_arch}_${type}
+	make check ptcheck
+done
+
+
 %post -p /sbin/ldconfig
 
 %postun -p /sbin/ldconfig
@@ -766,6 +773,9 @@ fi
 %endif
 
 %changelog
+* Mon Sep 23 2013 Orion Poplawski <orion at cora.nwra.com> - 3.10.1-2
+- Add %%check section
+
 * Fri Sep 20 2013 Frantisek Kluknavsky <fkluknav at redhat.com> - 3.10.1-1
 - Rebase to 3.10.1
 - Dropped x86_64-SSE2, ix86-SSE1, ix86-3DNow, z10, z196 (uncompilable).


More information about the scm-commits mailing list