SPECS: lsvpd.spec - real gcc4 fixes.

pluto pluto at pld-linux.org
Wed Sep 20 17:33:31 CEST 2006


Author: pluto                        Date: Wed Sep 20 15:33:31 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- real gcc4 fixes.

---- Files affected:
SPECS:
   lsvpd.spec (1.20 -> 1.21) 

---- Diffs:

================================================================
Index: SPECS/lsvpd.spec
diff -u SPECS/lsvpd.spec:1.20 SPECS/lsvpd.spec:1.21
--- SPECS/lsvpd.spec:1.20	Wed Sep 20 13:08:54 2006
+++ SPECS/lsvpd.spec	Wed Sep 20 17:33:26 2006
@@ -8,9 +8,8 @@
 Group:		Applications/System
 Source0:	http://dl.sourceforge.net/linux-diag/%{name}-%{version}.tar.gz
 # Source0-md5:	d3abbecb7056816fe3f6ce6729b433cc
+Patch0:		%{name}-gcc4.patch
 URL:		http://linux-diag.sourceforge.net/Lsvpd.html
-# for -fno-unit-at-a-time
-BuildRequires:	gcc >= 5:4.0.0
 BuildRequires:	perl-base
 BuildRequires:	rpmbuild(macros) >= 1.268
 BuildRequires:	sed >= 4.0
@@ -44,13 +43,13 @@
 
 %prep
 %setup -q
+%patch0 -p1
 sed -i -e "s,#!/bin/sh,#!/bin/bash," scripts/lsvpd.in
 
 %build
-# disable unit-at-a-time - see src/init.h
 %{__make} \
 	CC="%{__cc}" \
-	CFLAGS="%{rpmcflags} -fno-unit-at-a-time -Wall -Werror -I../lib" \
+	CFLAGS="%{rpmcflags} -Wall -Werror -I../lib" \
 	LDLIBS="-lsgutils"
 
 %install
@@ -118,6 +117,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.21  2006/09/20 15:33:26  pluto
+- real gcc4 fixes.
+
 Revision 1.20  2006/09/20 11:08:54  qboosh
 - gcc epoch
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/lsvpd.spec?r1=1.20&r2=1.21&f=u



More information about the pld-cvs-commit mailing list