r12692 - in /trunk/libtime-modules-perl/debian: changelog control dirs patches/ patches/fix_manpage_typo.patch patches/series rules

hanska-guest at users.alioth.debian.org hanska-guest at users.alioth.debian.org
Mon Jan 14 09:15:47 UTC 2008


Author: hanska-guest
Date: Mon Jan 14 09:15:47 2008
New Revision: 12692

URL: http://svn.debian.org/wsvn/?sc=1&rev=12692
Log:
* debian/control: added quilt to Build-Depends
* debian/patches: added patch to fix typo in the manpage (Closes: #445710)
* debian/rules: updated to handle quilt patch system (plus something else)
* debian/dirs removed

Added:
    trunk/libtime-modules-perl/debian/patches/
    trunk/libtime-modules-perl/debian/patches/fix_manpage_typo.patch
    trunk/libtime-modules-perl/debian/patches/series
Removed:
    trunk/libtime-modules-perl/debian/dirs
Modified:
    trunk/libtime-modules-perl/debian/changelog
    trunk/libtime-modules-perl/debian/control
    trunk/libtime-modules-perl/debian/rules

Modified: trunk/libtime-modules-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libtime-modules-perl/debian/changelog?rev=12692&op=diff
==============================================================================
--- trunk/libtime-modules-perl/debian/changelog (original)
+++ trunk/libtime-modules-perl/debian/changelog Mon Jan 14 09:15:47 2008
@@ -1,12 +1,19 @@
 libtime-modules-perl (2006.0814-2) UNRELEASED; urgency=low
 
+  [ gregor herrmann ]
   * debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser
     field (source stanza); Homepage field (source stanza).
   * Set Maintainer to Debian Perl Group.
   * Use dist-based URL in debian/watch.
   * debian/rules: delete /usr/lib/perl5 only if it exists.
 
- -- gregor herrmann <gregor+debian at comodo.priv.at>  Sat, 01 Dec 2007 18:55:24 +0100
+  [ David Paleino ]
+  * debian/control: added quilt to Build-Depends
+  * debian/patches: added patch to fix typo in the manpage (Closes: #445710)
+  * debian/rules: updated to handle quilt patch system (plus something else)
+  * debian/dirs removed
+
+ -- David Paleino <d.paleino at gmail.com>  Mon, 14 Jan 2008 10:14:51 +0100
 
 libtime-modules-perl (2006.0814-1) unstable; urgency=low
 

Modified: trunk/libtime-modules-perl/debian/control
URL: http://svn.debian.org/wsvn/trunk/libtime-modules-perl/debian/control?rev=12692&op=diff
==============================================================================
--- trunk/libtime-modules-perl/debian/control (original)
+++ trunk/libtime-modules-perl/debian/control Mon Jan 14 09:15:47 2008
@@ -3,8 +3,8 @@
 Priority: optional
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Jay Bonci <jaybonci at debian.org>
-Build-Depends: debhelper (>= 4.0), perl (>= 5.6.0-16)
-Standards-Version: 3.7.2.2
+Build-Depends: debhelper (>= 4.0), perl (>= 5.6.0-16), quilt
+Standards-Version: 3.7.3
 Homepage: http://search.cpan.org/dist/Time-modules/
 Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libtime-modules-perl/
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libtime-modules-perl/

Added: trunk/libtime-modules-perl/debian/patches/fix_manpage_typo.patch
URL: http://svn.debian.org/wsvn/trunk/libtime-modules-perl/debian/patches/fix_manpage_typo.patch?rev=12692&op=file
==============================================================================
--- trunk/libtime-modules-perl/debian/patches/fix_manpage_typo.patch (added)
+++ trunk/libtime-modules-perl/debian/patches/fix_manpage_typo.patch Mon Jan 14 09:15:47 2008
@@ -1,0 +1,13 @@
+--- libtime-modules-perl.orig/lib/Time/ParseDate.pm
++++ libtime-modules-perl/lib/Time/ParseDate.pm
+@@ -1158,8 +1158,8 @@
+ 	TIME_REQUIRED -> do not default the time
+ 	NO_RELATIVE -> input time is not relative to NOW
+ 	TIMEFIRST -> try parsing time before date [not default]
+-	PREFER_PAST -> when year or day of week is ambigueous, assume past
+-	PREFER_FUTURE -> when year or day of week is ambigueous, assume future
++	PREFER_PAST -> when year or day of week is ambiguous, assume past
++	PREFER_FUTURE -> when year or day of week is ambiguous, assume future
+ 	SUBSECOND -> parse fraction seconds
+ 	VALIDATE -> only accept normal values for HHMMSS, YYMMDD.  Otherwise
+ 		days like -1 might give the last day of the previous month.

Added: trunk/libtime-modules-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/trunk/libtime-modules-perl/debian/patches/series?rev=12692&op=file
==============================================================================
--- trunk/libtime-modules-perl/debian/patches/series (added)
+++ trunk/libtime-modules-perl/debian/patches/series Mon Jan 14 09:15:47 2008
@@ -1,0 +1,1 @@
+fix_manpage_typo.patch

Modified: trunk/libtime-modules-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libtime-modules-perl/debian/rules?rev=12692&op=diff
==============================================================================
--- trunk/libtime-modules-perl/debian/rules (original)
+++ trunk/libtime-modules-perl/debian/rules Mon Jan 14 09:15:47 2008
@@ -8,20 +8,31 @@
 # This is the debhelper compatibility version to use.
 # export DH_COMPAT=4
 
-PACKAGE=`pwd | sed -e "s/.*\/\\(.*\\)-.*/\\1/"`
+#PACKAGE=`pwd | sed -e "s/.*\/\\(.*\\)-.*/\\1/"`
+PACKAGE=$(shell dh_listpackages)
 
+ifndef PERL
+PERL = /usr/bin/perl
+endif
 
-build:
+TMP = $(CURDIR)/debian/$(PACKAGE)
+
+include /usr/share/quilt/quilt.make
+
+build: build-stamp
+build-stamp: $(QUILT_STAMPFN)
 	dh_testdir
-	# Add here commands to compile the package.
-	perl Makefile.PL verbose INSTALLDIRS=vendor
-clean:
+	$(PERL) Makefile.PL verbose INSTALLDIRS=vendor
+	$(MAKE)
+	$(MAKE) test
+	touch $@
+
+clean: unpatch
 	dh_testdir
 	dh_testroot
 
-	[ ! -f Makefile ] || $(MAKE) clean
-	rm -f Makefile.old
-	dh_clean
+	dh_clean Makefile.old build-stamp
+	[ ! -f Makefile ] || $(MAKE) distclean
 
 install:
 	dh_testdir
@@ -29,8 +40,8 @@
 	dh_clean -k
 	dh_installdirs
 
-	$(MAKE) PREFIX=$(CURDIR)/debian/$(PACKAGE)/usr OPTIMIZE="-O2 -g -Wall" test install
-	[ ! -d $(CURDIR)/debian/$(shell dh_listpackages)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(CURDIR)/debian/$(shell dh_listpackages)/usr/lib/perl5
+	$(MAKE) PREFIX=$(TMP)/usr install
+	[ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/lib/perl5
 
 binary-arch:;
 binary-indep: build install
@@ -39,8 +50,6 @@
 	dh_installdocs
 	dh_installman
 	dh_installchangelogs CHANGELOG
-	dh_link
-	dh_strip
 	dh_compress
 	dh_fixperms
 	dh_installdeb
@@ -50,4 +59,4 @@
 	dh_builddeb
 
 binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure
+.PHONY: build clean binary-indep binary-arch binary install




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