From 37ce59c79b37e6e7a94b3f25db9012be80dabb88 Mon Sep 17 00:00:00 2001 From: Matthew D Truch Date: Feb 21 2010 20:28:35 +0000 Subject: Fix version number indicated in pkgconfig file. --- diff --git a/cfitsio-pkgconfig.patch b/cfitsio-pkgconfig.patch new file mode 100644 index 0000000..9b375af --- /dev/null +++ b/cfitsio-pkgconfig.patch @@ -0,0 +1,12 @@ +diff -ur cfitsio/cfitsio.pc.in cfitsio-pkgconfig/cfitsio.pc.in +--- cfitsio/cfitsio.pc.in 2010-01-26 12:39:34.000000000 -0500 ++++ cfitsio-pkgconfig/cfitsio.pc.in 2010-02-21 15:18:26.000000000 -0500 +@@ -5,7 +5,7 @@ + + Name: cfitsio + Description: FITS File Subroutine Library +-Version: 3.24 ++Version: 3.240 + Libs: -L${libdir} -lcfitsio @LIBS@ + Libs.private: -lm + Cflags: -I${includedir} diff --git a/cfitsio.spec b/cfitsio.spec index ebc1548..d387966 100644 --- a/cfitsio.spec +++ b/cfitsio.spec @@ -1,13 +1,14 @@ Name: cfitsio Version: 3.240 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Library for manipulating FITS data files Group: Development/Libraries License: GPLv2+ URL: http://heasarc.gsfc.nasa.gov/docs/software/fitsio/fitsio.html Source0: ftp://heasarc.gsfc.nasa.gov/software/fitsio/c/cfitsio3240.tar.gz -Patch: cfitsio.patch +Patch0: cfitsio.patch +Patch1: cfitsio-pkgconfig.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: gcc-gfortran @@ -50,7 +51,8 @@ Stand-alone documentation for cfitsio. %prep %setup -q -n cfitsio -%patch -p1 +%patch0 -p1 +%patch1 -p1 %build FC=f95 @@ -111,6 +113,9 @@ rm -rf %{buildroot} %doc fitsio.doc fitsio.ps cfitsio.doc cfitsio.ps %changelog +* Sun Feb 21 2010 Matthew Truch - 3.240-2 +- Fix pkgconfig version number. + * Wed Feb 17 2010 Matthew Truch - 3.240-1 - Upstream 3.240 bugfix release.