SPECS: builder - need %patchset_source() as it defines PatchX

glen glen at pld-linux.org
Fri Dec 22 20:52:16 CET 2006


Author: glen                         Date: Fri Dec 22 19:52:16 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- need %patchset_source() as it defines PatchX

---- Files affected:
SPECS:
   builder (1.469 -> 1.470) 

---- Diffs:

================================================================
Index: SPECS/builder
diff -u SPECS/builder:1.469 SPECS/builder:1.470
--- SPECS/builder:1.469	Fri Dec 22 20:31:09 2006
+++ SPECS/builder	Fri Dec 22 20:52:11 2006
@@ -401,7 +401,9 @@
 %py_ver ERROR
 %perl_vendorarch ERROR
 %perl_vendorlib ERROR
-%patchset_source() %{nil}
+# damn. need it here! - copied from /usr/lib/rpm/macros.build
+%tmpdir		%(echo "${TMPDIR:-/tmp}")
+%patchset_source(f:b:) %(base=%{-b*}%{!-b*:10000}; start=$((%1 + $base)); end=$((%{?2}%{!?2:%{1}} + $base)); seq -f 'Patch%g:' $start $end > %{tmpdir}/__ps1; seq -f '%{-f*}' %1 %{?2}%{!?2:%{1}} > %{tmpdir}/__ps2; paste %{tmpdir}/__ps{1,2}; rm -f %{tmpdir}/__ps{1,2})%{nil}
 EOF
 	case "$RPMBUILD" in
 	rpm)
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/builder?r1=1.469&r2=1.470&f=u



More information about the pld-cvs-commit mailing list