SPECS: dutimer.spec - added -build patch - pass CC, CXX - compile ...

darekr darekr at pld-linux.org
Tue Dec 5 18:21:30 CET 2006


Author: darekr                       Date: Tue Dec  5 17:21:30 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added -build patch - pass CC, CXX
- compile with -Wno-deprecated to avoid error

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

---- Diffs:

================================================================
Index: SPECS/dutimer.spec
diff -u SPECS/dutimer.spec:1.20 SPECS/dutimer.spec:1.21
--- SPECS/dutimer.spec:1.20	Wed May 28 14:58:52 2003
+++ SPECS/dutimer.spec	Tue Dec  5 18:21:25 2006
@@ -8,6 +8,7 @@
 Group:		Networking
 Source0:	ftp://viii-lo.krakow.pl/pub/linux/dutimer/%{name}-v%{version}-linux.tar.gz
 # Source0-md5:	77747b471458ab769cfe7a198b2ac26c
+Patch0:		%{name}-build.patch
 URL:		http://dutimer.viii-lo.krakow.pl/
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -19,9 +20,12 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
-%{__make} pl
+%{__make} pl \
+	CC="%{__cc} %{rpmcflags}" \
+	CXX="%{__cxx} %{rpmcxxflags} -Wno-deprecated"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -43,6 +47,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.21  2006/12/05 17:21:25  darekr
+- added -build patch - pass CC, CXX
+- compile with -Wno-deprecated to avoid error
+
 Revision 1.20  2003/05/28 12:58:52  malekith
 - massive attack: source-md5
 
@@ -60,7 +68,7 @@
   Group field using gettext).
 
 Revision 1.15  2002/01/18 02:12:46  kloczek
-perl -pi -e "s/pld-list\@pld.org.pl/feedback\@pld.org.pl/"
+- perl -pi -e "s/pld-list\@pld.org.pl/feedback\@pld.org.pl/"
 
 Revision 1.14  2001/09/27 13:42:46  qboosh
 - added Source0 URL
================================================================

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



More information about the pld-cvs-commit mailing list