r70916 - in /trunk/libdatetime-timezone-perl/debian: README.NMU README.source changelog rules

periapt-guest at users.alioth.debian.org periapt-guest at users.alioth.debian.org
Tue Mar 8 22:15:26 UTC 2011


Author: periapt-guest
Date: Tue Mar  8 22:13:08 2011
New Revision: 70916

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=70916
Log:
- Update copyright
* Renamed README.NMU to README.source and rewrote it and tweaked prepare rule

Added:
    trunk/libdatetime-timezone-perl/debian/README.source
      - copied, changed from r70898, trunk/libdatetime-timezone-perl/debian/README.NMU
Removed:
    trunk/libdatetime-timezone-perl/debian/README.NMU
Modified:
    trunk/libdatetime-timezone-perl/debian/changelog
    trunk/libdatetime-timezone-perl/debian/rules

Copied: trunk/libdatetime-timezone-perl/debian/README.source (from r70898, trunk/libdatetime-timezone-perl/debian/README.NMU)
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdatetime-timezone-perl/debian/README.source?rev=70916&op=diff
==============================================================================
--- trunk/libdatetime-timezone-perl/debian/README.NMU (original)
+++ trunk/libdatetime-timezone-perl/debian/README.source Tue Mar  8 22:13:08 2011
@@ -1,17 +1,40 @@
-If you want to do NMU for this package, please be careful.  The version number
-of the package have the Olson time zone DB version after last plus.
+What is odd about this package
+-------------------------------
+This package exposes the Olson timezone database to Perl.
+Almost always there is a one to one correspondence between
+the upstream Perl version number and the Olson database version
+number. And usually the Debian version number just tracks the 
+upstream version number. Occasionally however
+it is necessary to update the module directly from
+the Olson database. In order to facilitate this
+we include the Olson database version number in the 
+Debian version number.
 
+How to update this package *normally*
+-------------------------------------
+* Use 'svn-upgrade --uscan' as you would for any other package.
+* Stick the Olson version number in the Debian version as demonstrated
+for older versions in the Debian changelog.
+* In the Debian changelog amend the 'New upstream release' comment
+to mention the Olson database version number.
 
-If you need to update the time zone database:
+How to work out what the olson database version is/should be
+------------------------------------------------------------
+* Every time zone module (i.e. anything below DateTime/TimeZone)
+has an 'olson_version' method that will return what the olson 
+database version in our code is.
+* To see the actual current Olsdon database version number see
+http://elsie.nci.nih.gov/pub/. Look for the tarfile which will
+have the version number embedded in its name.
 
-1. Change package version number and db version number, i.e. 0.68-1+2007x
-2. Call script debian/tools/update-tzdata.sh
+How to update the time zone database
+------------------------------------
+1. Change package version number and db version number, e.g. 0.68-2+2007x
+2. Make sure that you have the Locale::Country module installed. It is currently
+not in Debian so you will have to do it directly from CPAN.
+3. The steps below will modify the upstream source so you need to be familiar
+with quilt. Create a quilt patch that includes every file in the
+lib/DateTime/TimeZone/ directory.
+4. Call script: debian/tools/update-tzdata.sh
+5. Refresh the patch and add the appropriate headers and continue.
 
-
-If you need to release NMU without updating time zones:
-
-1. Change package version number without bumping the db version number,
-i.e. 0.69-0.1+2007h
-
-
-Always call dpkg-buildpackage (debuild, pbuilder, etc) with -sa argument.

Modified: trunk/libdatetime-timezone-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdatetime-timezone-perl/debian/changelog?rev=70916&op=diff
==============================================================================
--- trunk/libdatetime-timezone-perl/debian/changelog (original)
+++ trunk/libdatetime-timezone-perl/debian/changelog Tue Mar  8 22:13:08 2011
@@ -1,17 +1,16 @@
 libdatetime-timezone-perl (1:1.29-1+2011c) UNRELEASED; urgency=low
 
   TODO:
-  - The README.NMU file should be renamed to README.source and rewritten
-  to be actually useful and explain what the update stuff is for
-  and how it works.
   - The debian/tzdata could probably be removed but the consequences need
   to be checked.
+  - Update copyright
 
   * Added myself to Uploaders
   * New upstream release, based on version 2011c of the Olson database
     (according to the files, and contrary to the upstream Changes file)
   * Removed DateTime::TimeZone::Local::Win32.pm as it does not do anything
     on Linux and was causing lintian errors because of a long line
+  * Renamed README.NMU to README.source and rewrote it and tweaked prepare rule
 
  -- Nicholas Bamber <nicholas at periapt.co.uk>  Tue, 08 Mar 2011 15:09:13 +0000
 

Modified: trunk/libdatetime-timezone-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdatetime-timezone-perl/debian/rules?rev=70916&op=diff
==============================================================================
--- trunk/libdatetime-timezone-perl/debian/rules (original)
+++ trunk/libdatetime-timezone-perl/debian/rules Tue Mar  8 22:13:08 2011
@@ -7,7 +7,7 @@
 	dh $@
 
 prepare:
-	sh debian/tools/update-tzdata.sh
+	bash debian/tools/update-tzdata.sh
 
 .PHONY: prepare
 




More information about the Pkg-perl-cvs-commits mailing list