diff --git a/CCfits.spec b/CCfits.spec index 329ff00..dc719d6 100644 --- a/CCfits.spec +++ b/CCfits.spec @@ -1,12 +1,13 @@ Name: CCfits Version: 2.5 -Release: 11%{?dist} +Release: 12%{?dist} Summary: A C++ interface for cfitsio 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-2.5-removerpath.patch +Patch1: cfitsio-path.patch BuildRequires: gcc-c++ cfitsio-devel @@ -62,6 +63,9 @@ make %{?_smp_mflags} install DESTDIR=%{buildroot} %doc html %changelog +* Wed Feb 13 2019 Sergio Pascual 2.5-12 +- Patch headers with the correct cfistio path (bz #1676568) + * Thu Jan 31 2019 Fedora Release Engineering - 2.5-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild diff --git a/cfitsio-path.patch b/cfitsio-path.patch new file mode 100644 index 0000000..144aac0 --- /dev/null +++ b/cfitsio-path.patch @@ -0,0 +1,21 @@ +diff -ur CCfits/CCfits.h CCfits.path/CCfits.h +--- CCfits/CCfits.h 2016-01-11 19:37:49.000000000 +0100 ++++ CCfits.path/CCfits.h 2019-02-13 17:28:14.224009846 +0100 +@@ -10,7 +10,7 @@ + #define CCFITS_H 1 + + // fitsio +-#include "fitsio.h" ++#include + // string + #include + +@@ -21,7 +21,7 @@ + } // namespace CCfits + #include + #include +-#include "longnam.h" ++#include + #include "float.h" + +