From f7b91886e0461287459b22b8923fab06b1c537f1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Sat, 15 Oct 2005 13:00:00 +0000 Subject: [PATCH] - update md5 and fetch for ./builder -u - rel 0.1 for fresh upgrade Changed files: builder.sh -> 1.338 --- builder.sh | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/builder.sh b/builder.sh index 1c23aa5..ef31cdd 100644 --- a/builder.sh +++ b/builder.sh @@ -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 @@ build_package() 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 @@ case "$COMMAND" in ;; "tag" ) NOURLS=1 - NODIST=1 + NODIST="yes" init_builder; if [ -n "$SPECFILE" ]; then get_spec; -- 2.44.0