summaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>2000-01-17 23:16:23 +0000
committerHerb Lewis <herb@samba.org>2000-01-17 23:16:23 +0000
commitc1f25dbf996de50f486a165b314119e9f4ae0419 (patch)
tree1fd4051de0e24470ff932ba18d0ee7bbc1d92da5 /packaging
parent55035b8984c135ddd2c4e3be18caf8833975841d (diff)
downloadsamba-c1f25dbf996de50f486a165b314119e9f4ae0419.tar.gz
samba-c1f25dbf996de50f486a165b314119e9f4ae0419.tar.xz
samba-c1f25dbf996de50f486a165b314119e9f4ae0419.zip
test for pre- version numbers
Diffstat (limited to 'packaging')
-rwxr-xr-xpackaging/SGI/spec.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/packaging/SGI/spec.pl b/packaging/SGI/spec.pl
index 3bd643eef6e..4541eb04ec3 100755
--- a/packaging/SGI/spec.pl
+++ b/packaging/SGI/spec.pl
@@ -22,6 +22,10 @@ elsif (/-HEAD/) {
$_ =~ s/-HEAD/.01/;
$_ .= '.99';
}
+elsif (/pre-/) {
+ $_ =~ s/pre-//;
+ $_ .= '.00';
+}
elsif (/p/) {
$_ =~ s/p/./;
$_ .= '.00';