SPECS: cgdb.spec - get rid of debug flag (-g) during normal build ...

twittner twittner at pld-linux.org
Thu Aug 25 00:13:16 CEST 2005


Author: twittner                     Date: Wed Aug 24 22:13:16 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- get rid of debug flag (-g) during normal build (-am_no_debug.patch)
- added missing #include <stdio.h> (build failed after am/ac regeneration,
  -missing_includes.patch
- regenerate am/ac (CPPFLAGS hack is still needed)
- rel. 2

---- Files affected:
SPECS:
   cgdb.spec (1.12 -> 1.13) 

---- Diffs:

================================================================
Index: SPECS/cgdb.spec
diff -u SPECS/cgdb.spec:1.12 SPECS/cgdb.spec:1.13
--- SPECS/cgdb.spec:1.12	Wed Aug 24 19:37:24 2005
+++ SPECS/cgdb.spec	Thu Aug 25 00:13:11 2005
@@ -3,13 +3,16 @@
 Summary(pl):	Lekki, ale w pełni funkcjonalny frontend do gdb oparty na ncurses
 Name:		cgdb
 Version:	0.5.3
-Release:	1
+Release:	2
 License:	GPL
 Group:		Development/Debuggers
 Source0:	http://dl.sourceforge.net/cgdb/%{name}-%{version}.tar.gz
 # Source0-md5:	51adf1db0307adaba24336ef3a18e0c3
 Patch0:		%{name}-home_etc.patch
+Patch1:		%{name}-missing_includes.patch
+Patch2:		%{name}-am_no_debug.patch
 URL:		http://cgdb.sourceforge.net/
+BuildRequires:	autoconf
 BuildRequires:	automake
 BuildRequires:	readline-devel
 Requires:	gdb
@@ -35,10 +38,16 @@
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
+%patch2 -p1
 
 %build
-CPPFLAGS="-I/usr/include/ncurses"
-cp -f /usr/share/automake/config.sub config
+CPPFLAGS=" -I/usr/include/ncurses "
+%{__aclocal} -I config
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+
 %configure
 
 %{__make}
@@ -65,6 +74,13 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.13  2005/08/24 22:13:11  twittner
+- get rid of debug flag (-g) during normal build (-am_no_debug.patch)
+- added missing #include <stdio.h> (build failed after am/ac regeneration,
+  -missing_includes.patch
+- regenerate am/ac (CPPFLAGS hack is still needed)
+- rel. 2
+
 Revision 1.12  2005/08/24 17:37:24  adamg
 - updated to 0.5.3
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/cgdb.spec?r1=1.12&r2=1.13&f=u




More information about the pld-cvs-commit mailing list