Author: stevehay Date: Wed May 13 08:01:18 2015 New Revision: 1679159 URL: http://svn.apache.org/r1679159 Log: Set the $VERSION for the distribution tarball as it is done for Apache-Test and Apache-Reload, namely, to be mod_perl-2.0.9-rc1 rather than mod_perl-2.0.9rc1
(Actually, the Apache-Test and Apache-Reload set_version()s need renaming to, say, set_apache_test_version() and set_apache_reload_version(), to avoid a 'Subroutine redefined' warning, but that will have to wait until later now to avoid delaying to make new releases of them.) Modified: perl/modperl/trunk/Makefile.PL Modified: perl/modperl/trunk/Makefile.PL URL: http://svn.apache.org/viewvc/perl/modperl/trunk/Makefile.PL?rev=1679159&r1=1679158&r2=1679159&view=diff ============================================================================== --- perl/modperl/trunk/Makefile.PL (original) +++ perl/modperl/trunk/Makefile.PL Wed May 13 08:01:18 2015 @@ -492,8 +492,8 @@ sub set_modperl_version { open my $fh, 'Changes'; while (<$fh>) { - if (/^=item\s+\Q$VERSION\E-(\w+)/) { - $VERSION .= "$1"; + if (/^=item\s+\Q$VERSION\E-(dev|rc\d+)/) { + $VERSION .= "-$1"; last; } last if /^=item/;