aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile1
-rwxr-xr-xRpmdrake/init.pm2
2 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 698fc58d..a51f5f72 100644
--- a/Makefile
+++ b/Makefile
@@ -45,6 +45,7 @@ install: $(ALL)
mkdir -p $(PERL_VENDORLIB)/Rpmdrake
install -m 644 rpmdrake.pm $(PERL_VENDORLIB)
install -m 644 Rpmdrake/*.pm $(PERL_VENDORLIB)/Rpmdrake
+ perl -pi -e "s/version = 1/version=$(VERSION)/" $(PERL_VENDORLIB)/Rpmdrake/init.pm
clean:
@for n in $(DIRS); do \
diff --git a/Rpmdrake/init.pm b/Rpmdrake/init.pm
index f743e9de..d01c36a4 100755
--- a/Rpmdrake/init.pm
+++ b/Rpmdrake/init.pm
@@ -80,7 +80,7 @@ if ($collation_locale) {
$collation_locale =~ /UTF-8/ or setlocale(LC_COLLATE, "$collation_locale.UTF-8");
}
-my $version = '3.42';
+my $version = 1;
our %options;
foreach (@ARGV) {
/^-?-(\S+)$/ or next;