SPECS: udpcast.spec - added Makefile patch to kill stupid -O6 - CC...

qboosh qboosh at pld-linux.org
Sun Oct 29 12:40:34 CET 2006


Author: qboosh                       Date: Sun Oct 29 11:40:34 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added Makefile patch to kill stupid -O6
- CC/CFLAGS are passed by configure

---- Files affected:
SPECS:
   udpcast.spec (1.10 -> 1.11) 

---- Diffs:

================================================================
Index: SPECS/udpcast.spec
diff -u SPECS/udpcast.spec:1.10 SPECS/udpcast.spec:1.11
--- SPECS/udpcast.spec:1.10	Sun Oct 29 10:47:00 2006
+++ SPECS/udpcast.spec	Sun Oct 29 12:40:29 2006
@@ -9,6 +9,7 @@
 Source0:	http://udpcast.linux.lu/download/%{name}-%{version}.tar.gz
 # Source0-md5:	e403b381ca9c8e686282d4652f3bda91
 Patch0:		%{name}-DESTDIR.patch
+Patch1:		%{name}-Makefile.patch
 URL:		http://udpcast.linux.lu/
 BuildRequires:	perl-tools-pod
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -32,15 +33,15 @@
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 %configure
-%{__make} \
-	CC="%{__cc}" \
-	CFLAGS="%{rpmcflags}"
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
+
 %{__make} install \
         DESTDIR=$RPM_BUILD_ROOT
 
@@ -49,9 +50,9 @@
 
 %files
 %defattr(644,root,root,755)
+%doc Changelog.txt
 %attr(755,root,root) %{_sbindir}/*
 %{_mandir}/man1/*
-%doc Changelog.txt
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -59,6 +60,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.11  2006/10/29 11:40:29  qboosh
+- added Makefile patch to kill stupid -O6
+- CC/CFLAGS are passed by configure
+
 Revision 1.10  2006/10/29 09:47:00  piotrek
 - up to 20060929
 - fixed pl desc
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/udpcast.spec?r1=1.10&r2=1.11&f=u



More information about the pld-cvs-commit mailing list