[libdatetime-timezone-perl] 01/03: Update helper script debian/tools/update-tzdata.sh
gregor herrmann
gregoa at debian.org
Thu Mar 2 23:28:19 UTC 2017
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libdatetime-timezone-perl.
commit 2017b90c8ea58fbd9e0a63158f17bf6129630718
Author: gregor herrmann <gregoa at debian.org>
Date: Thu Mar 2 23:57:54 2017 +0100
Update helper script debian/tools/update-tzdata.sh
to match how the timezone data files look since 2.07.
Previously we added a separate version for each module but this version is
gone now. Drop the routine from our manually invoked helper script.
---
debian/tools/update-tzdata.sh | 7 -------
1 file changed, 7 deletions(-)
diff --git a/debian/tools/update-tzdata.sh b/debian/tools/update-tzdata.sh
index 80032cf..1924d7c 100644
--- a/debian/tools/update-tzdata.sh
+++ b/debian/tools/update-tzdata.sh
@@ -50,10 +50,3 @@ pushd debian/tzdata || die "Cannot cd debian/tzdata."
popd
perl tools/parse_olson --dir debian/tzdata --version $updbversion --clean
-
-# add VERSION to files
-for f in $(find lib/DateTime -name "*.pm"); do
- grep -q "::VERSION = '$dttzversion';" $f && continue
- module=$(echo $f | perl -pe 's{lib/DateTime/TimeZone/(.+)(?:(/.+))?.pm}{DateTime/TimeZone/$1$2}; s{/}{::}g;')
- perl -pi -e "s{package $module;\s+}{$&\\\$${module}::VERSION = '$dttzversion';}m" $f
-done
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libdatetime-timezone-perl.git
More information about the Pkg-perl-cvs-commits
mailing list