rpms/cfitsio/FC-5 cfitsio.spec,1.17,1.18

Matthew D Truch (mtruch) fedora-extras-commits at redhat.com
Sat Feb 17 15:26:39 UTC 2007


Author: mtruch

Update of /cvs/extras/rpms/cfitsio/FC-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22948/FC-5

Modified Files:
	cfitsio.spec 
Log Message:
Fix for Bugzilla Bug 229041 in FC-5 and FC-6
 -Don't let configure clobber CFLAGS so we can produce valid debuginfo.



Index: cfitsio.spec
===================================================================
RCS file: /cvs/extras/rpms/cfitsio/FC-5/cfitsio.spec,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- cfitsio.spec	8 Jan 2007 16:08:12 -0000	1.17
+++ cfitsio.spec	17 Feb 2007 15:26:07 -0000	1.18
@@ -1,6 +1,6 @@
 Name:           cfitsio
 Version:        3.030
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Library for manipulating FITS data files
 
 Group:          Development/Libraries
@@ -28,6 +28,7 @@
 Group:  Development/Libraries
 Summary: Headers required when building programs against cfitsio
 Requires: %{name} = %{version}-%{release}
+Requires: pkgconfig
 
 %description devel
 Headers required when building a program against the cfitsio library.
@@ -39,6 +40,7 @@
 %build
 FC=f95
 export FC
+export CC=gcc # fixes -O*, -g
 %configure
 make shared %{?_smp_mflags}
 unset FC
@@ -74,6 +76,12 @@
 %{_libdir}/pkgconfig/cfitsio.pc
 
 %changelog
+* Sat Feb 17 2007 Matthew Truch <matt at truch.net> - 3.030-2
+- Require pkgconfig for -devel.
+- export CC=gcc so we don't clobber $RPM_OPT_FLAGS, thereby
+  ruining any -debuginfo packages.
+  See RedHat Bugzilla 229041.
+
 * Mon Jan 8 2007 Matthew Truch <matt at truch.net> - 3.030-1
 - Upgrade to 3.030.
 




More information about the scm-commits mailing list