[cfitsio] Adding the libz patch

Sergio Pascual sergiopr at fedoraproject.org
Fri Jan 6 00:24:58 UTC 2012


commit db14bd0b4c89e04830d8163edee44482c814a054
Author: Sergio Pascual <sergiopr at fis.ucm.es>
Date:   Fri Jan 6 01:24:29 2012 +0100

    Adding the libz patch

 cfitsio-zlib.patch |   22 ++++++++++++++++++++++
 cfitsio.spec       |    5 ++++-
 2 files changed, 26 insertions(+), 1 deletions(-)
---
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 <sergiopr at fedoraproject.org> - 3.290-3
+- Adding the libz patch
+
 * Fri Jan 06 2012 Sergio Pascual <sergiopr at fedoraproject.org> - 3.290-2
 - Using system libz
 


More information about the scm-commits mailing list