remove hack to recognize .0.0.
This commit is contained in:
parent
f63e804b78
commit
aaa9a0cd63
@ -1,5 +1,5 @@
|
||||
#! /usr/bin/perl
|
||||
# $OpenBSD: resolve-lib,v 1.15 2006/09/18 11:30:08 espie Exp $
|
||||
# $OpenBSD: resolve-lib,v 1.16 2006/09/18 12:56:22 espie Exp $
|
||||
#
|
||||
# Copyright (c) 2001, 2005 Marc Espie <espie@openbsd.org>
|
||||
#
|
||||
@ -60,11 +60,7 @@ sub parse_spec_versions
|
||||
$spec = $`;
|
||||
$req->{noshared} = 1;
|
||||
} else {
|
||||
if ($spec =~ m/\.0\.0$/) {
|
||||
$req->{major} = 0;
|
||||
$req->{minor} = 0;
|
||||
$spec = $`;
|
||||
} elsif ($spec =~ m/\.(\>?)\=(\d+)\.(\d+)$/) {
|
||||
if ($spec =~ m/\.(\>?)\=(\d+)\.(\d+)$/) {
|
||||
$req->{major} = $2;
|
||||
$req->{minor} = $3;
|
||||
$spec = $`;
|
||||
|
Loading…
Reference in New Issue
Block a user