From 52497852428d16d6e117ea94ad73cabdad000044 Mon Sep 17 00:00:00 2001 From: Sergio Pascual Date: Feb 01 2007 10:55:30 +0000 Subject: - Patch to fix the include directives of cfitsio in header files. Mon Dec 11 2006 Sergio Pascual 1.6-1 - New upstream version 1.6. Only compiles with cfitsio >= 3.020. Tue Sep 12 2006 Sergio Pascual 1.5-3 - Rebuild for FC6. Fri Jul 28 2006 Sergio Pascual 1.5-2 - Removed perl files in the documentation (bug #200517). Thu Jul 27 2006 Sergio Pascual 1.5-1 - New upstream source 1.5. - Removed patch CCfits-1.4-g++4.patch (integrated in the source) - Perl files in docs removed in the source. Wed Mar 08 2006 Sergio Pascual 1.4-4 - Removed explicit Buildrequires gcc-c++. Tue Mar 07 2006 Sergio Pascual 1.4-3 - Rebuilt with new upstream source. Mon Mar 06 2006 Sergio Pascual 1.4-2 - Removed Source with license file License.txt. Mon Feb 20 2006 Sergio Pascual 1.4-1 - Removed perl files in documentation. - Changed license type to BSD. - Main summary changed and trailing dots removed. - Removed -rpath in the shared library. Thu Feb 16 2006 Sergio Pascual 1.4-0 - Initial spec file. --- diff --git a/CCfits-1.6-includecfitsiopath.patch b/CCfits-1.6-includecfitsiopath.patch new file mode 100644 index 0000000..5d3d854 --- /dev/null +++ b/CCfits-1.6-includecfitsiopath.patch @@ -0,0 +1,33 @@ +diff -ur CCfits.old/CCfits.h CCfits/CCfits.h +--- CCfits.old/CCfits.h 2006-11-03 23:07:28.000000000 +0100 ++++ CCfits/CCfits.h 2007-02-01 11:33:56.000000000 +0100 +@@ -13,7 +13,7 @@ + // string + #include + // fitsio +-#include "fitsio.h" ++#include + + namespace CCfits { + class ExtHDU; +@@ -21,7 +21,7 @@ + } // namespace CCfits + #include + #include +-#include "longnam.h" ++#include + #include "float.h" + + +diff -ur CCfits.old/FITSBase.h CCfits/FITSBase.h +--- CCfits.old/FITSBase.h 2006-11-03 23:07:28.000000000 +0100 ++++ CCfits/FITSBase.h 2007-02-01 11:34:25.000000000 +0100 +@@ -13,7 +13,7 @@ + // string + #include + // fitsio +-#include "fitsio.h" ++#include + // map + #include + // CCfitsHeader diff --git a/CCfits.spec b/CCfits.spec index c78ad52..9cc2b18 100644 --- a/CCfits.spec +++ b/CCfits.spec @@ -1,6 +1,6 @@ Name: CCfits Version: 1.6 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A C++ interface for cfitsio Group: Development/Libraries @@ -8,6 +8,7 @@ License: BSD URL: http://heasarc.gsfc.nasa.gov/docs/software/fitsio/ccfits Source0: http://heasarc.gsfc.nasa.gov/docs/software/fitsio/ccfits/%{name}-%{version}.tar.gz Patch0: CCfits-1.6-removerpath.patch +Patch1: CCfits-1.6-includecfitsiopath.patch Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: cfitsio-devel >= 3.020 @@ -39,6 +40,7 @@ This package contains the full API documentation for %{name}. %prep %setup -q -n CCfits %patch0 -p1 +%patch1 -p1 # Remove perl files in html docs rm -rf %{_builddir}/%{name}/html/*.pl @@ -75,6 +77,8 @@ rm -fr %{buildroot} %doc html %changelog +* Thu Feb 01 2007 Sergio Pascual 1.6-2 +- Patch to fix the include directives of cfitsio in header files. * Mon Dec 11 2006 Sergio Pascual 1.6-1 - New upstream version 1.6. Only compiles with cfitsio >= 3.020. * Tue Sep 12 2006 Sergio Pascual 1.5-3