rpms/cfitsio/F-9 cfitsio.spec,1.28,1.29

Matthew D Truch mtruch at fedoraproject.org
Tue Mar 10 20:23:18 UTC 2009


Author: mtruch

Update of /cvs/extras/rpms/cfitsio/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv27199

Modified Files:
	cfitsio.spec 
Log Message:
Correctly set pkgconfig .pc file version number for cfitsio.



Index: cfitsio.spec
===================================================================
RCS file: /cvs/extras/rpms/cfitsio/F-9/cfitsio.spec,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- cfitsio.spec	23 Feb 2009 21:06:47 -0000	1.28
+++ cfitsio.spec	10 Mar 2009 20:22:47 -0000	1.29
@@ -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 @@
 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 @@
 %{_libdir}/libcfitsio.a
 
 %changelog
+* Tue Mar 10 2009 Matthew Truch <matt at truch.net> - 3.130-3
+- Set version number correctly in pkgconfig .pc file.
+
 * Mon Feb 23 2009 Matthew Truch <matt at truch.net> - 3.130-2
 - Fix patch to properly set soname.
 




More information about the fedora-extras-commits mailing list