rpms/nightfall/devel nightfall-1.62-optflags.patch, NONE, 1.1 nightfall.spec, 1.5, 1.6

Ville Skyttä scop at fedoraproject.org
Tue Jun 9 19:07:29 UTC 2009


Author: scop

Update of /cvs/pkgs/rpms/nightfall/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv18818

Modified Files:
	nightfall.spec 
Added Files:
	nightfall-1.62-optflags.patch 
Log Message:
* Sat May  9 2009 Ville Skyttä <ville.skytta at iki.fi> - 1.62-7
- Patch for useful debuginfo package, better honor $RPM_OPT_FLAGS (#499917).


nightfall-1.62-optflags.patch:

--- NEW FILE nightfall-1.62-optflags.patch ---
diff -up nightfall-1.62/configure~ nightfall-1.62/configure
--- nightfall-1.62/configure~	2007-06-18 21:15:41.000000000 +0300
+++ nightfall-1.62/configure	2009-05-09 01:00:31.000000000 +0300
@@ -8330,18 +8330,9 @@ done
 
 
 if test "x$GCC" = "xyes"; then
-  if test ! -z "`echo " $CFLAGS" | grep ' \-g ' 2> /dev/null`" ; then
-    CFLAGS=`echo " $CFLAGS" | sed 's% \-g %%' `
-  fi
-  if test ! -z "`echo "$CFLAGS" | grep "\-O2" 2> /dev/null`" ; then
-    CFLAGS=`echo $CFLAGS | sed 's%\-O2%%' `
-  fi
   if test -z "`echo "$CFLAGS" | grep "\-Wall" 2> /dev/null`" ; then
     CFLAGS="$CFLAGS -Wall"
   fi
-  if test -z "`echo "$CFLAGS" | grep "\-O3" 2> /dev/null`" ; then
-    CFLAGS="$CFLAGS -O3"
-  fi
   if test -z "`echo "$CFLAGS" | grep "\-fforce\-addr" 2> /dev/null`" ; then
     CFLAGS="$CFLAGS -fforce-addr"
   fi


Index: nightfall.spec
===================================================================
RCS file: /cvs/pkgs/rpms/nightfall/devel/nightfall.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -p -r1.5 -r1.6
--- nightfall.spec	26 Feb 2009 05:41:52 -0000	1.5
+++ nightfall.spec	9 Jun 2009 19:06:59 -0000	1.6
@@ -1,6 +1,6 @@
 Name:		nightfall
 Version:	1.62
-Release:	6%{?dist}
+Release:	7%{?dist}
 Summary:	Nightfall is an astronomy application for emulation of eclipsing stars
 
 License:	GPLv2+
@@ -9,6 +9,7 @@ URL:		http://www.hs.uni-hamburg.de/DE/In
 Source0:	http://www.la-samhna.de/%{name}/%{name}-%{version}.tar.gz
 Source1:	nightfall.desktop
 Patch0:		nightfall-1.62-fixmakefile.patch
+Patch1:		nightfall-1.62-optflags.patch
 
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:	gtk2-devel, desktop-file-utils
@@ -25,6 +26,7 @@ It is, however, not able to fry your bre
 %prep
 %setup -q
 %patch0 -p2 -b .makefile
+%patch1 -p1 -b .optflags
 
 %build
 %configure --with-gnuplot --enable-gnome
@@ -48,6 +50,9 @@ rm -rf ${RPM_BUILD_ROOT}
 %{_datadir}/applications/fedora-nightfall.desktop
 
 %changelog
+* Sat May  9 2009 Ville Skyttä <ville.skytta at iki.fi> - 1.62-7
+- Patch for useful debuginfo package, better honor $RPM_OPT_FLAGS (#499917).
+
 * Wed Feb 25 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.62-6
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 




More information about the fedora-extras-commits mailing list