From 6a0813e65990757ada4dc562dba23ff5089d7d97 Mon Sep 17 00:00:00 2001 From: Matthew D Truch Date: Mar 10 2009 20:22:47 +0000 Subject: Correctly set pkgconfig .pc file version number for cfitsio. --- diff --git a/cfitsio.spec b/cfitsio.spec index 2a86339..bcf6d41 100644 --- a/cfitsio.spec +++ b/cfitsio.spec @@ -1,6 +1,6 @@ Name: cfitsio Version: 3.130 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Library for manipulating FITS data files Group: Development/Libraries @@ -55,6 +55,9 @@ unset FC sed 's|${exec_prefix}/lib|${exec_prefix}/%{_lib}|' cfitsio.pc >cfitsio.pc.new sed 's|${prefix}/include|${prefix}/include/%{name}|' cfitsio.pc.new >cfitsio.pc rm -f cfitsio.pc.new +# Manually correct pkgconfig .pc file version +sed 's|3.006|%{version}|' cfitsio.pc >cfitsio.pc.new +mv cfitsio.pc.new cfitsio.pc %install rm -rf %{buildroot} @@ -89,6 +92,9 @@ rm -rf %{buildroot} %{_libdir}/libcfitsio.a %changelog +* Tue Mar 10 2009 Matthew Truch - 3.130-3 +- Set version number correctly in pkgconfig .pc file. + * Mon Feb 23 2009 Matthew Truch - 3.130-2 - Fix patch to properly set soname.