From db14bd0b4c89e04830d8163edee44482c814a054 Mon Sep 17 00:00:00 2001 From: Sergio Pascual Date: Fri, 6 Jan 2012 01:24:29 +0100 Subject: [PATCH] Adding the libz patch --- cfitsio-zlib.patch | 22 ++++++++++++++++++++++ cfitsio.spec | 5 ++++- 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 cfitsio-zlib.patch diff --git a/cfitsio-zlib.patch b/cfitsio-zlib.patch new file mode 100644 index 0000000..b17b3c1 --- /dev/null +++ b/cfitsio-zlib.patch @@ -0,0 +1,22 @@ +diff -ur cfitsio/cfitsio.pc.in cfitsio.zlib/cfitsio.pc.in +--- cfitsio/cfitsio.pc.in 2011-09-22 22:04:57.000000000 +0200 ++++ cfitsio.zlib/cfitsio.pc.in 2011-12-06 18:01:48.491309113 +0100 +@@ -1,11 +1,11 @@ + prefix=@prefix@ + exec_prefix=@exec_prefix@ + libdir=@libdir@ +-includedir=@includedir@ ++includedir=@includedir@/cfitsio + + Name: cfitsio + Description: FITS File Subroutine Library +-Version: 3.29 +-Libs: -L${libdir} -lcfitsio @LIBS@ +-Libs.private: -lm +-Cflags: -I${includedir} ++Version: 3.290 ++Libs: -L${libdir} -lcfitsio ++Libs.private: @LIBS@ -lm ++Cflags: -D_REENTRANT -I${includedir} +Sólo en cfitsio: cfitsio.pc.in.orig +Sólo en cfitsio: cfitsio.pc.in.rej diff --git a/cfitsio.spec b/cfitsio.spec index 78dafb6..8c55560 100644 --- a/cfitsio.spec +++ b/cfitsio.spec @@ -1,6 +1,6 @@ Name: cfitsio Version: 3.290 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Library for manipulating FITS data files Group: Development/Libraries License: MIT @@ -144,6 +144,9 @@ cp -p f{,un}pack %{buildroot}%{_bindir}/ %{_bindir}/funpack %changelog +* Fri Jan 06 2012 Sergio Pascual - 3.290-3 +- Adding the libz patch + * Fri Jan 06 2012 Sergio Pascual - 3.290-2 - Using system libz