packages: rumor/rumor.spec - don't override out optimization and -g flags -...

sparky sparky at pld-linux.org
Sun Jan 24 00:34:11 CET 2010


Author: sparky                       Date: Sat Jan 23 23:34:11 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- don't override out optimization and -g flags
- disable debug by default

---- Files affected:
packages/rumor:
   rumor.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: packages/rumor/rumor.spec
diff -u packages/rumor/rumor.spec:1.2 packages/rumor/rumor.spec:1.3
--- packages/rumor/rumor.spec:1.2	Wed Jan 20 20:14:17 2010
+++ packages/rumor/rumor.spec	Sun Jan 24 00:34:06 2010
@@ -14,6 +14,7 @@
 BuildRequires:	guile-devel
 BuildRequires:	libstdc++-devel
 BuildRequires:	libtool
+BuildRequires:	sed >= 4.0
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -25,6 +26,7 @@
 
 %prep
 %setup -q
+%{__sed} -i '/CXXFLAGS=.*-O[0-3].*/d' configure.ac
 
 %build
 %{__libtoolize}
@@ -32,7 +34,8 @@
 %{__autoconf}
 %{__autoheader}
 %{__automake}
-%configure
+%configure \
+	%{!?debug:--disable-debug}
 %{__make}
 
 %install
@@ -56,6 +59,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2010/01/23 23:34:06  sparky
+- don't override out optimization and -g flags
+- disable debug by default
+
 Revision 1.2  2010/01/20 19:14:17  sparky
 - BR: autoconf, automake, libstdc++-devel, libtool
 - don't assume .info compression
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/rumor/rumor.spec?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list