SPECS: builder - update md5 and fetch for ./builder -u - rel 0.1 f...

glen glen at pld-linux.org
Sat Oct 15 15:00:06 CEST 2005


Author: glen                         Date: Sat Oct 15 13:00:06 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- update md5 and fetch for ./builder -u
- rel 0.1 for fresh upgrade

---- Files affected:
SPECS:
   builder (1.337 -> 1.338) 

---- Diffs:

================================================================
Index: SPECS/builder
diff -u SPECS/builder:1.337 SPECS/builder:1.338
--- SPECS/builder:1.337	Sat Oct 15 14:28:51 2005
+++ SPECS/builder	Sat Oct 15 15:00:00 2005
@@ -16,9 +16,7 @@
 #	100 - Unknown error (should not happen)
 
 # Notes (todo):
-#	- builder -u fetches current version first
-#	- tries to get new version from distfiles without new md5
-#	- after fetching new version doesn't update md5
+#	- builder -u fetches current version first (well that's okay, how you compare versions if you have no old spec?)
 #	- when Icon: field is present, -5 and -a5 doesn't work
 
 VERSION="\
@@ -911,13 +909,13 @@
 			cp -f $SPECFILE $SPECFILE.bak
 			chmod +w $SPECFILE
 			eval "perl -pi -e 's/Version:\t"$TOLDVER"/Version:\t"$TNEWVER"/gs' $SPECFILE"
-			eval "perl -pi -e 's/Release:\t[1-9]{0,4}/Release:\t1/' $SPECFILE"
+			eval "perl -pi -e 's/Release:\t[1-9]{0,4}/Release:\t0.1/' $SPECFILE"
 			parse_spec;
 			if [ -n "$ICONS" ]; then
 				get_files $ICONS;
 				parse_spec;
 			fi
-			get_files "$SOURCES $PATCHES";
+			NODIST="yes" UPDATE5="yes" get_files "$SOURCES $PATCHES";
 			unset TOLDVER TNEWVER TNOTIFY
 		fi
 	fi
@@ -1763,7 +1761,7 @@
 		;;
 	"tag" )
 		NOURLS=1
-		NODIST=1
+		NODIST="yes"
 		init_builder;
 		if [ -n "$SPECFILE" ]; then
 			get_spec;
================================================================

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




More information about the pld-cvs-commit mailing list