SPECS: udpcast.spec - allow to pass %__cc, %rpmcflags to make - -M...

twittner twittner at pld-linux.org
Sun Sep 25 21:36:34 CEST 2005


Author: twittner                     Date: Sun Sep 25 19:36:34 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- allow to pass %__cc, %rpmcflags to make - -Makefile.patch (builds, not tested)
- use original source url

---- Files affected:
SPECS:
   udpcast.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SPECS/udpcast.spec
diff -u SPECS/udpcast.spec:1.2 SPECS/udpcast.spec:1.3
--- SPECS/udpcast.spec:1.2	Sun Sep 25 20:20:19 2005
+++ SPECS/udpcast.spec	Sun Sep 25 21:36:29 2005
@@ -5,9 +5,9 @@
 Release:	0.1
 License:	GPL v2 for main code, BSD-like for fec.c
 Group:		Networking
-# only working, recent url that i've found ;)
-Source0:	http://gentoo.nedlinux.nl/distfiles/%{name}-%{version}.tar.gz
+Source0:	http://udpcast.linux.lu/current/%{name}-%{version}.tar.gz
 # Source0-md5:	8165440ba93e2b0ec8150926c3787dd1
+Patch0:		%{name}-Makefile.patch
 URL:		http://udpcast.linux.lu/
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -21,9 +21,10 @@
 
 %prep
 %setup -q -n %{name}
+%patch0 -p1
 
 %build
-%{__make}
+%{__make} CC="%{__cc}" CFLAGS="%{rpmcflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -45,6 +46,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2005/09/25 19:36:29  twittner
+- allow to pass %__cc, %rpmcflags to make - -Makefile.patch (builds, not tested)
+- use original source url
+
 Revision 1.2  2005/09/25 18:20:19  snurf
 - md5 sum
 
================================================================

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




More information about the pld-cvs-commit mailing list