summaryrefslogtreecommitdiff
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
commit4f4826427443ca246d30f2408617e86031458a5f (patch)
treef9514e16909745a999c4813fea67b2f935c5c6cc
parent34edb1b47eac98674e79297bd7219cbaa8368bcf (diff)
downloadsamba-4f4826427443ca246d30f2408617e86031458a5f.tar.gz
samba-4f4826427443ca246d30f2408617e86031458a5f.tar.bz2
samba-4f4826427443ca246d30f2408617e86031458a5f.zip
test for pre- version numbers
(This used to be commit c1f25dbf996de50f486a165b314119e9f4ae0419)
-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 3bd643eef6..4541eb04ec 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';