rpms/cfitsio/devel cfitsio.spec,1.19,1.20

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


Author: mtruch

Update of /cvs/extras/rpms/cfitsio/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22745

Modified Files:
	cfitsio.spec 
Log Message:
Don't let configure clobber CFLAGS so we get useful debuginfo packages.
Bugzilla 229041



Index: cfitsio.spec
===================================================================
RCS file: /cvs/extras/rpms/cfitsio/devel/cfitsio.spec,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- cfitsio.spec	8 Jan 2007 15:23:23 -0000	1.19
+++ cfitsio.spec	17 Feb 2007 15:07:00 -0000	1.20
@@ -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
+* Fri Feb 16 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.
+
 * Fri Jan 5 2007 Matthew Truch <matt at truch.net> - 3.030-1
 - Upgrade to version 3.020 of cfitsio.
 




More information about the scm-commits mailing list