From c68a303621e50b7994297accdf85ea09a28497e3 Mon Sep 17 00:00:00 2001 From: Matthew D Truch Date: Sep 20 2008 14:36:18 +0000 Subject: Run test-suite. --- diff --git a/cfitsio.spec b/cfitsio.spec index a2d3183..b64aa91 100644 --- a/cfitsio.spec +++ b/cfitsio.spec @@ -1,6 +1,6 @@ Name: cfitsio Version: 3.100 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Library for manipulating FITS data files Group: Development/Libraries @@ -56,6 +56,12 @@ sed 's|${exec_prefix}/lib|${exec_prefix}/%{_lib}|' cfitsio.pc >cfitsio.pc.new sed 's|${prefix}/include|${prefix}/include/%{name}|' cfitsio.pc.new >cfitsio.pc rm -f cfitsio.pc.new +%check +make testprog +LD_LIBRARY_PATH=. ./testprog > testprog.lis +#cmp -s testprog.lis testprog.out #testprog.out is accidentally missing from 3.100 tarball. +cmp -s testprog.fit testprog.std + %install rm -rf %{buildroot} mkdir -p %{buildroot} @@ -89,6 +95,9 @@ rm -rf %{buildroot} %{_libdir}/libcfitsio.a %changelog +* Sat Sep 20 2008 Matthew Truch - 3.100-2 +- Test library with included test-suite. + * Fri Sep 19 2008 Matthew Truch - 3.100-1 - Update to 3.100 upstream. Includes bugfixes and new compression scheme.