r55773 - in /trunk/libhttp-oai-perl/debian: changelog control copyright patches/debian-changes-3.22-1 rules

lars at users.alioth.debian.org lars at users.alioth.debian.org
Thu Apr 8 23:49:09 UTC 2010


Author: lars
Date: Thu Apr  8 23:49:04 2010
New Revision: 55773

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=55773
Log:
Fixes and tweaks suggested by Gregor Herrmann.

Modified:
    trunk/libhttp-oai-perl/debian/changelog
    trunk/libhttp-oai-perl/debian/control
    trunk/libhttp-oai-perl/debian/copyright
    trunk/libhttp-oai-perl/debian/patches/debian-changes-3.22-1
    trunk/libhttp-oai-perl/debian/rules

Modified: trunk/libhttp-oai-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhttp-oai-perl/debian/changelog?rev=55773&op=diff
==============================================================================
--- trunk/libhttp-oai-perl/debian/changelog (original)
+++ trunk/libhttp-oai-perl/debian/changelog Thu Apr  8 23:49:04 2010
@@ -1,36 +1,17 @@
 libhttp-oai-perl (3.22-1) UNRELEASED; urgency=low
 
   TODO:
-  - debian/copyright:
-    + (cosmetic) upstream copyright would read nicer as
-      "Copyright: 2004, Tim Brody <tdb01r at ecs.soton.ac.uk>"
-    + examples/mets.xml contains [Cc]opyright, not sure if this is relevant
-  - debian/changelog: I'd remove everything except the "Initial release" line
-  - debian/rules:
-    + (purely aesthetic) a way to make the overrides slightly
-      better readable by using variables is described in
-      http://pkg-perl.alioth.debian.org/debhelper.html
-    + you can move the second mv away from dh_installman, the manpages are
-      installed by "make install" and not by dh_installman
-    + s/dh_install/dh_auto_install/ (matter of taste ...)
-  - debian/control: the dependency on libxml-libxml-perl should probably be >=
-    1.60 (instead of 1.6), since debian has 1.59, 1.66 ...
   - upstream has released 3.23
   - please use quilt for managing changes in the upstream code (and
     DEP3 for the patch headers) instead of the automatically created patches
     and commit the unpatched sources
     http://pkg-perl.alioth.debian.org/howto/quilt.html
-  - debian/control: please mention the module name in the long description,
-    e.g. s/A Perl library/HTTP::OAI is a Perl library/
 
   * Initial Release. (Closes: #576757)
   * Set build-dependency on libxml-sax-perl to be >= 0.96, not >= 1.
     The actual Perl module needed is version 1, but its parent module
     (and the Debian package) is 0.96. Verified this with Grant McLean,
-    the upstream maintainer.
-  * Rename oai_browser.pl to oai_browser, upon installation. Manpage,
-    too.
-  * Change two PODs with long lines by adding spaces, to allow man to
-    break lines within 80 chars.
+    the upstream maintainer. (Documented here for posterity, in case
+    anyone wonders what's going on.)
 
  -- Lars Wirzenius <lars at catalyst.net.nz>  Thu, 08 Apr 2010 11:34:02 +1200

Modified: trunk/libhttp-oai-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhttp-oai-perl/debian/control?rev=55773&op=diff
==============================================================================
--- trunk/libhttp-oai-perl/debian/control (original)
+++ trunk/libhttp-oai-perl/debian/control Thu Apr  8 23:49:04 2010
@@ -2,7 +2,7 @@
 Section: perl
 Priority: optional
 Build-Depends: debhelper (>= 7.0.50~)
-Build-Depends-Indep: perl, liburi-perl, libxml-libxml-perl (>= 1.6),
+Build-Depends-Indep: perl, liburi-perl, libxml-libxml-perl (>= 1.60),
   libwww-perl, libxml-sax-perl (>= 0.96)
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Lars Wirzenius <lars at catalyst.net.nz>
@@ -16,8 +16,8 @@
 Depends: ${perl:Depends}, ${misc:Depends}, liburi-perl,
   libxml-libxml-perl (>= 1.6), libwww-perl, libxml-sax-perl (>= 0.96)
 Description: API for the OAI-PMH
- A Perl library implementing an API to use the Open Archives Initiative
- Protocol for Metadata Harvesting (OAI-PMH). See
+ HTTP::OAI is a Perl library implementing an API to use the Open Archives 
+ Initiative Protocol for Metadata Harvesting (OAI-PMH). See
  http://www.openarchives.org/OAI/openarchivesprotocol.html for
  more information.
 

Modified: trunk/libhttp-oai-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhttp-oai-perl/debian/copyright?rev=55773&op=diff
==============================================================================
--- trunk/libhttp-oai-perl/debian/copyright (original)
+++ trunk/libhttp-oai-perl/debian/copyright Thu Apr  8 23:49:04 2010
@@ -4,7 +4,7 @@
 Name: HTTP-OAI
 
 Files: *
-Copyright: Copyright 2004 Tim Brody <tdb01r at ecs.soton.ac.uk>
+Copyright: 2004, Tim Brody <tdb01r at ecs.soton.ac.uk>
 License: Perl
 
 Files: debian/*

Modified: trunk/libhttp-oai-perl/debian/patches/debian-changes-3.22-1
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhttp-oai-perl/debian/patches/debian-changes-3.22-1?rev=55773&op=diff
==============================================================================
--- trunk/libhttp-oai-perl/debian/patches/debian-changes-3.22-1 (original)
+++ trunk/libhttp-oai-perl/debian/patches/debian-changes-3.22-1 Thu Apr  8 23:49:04 2010
@@ -1,12 +1,39 @@
-Description: Fix long lines in PODs so that manual pages format well.
- There are two PODs that each contain a long line, describing how to
- use a method with many optional arguments. These lines cause man(1)
- to have trouble breaking the line so it fits in 80 columns. This
- patch introduces some spaces into the lines to allow line breaking.
+Description: Upstream changes introduced in version 3.22-1
+ This patch has been created by dpkg-source during the package build.
+ Here's the last changelog entry, hopefully it gives details on why
+ those changes were made:
+ .
+ libhttp-oai-perl (3.22-1) UNRELEASED; urgency=low
+ .
+   TODO:
+   - upstream has released 3.23
+   - please use quilt for managing changes in the upstream code (and
+     DEP3 for the patch headers) instead of the automatically created patches
+     and commit the unpatched sources
+     http://pkg-perl.alioth.debian.org/howto/quilt.html
+ .
+   * Initial Release. (Closes: #576757)
+   * Set build-dependency on libxml-sax-perl to be >= 0.96, not >= 1.
+     The actual Perl module needed is version 1, but its parent module
+     (and the Debian package) is 0.96. Verified this with Grant McLean,
+     the upstream maintainer. (Documented here for posterity, in case
+     anyone wonders what's going on.)
+ .
+ The person named in the Author field signed this changelog entry.
 Author: Lars Wirzenius <lars at catalyst.net.nz>
 Bug-Debian: http://bugs.debian.org/576757
-Forwarded: no
-Last-Update: 2010-04-08
+
+---
+The information above should follow the Patch Tagging Guidelines, please
+checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
+are templates for supplementary fields that you might want to add:
+
+Origin: <vendor|upstream|other>, <url of original patch>
+Bug: <url in upstream bugtracker>
+Bug-Debian: http://bugs.debian.org/<bugnumber>
+Forwarded: <no|not-needed|url proving that it has been forwarded>
+Reviewed-By: <name and email of someone who approved the patch>
+Last-Update: <YYYY-MM-DD>
 
 --- libhttp-oai-perl-3.22.orig/lib/HTTP/OAI/UserAgent.pm
 +++ libhttp-oai-perl-3.22/lib/HTTP/OAI/UserAgent.pm

Modified: trunk/libhttp-oai-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhttp-oai-perl/debian/rules?rev=55773&op=diff
==============================================================================
--- trunk/libhttp-oai-perl/debian/rules (original)
+++ trunk/libhttp-oai-perl/debian/rules Thu Apr  8 23:49:04 2010
@@ -1,14 +1,13 @@
 #!/usr/bin/make -f
+
+PACKAGE = $(shell dh_listpackages)
+TMP     = $(CURDIR)/debian/$(PACKAGE)
 
 %:
 	dh $@
 
-override_dh_install:
-	dh_install
-	mv debian/libhttp-oai-perl/usr/bin/oai_browser.pl \
-	   debian/libhttp-oai-perl/usr/bin/oai_browser
-
-override_dh_installman:
-	dh_installman
-	mv debian/libhttp-oai-perl/usr/share/man/man1/oai_browser.pl.1p \
-	   debian/libhttp-oai-perl/usr/share/man/man1/oai_browser.1p
+override_dh_auto_install:
+	dh_auto_install
+	mv $(TMP)/usr/bin/oai_browser.pl $(TMP)/usr/bin/oai_browser
+	mv $(TMP)/usr/share/man/man1/oai_browser.pl.1p \
+	   $(TMP)/usr/share/man/man1/oai_browser.1p




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