summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>1998-01-08 16:34:09 +0000
committerHerb Lewis <herb@samba.org>1998-01-08 16:34:09 +0000
commit89450e370cb63160b7d8f0965e865dd73f56dd66 (patch)
tree02ea5e3700dcaf1245ddd51d8f19a2ef286d6959
parent7bd96a661eab0e42a4138f23a45e0764b327efdc (diff)
downloadsamba-89450e370cb63160b7d8f0965e865dd73f56dd66.tar.gz
samba-89450e370cb63160b7d8f0965e865dd73f56dd66.tar.bz2
samba-89450e370cb63160b7d8f0965e865dd73f56dd66.zip
fix bug in version numbering scheme
(This used to be commit 2e9f4b5daa74484cbc8c3dc929ab3ae42d663f9f)
-rwxr-xr-xpackaging/SGI/spec.pl8
1 files changed, 7 insertions, 1 deletions
diff --git a/packaging/SGI/spec.pl b/packaging/SGI/spec.pl
index 01453fd923..84dbc85229 100755
--- a/packaging/SGI/spec.pl
+++ b/packaging/SGI/spec.pl
@@ -13,6 +13,7 @@ $_ = $foo[0];
# create the package name
$vername = " id \"Samba Version ".$_."\"\n";
+$patch = 0;
#create the subsystem version numbers
if (/alpha/) {
$_ =~ s/alpha/.00./;
@@ -21,8 +22,13 @@ elsif (/p/) {
$_ =~ s/p/./;
$_ .= '.00';
}
+else {
+ $_ .='.01.00';
+}
+
($v1,$v2,$v3,$v4,$v5) = split('\.');
-$vernum = sprintf " version %02d%02d%02d%02d%02d\n",$v1,$v2,$v3,$v4,$v5;
+$v4 = $v4 + $patch;
+$vernum = sprintf(" version %02d%02d%02d%02d%02d\n",$v1,$v2,$v3,$v4,$v5);
# generate the samba.spec file
open(SPEC,">samba.spec") || die "Unable to open samba.spec for output\n";