SPECS: gfs2.spec - switched to new llh - use optflags everywhere

qboosh qboosh at pld-linux.org
Fri Apr 6 08:11:38 CEST 2007


Author: qboosh                       Date: Fri Apr  6 06:11:38 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- switched to new llh
- use optflags everywhere

---- Files affected:
SPECS:
   gfs2.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SPECS/gfs2.spec
diff -u SPECS/gfs2.spec:1.3 SPECS/gfs2.spec:1.4
--- SPECS/gfs2.spec:1.3	Thu Apr  5 22:38:24 2007
+++ SPECS/gfs2.spec	Fri Apr  6 08:11:32 2007
@@ -9,10 +9,10 @@
 Group:		Applications/System
 Source0:	ftp://sources.redhat.com/pub/cluster/releases/cluster-%{version}.tar.gz
 # Source0-md5:	2ef3f4ba9d3c87b50adfc9b406171085
+Patch0:		%{name}-install.patch
 URL:		http://sources.redhat.com/cluster/gfs/
-Patch0:	%{name}-install.patch
-BuildRequires:	kernel-libc-headers
 BuildRequires:	libvolume_id-devel
+BuildRequires:	linux-libc-headers >= 7:2.6.20
 BuildRequires:	ncurses-devel
 BuildRequires:	perl-base
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -45,7 +45,9 @@
 %patch0 -p1
 cd %{name}
 
-%{__perl} -pi -e 's,-Wall,%{rpmcflags} -I/usr/include/ncurses -Wall,' make/defines.mk.input
+sed -i -e 's,-Wall,%{rpmcflags} -I/usr/include/ncurses -Wall,' make/defines.mk.input
+sed -i -e 's/ -ggdb / %{rpmcflags} /' libgfs2/Makefile
+sed -i -e 's/ -O2 -ggdb / %{rpmcflags} /' mkfs/Makefile
 
 %build
 cd %{name}
@@ -78,6 +80,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2007/04/06 06:11:32  qboosh
+- switched to new llh
+- use optflags everywhere
+
 Revision 1.3  2007/04/05 20:38:24  aredridel
 - add fix for cross-device link in %install
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/gfs2.spec?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list