Skip to content

Commit 56a83f4

Browse files
committed
numeric version for perl
1 parent 8e6915c commit 56a83f4

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

bindings/perl-piped/RRDp.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ sub cmd (@);
124124
sub end ();
125125
sub read ();
126126

127-
$VERSION=1.7.2;
127+
$VERSION=1.7002;
128128

129129
sub start ($){
130130
croak "rrdtool is already running"

bindings/perl-shared/RRDs.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ use vars qw(@ISA $VERSION);
77

88
require DynaLoader;
99

10-
$VERSION=1.7.2;
10+
$VERSION=1.7002;
1111

1212
bootstrap RRDs $VERSION;
1313

rrdtool-release

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
#!/bin/sh
22
set -e
33
VERSION=`cat VERSION`
4-
PERLVERS=`perl -n -e 'm/NUMVERS=(\d+\.\d+)/ && print $1' configure.ac`
4+
NUMVERS=`perl -n -e 'm/NUMVERS=(\d+\.\d+)/ && print $1' configure`
55
set -x
6-
perl -i -p -e 's/^\$VERSION.+/\$VERSION='$VERSION';/' bindings/perl-*/*.pm
6+
perl -i -p -e 's/^\$VERSION.+/\$VERSION='$NUMVERS';/' bindings/perl-*/*.pm
77
perl -i -p -e 's/RRDtool 1\S+/RRDtool '$VERSION'/ && s/Copyright.+?Oetiker.+\d{4}/Copyright by Tobi Oetiker, 1997-2019/' src/*.h src/*.c
88
perl -i -p -e 's/^Version:.+/Version: '$VERSION'/' rrdtool.spec
99
perl -i -p -e 's/rrdtool-[\.\d]+\d(pre\d+)?(rc\d+)?/rrdtool-'$VERSION'/g' doc/rrdbuild.pod

0 commit comments

Comments
 (0)