r20732 - in /trunk/libxml-feed-perl/debian: changelog control patches/00list patches/01_atom_date.dpatch patches/01_atom_date.patch patches/series rules watch
gregoa at users.alioth.debian.org
gregoa at users.alioth.debian.org
Thu Jun 5 22:26:51 UTC 2008
Author: gregoa
Date: Thu Jun 5 22:26:51 2008
New Revision: 20732
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=20732
Log:
* debian/watch: use dist-based URL.
* Change patch system from dpatch to quilt.
* Refresh debian/rules, no functional changes.
* Set Standards-Version to 3.7.3 (no changes).
* Move libmodule-build-perl to Build-Depends.
Added:
trunk/libxml-feed-perl/debian/patches/01_atom_date.patch
trunk/libxml-feed-perl/debian/patches/series
Removed:
trunk/libxml-feed-perl/debian/patches/00list
trunk/libxml-feed-perl/debian/patches/01_atom_date.dpatch
Modified:
trunk/libxml-feed-perl/debian/changelog
trunk/libxml-feed-perl/debian/control
trunk/libxml-feed-perl/debian/rules
trunk/libxml-feed-perl/debian/watch
Modified: trunk/libxml-feed-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-feed-perl/debian/changelog?rev=20732&op=diff
==============================================================================
--- trunk/libxml-feed-perl/debian/changelog (original)
+++ trunk/libxml-feed-perl/debian/changelog Thu Jun 5 22:26:51 2008
@@ -3,6 +3,11 @@
* debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser
field (source stanza); Homepage field (source stanza). Removed: XS-
Vcs-Svn fields.
+ * debian/watch: use dist-based URL.
+ * Change patch system from dpatch to quilt.
+ * Refresh debian/rules, no functional changes.
+ * Set Standards-Version to 3.7.3 (no changes).
+ * Move libmodule-build-perl to Build-Depends.
-- gregor herrmann <gregor+debian at comodo.priv.at> Tue, 09 Oct 2007 22:33:25 +0200
Modified: trunk/libxml-feed-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-feed-perl/debian/control?rev=20732&op=diff
==============================================================================
--- trunk/libxml-feed-perl/debian/control (original)
+++ trunk/libxml-feed-perl/debian/control Thu Jun 5 22:26:51 2008
@@ -1,11 +1,12 @@
Source: libxml-feed-perl
Section: perl
Priority: optional
-Build-Depends: debhelper (>= 5.0.0), dpatch
-Build-Depends-Indep: perl (>= 5.8.0-7), libmodule-build-perl, libclass-errorhandler-perl, libxml-rss-perl (>= 1.01), libxml-atom-perl (>= 0.22), libwww-perl, libhtml-parser-perl, liburi-perl, libdatetime-perl, libdatetime-format-mail-perl, libdatetime-format-w3cdtf-perl, liburi-fetch-perl (>= 0.03-2), libfeed-find-perl
+Build-Depends: debhelper (>= 5.0.0), quilt (>= 0.40),
+ perl-modules (>= 5.10) | libmodule-build-perl
+Build-Depends-Indep: perl (>= 5.8.0-7), libclass-errorhandler-perl, libxml-rss-perl (>= 1.01), libxml-atom-perl (>= 0.22), libwww-perl, libhtml-parser-perl, liburi-perl, libdatetime-perl, libdatetime-format-mail-perl, libdatetime-format-w3cdtf-perl, liburi-fetch-perl (>= 0.03-2), libfeed-find-perl
Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
Uploaders: Jaldhar H. Vyas <jaldhar at debian.org>, gregor herrmann <gregor+debian at comodo.priv.at>, Carlo Segre <segre at debian.org>
-Standards-Version: 3.7.2
+Standards-Version: 3.7.3
Homepage: http://search.cpan.org/dist/XML-Feed/
Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libxml-feed-perl/
Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-feed-perl/
Added: trunk/libxml-feed-perl/debian/patches/01_atom_date.patch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-feed-perl/debian/patches/01_atom_date.patch?rev=20732&op=file
==============================================================================
--- trunk/libxml-feed-perl/debian/patches/01_atom_date.patch (added)
+++ trunk/libxml-feed-perl/debian/patches/01_atom_date.patch Thu Jun 5 22:26:51 2008
@@ -1,0 +1,37 @@
+Author: <gregor+debian at comodo.priv.at>
+Description: fix problems with dates in XML::Feed:Atom;
+Cf. #380498
+--- libxml-feed-perl.orig/lib/XML/Feed/Atom.pm
++++ libxml-feed-perl/lib/XML/Feed/Atom.pm
+@@ -59,7 +59,8 @@
+ if (@_) {
+ $feed->{atom}->modified(DateTime::Format::W3CDTF->format_datetime($_[0]));
+ } else {
+- $feed->{atom}->modified ? iso2dt($feed->{atom}->modified) : undef;
++ return iso2dt($feed->{atom}->modified) if $feed->{atom}->modified;
++ return iso2dt($feed->{atom}->updated);
+ }
+ }
+
+@@ -172,7 +173,9 @@
+ if (@_) {
+ $entry->{entry}->issued(DateTime::Format::W3CDTF->format_datetime($_[0])) if $_[0];
+ } else {
+- $entry->{entry}->issued ? iso2dt($entry->{entry}->issued) : undef;
++ return iso2dt($entry->{entry}->issued) if $entry->{entry}->issued;
++ return iso2dt($entry->{entry}->published) if $entry->{entry}->published;
++ return undef;
+ }
+ }
+
+@@ -181,7 +184,9 @@
+ if (@_) {
+ $entry->{entry}->modified(DateTime::Format::W3CDTF->format_datetime($_[0])) if $_[0];
+ } else {
+- $entry->{entry}->modified ? iso2dt($entry->{entry}->modified) : undef;
++ return iso2dt($entry->{entry}->modified) if $entry->{entry}->modified;
++ return iso2dt($entry->{entry}->updated) if $entry->{entry}->updated;
++ return undef;
+ }
+ }
+
Added: trunk/libxml-feed-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-feed-perl/debian/patches/series?rev=20732&op=file
==============================================================================
--- trunk/libxml-feed-perl/debian/patches/series (added)
+++ trunk/libxml-feed-perl/debian/patches/series Thu Jun 5 22:26:51 2008
@@ -1,0 +1,1 @@
+01_atom_date.patch
Modified: trunk/libxml-feed-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-feed-perl/debian/rules?rev=20732&op=diff
==============================================================================
--- trunk/libxml-feed-perl/debian/rules (original)
+++ trunk/libxml-feed-perl/debian/rules Thu Jun 5 22:26:51 2008
@@ -7,42 +7,43 @@
# It was later modified by Jason Kohles <email at jasonkohles.com>
# http://www.jasonkohles.com/ to support Module::Build installed modules
-include /usr/share/dpatch/dpatch.make
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+# If set to a true value then MakeMaker's prompt function will
+# always return the default without waiting for user input.
export PERL_MM_USE_DEFAULT=1
-PACKAGE=$(shell dh_listpackages)
-ifndef PERL
-PERL = /usr/bin/perl
-endif
+include /usr/share/quilt/quilt.make
-TMP =$(CURDIR)/debian/$(PACKAGE)
+PERL ?= /usr/bin/perl
+PACKAGE = $(shell dh_listpackages)
+TMP = $(CURDIR)/debian/$(PACKAGE)
-build: build-stamp patch
-build-stamp:
+build: build-stamp
+build-stamp: $(QUILT_STAMPFN)
dh_testdir
$(PERL) Build.PL installdirs=vendor
- OPTIMIZE="-Wall -O2 -g" $(PERL) Build
- touch build-stamp
+ $(PERL) Build
+ $(PERL) Build test
+ touch $@
clean: unpatch
dh_testdir
dh_testroot
- -$(PERL) Build distclean
dh_clean build-stamp install-stamp
+ [ ! -f Build ] || $(PERL) Build --allow_mb_mismatch 1 distclean
-install: build install-stamp
-install-stamp:
+install: install-stamp
+install-stamp: build-stamp
dh_testdir
dh_testroot
dh_clean -k
- $(PERL) Build test
- $(PERL) Build install destdir=$(TMP)
-
- touch install-stamp
+ $(PERL) Build install destdir=$(TMP) create_packlist=0
+ touch $@
binary-arch:
-# We have nothing to do by default.
+# We have nothing to do here for an architecture-independent package
binary-indep: build install
dh_testdir
@@ -50,8 +51,6 @@
dh_installdocs README
dh_installchangelogs Changes
dh_perl
- dh_link
- dh_strip
dh_compress
dh_fixperms
dh_installdeb
@@ -59,8 +58,5 @@
dh_md5sums
dh_builddeb
-source diff:
- @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
-
binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary
+.PHONY: build clean binary-indep binary-arch binary install
Modified: trunk/libxml-feed-perl/debian/watch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-feed-perl/debian/watch?rev=20732&op=diff
==============================================================================
--- trunk/libxml-feed-perl/debian/watch (original)
+++ trunk/libxml-feed-perl/debian/watch Thu Jun 5 22:26:51 2008
@@ -1,2 +1,2 @@
version=3
-http://www.cpan.org/modules/by-module/XML/XML-Feed-([\d\.]+)\.tar\.gz
+http://search.cpan.org/dist/XML-Feed/ .*/XML-Feed-v?(\d[\d_.]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)
More information about the Pkg-perl-cvs-commits
mailing list