[CQRlib/el5/master] Add %check section
tmatsuu
tmatsuu at fedoraproject.org
Tue Oct 26 06:04:13 UTC 2010
commit 1d6d89101f1f2e05656313ebc5e6295706946da4
Author: Takanori MATSUURA <t.matsuu at gmail.com>
Date: Tue Oct 26 15:04:13 2010 +0900
Add %check section
CQRlib.spec | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/CQRlib.spec b/CQRlib.spec
index 937b57e..6e83b6b 100644
--- a/CQRlib.spec
+++ b/CQRlib.spec
@@ -1,6 +1,6 @@
Name: CQRlib
Version: 1.1.1
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: ANSI C API for quaternion arithmetic and rotation
Group: System Environment/Libraries
@@ -36,7 +36,7 @@ developing applications that use CQRlib.
%endif
%build
-make CFLAGS="%{optflags}" %{?_smp_mflags}
+make all CFLAGS="%{optflags}" %{?_smp_mflags}
%install
rm -rf %{buildroot}
@@ -47,6 +47,9 @@ make install CFLAGS="%{optflags}" INSTALLDIR="%{buildroot}%{_prefix}"
find %{buildroot} -name '*.la' -exec rm -f {} ';'
find %{buildroot} -name '*.a' -exec rm -f {} ';'
+%check
+make tests
+
%clean
rm -rf %{buildroot}
@@ -65,6 +68,10 @@ rm -rf %{buildroot}
%{_libdir}/libCQRlib.so
%changelog
+* Mon Oct 18 2010 Takanori MATSUURA <t.matsuu at gmail.com> - 1.1.1-0.2
+- use "make all" instead of "make"
+- add %%check
+
* Thu Oct 14 2010 Takanori MATSUURA <t.matsuu at gmail.com> - 1.1.1-1
- initial import (#545045).
More information about the scm-commits
mailing list