r20909 - in /trunk/libdate-ical-perl: Makefile.PL debian/changelog debian/compat debian/control debian/rules
gregoa at users.alioth.debian.org
gregoa at users.alioth.debian.org
Tue Jun 10 18:19:30 UTC 2008
Author: gregoa
Date: Tue Jun 10 18:19:30 2008
New Revision: 20909
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=20909
Log:
* Revert unannounced change to upstream Makefile.PL.
* Refresh debian/rules, no functional changes.
* Set Standards-Version to 3.7.3 (no changes).
* Set debhelper compatibility level to 5.
* Move debhelper to Build-Depends.
Modified:
trunk/libdate-ical-perl/Makefile.PL
trunk/libdate-ical-perl/debian/changelog
trunk/libdate-ical-perl/debian/compat
trunk/libdate-ical-perl/debian/control
trunk/libdate-ical-perl/debian/rules
Modified: trunk/libdate-ical-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdate-ical-perl/Makefile.PL?rev=20909&op=diff
==============================================================================
--- trunk/libdate-ical-perl/Makefile.PL (original)
+++ trunk/libdate-ical-perl/Makefile.PL Tue Jun 10 18:19:30 2008
@@ -33,13 +33,13 @@
# system("pod2test $file t/embedded-$module.t");
#}
-#sub MY::postamble {
-# package MY;
-# "\npredist: all\n" .
-# "\tcvs2cl -r -b -t -f Changes\n".
-# "\techo '# vim: filetype=changelog' >> Changes\n".
-# "\tpod2text lib/Date/ICal.pm >! README\n".
-# "\techo '------------------------------------------------' >> README\n".
-# "\tpod2text lib/Date/ICal/Duration.pm >> README\n"
-#}
+sub MY::postamble {
+ package MY;
+ "\npredist: all\n" .
+ "\tcvs2cl -r -b -t -f Changes\n".
+ "\techo '# vim: filetype=changelog' >> Changes\n".
+ "\tpod2text lib/Date/ICal.pm >! README\n".
+ "\techo '------------------------------------------------' >> README\n".
+ "\tpod2text lib/Date/ICal/Duration.pm >> README\n"
+}
Modified: trunk/libdate-ical-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdate-ical-perl/debian/changelog?rev=20909&op=diff
==============================================================================
--- trunk/libdate-ical-perl/debian/changelog (original)
+++ trunk/libdate-ical-perl/debian/changelog Tue Jun 10 18:19:30 2008
@@ -5,6 +5,11 @@
* Set Maintainer to Debian Perl Group.
* Use dist-based URL in debian/watch.
* debian/rules: delete /usr/lib/perl5 only if it exists.
+ * Revert unannounced change to upstream Makefile.PL.
+ * Refresh debian/rules, no functional changes.
+ * Set Standards-Version to 3.7.3 (no changes).
+ * Set debhelper compatibility level to 5.
+ * Move debhelper to Build-Depends.
-- gregor herrmann <gregor+debian at comodo.priv.at> Sat, 01 Dec 2007 18:54:50 +0100
Modified: trunk/libdate-ical-perl/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdate-ical-perl/debian/compat?rev=20909&op=diff
==============================================================================
--- trunk/libdate-ical-perl/debian/compat (original)
+++ trunk/libdate-ical-perl/debian/compat Tue Jun 10 18:19:30 2008
@@ -1,1 +1,1 @@
-4
+5
Modified: trunk/libdate-ical-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdate-ical-perl/debian/control?rev=20909&op=diff
==============================================================================
--- trunk/libdate-ical-perl/debian/control (original)
+++ trunk/libdate-ical-perl/debian/control Tue Jun 10 18:19:30 2008
@@ -3,8 +3,9 @@
Priority: optional
Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
Uploaders: Jay Bonci <jaybonci at debian.org>
-Build-Depends-Indep: debhelper (>> 4.0.0), perl (>= 5.6.0-16), libdate-leapyear-perl
-Standards-Version: 3.6.1.0
+Build-Depends: debhelper (>> 5),
+Build-Depends-Indep: perl (>= 5.6.0-16), libdate-leapyear-perl
+Standards-Version: 3.7.3
Homepage: http://search.cpan.org/dist/Date-ICal/
Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libdate-ical-perl/
Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libdate-ical-perl/
Modified: trunk/libdate-ical-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdate-ical-perl/debian/rules?rev=20909&op=diff
==============================================================================
--- trunk/libdate-ical-perl/debian/rules (original)
+++ trunk/libdate-ical-perl/debian/rules Tue Jun 10 18:19:30 2008
@@ -1,53 +1,60 @@
#!/usr/bin/make -f
-# Sample debian/rules that uses debhelper.
-# GNU copyright 1997 to 1999 by Joey Hess.
+# This debian/rules file is provided as a template for normal perl
+# packages. It was created by Marc Brockschmidt <marc at dch-faq.de> for
+# the Debian Perl Group (http://pkg-perl.alioth.debian.org/) but may
+# be used freely wherever it is useful.
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
-# This is the debhelper compatibility version to use.
-# export DH_COMPAT=4
+# 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=`pwd | sed -e "s/.*\/\\(.*\\)-.*/\\1/"`
+PERL ?= /usr/bin/perl
+PACKAGE = $(shell dh_listpackages)
+TMP = $(CURDIR)/debian/$(PACKAGE)
+build: build-stamp
+build-stamp:
+ dh_testdir
+ $(PERL) Makefile.PL INSTALLDIRS=vendor
+ $(MAKE)
+ $(MAKE) test
+ touch $@
-build:
- dh_testdir
- # Add here commands to compile the package.
- perl Makefile.PL verbose INSTALLDIRS=vendor
clean:
dh_testdir
dh_testroot
+ dh_clean build-stamp install-stamp
+ [ ! -f Makefile ] || $(MAKE) realclean
- -$(MAKE) clean
- rm -f Makefile.old
- dh_clean
-
-install:
+install: install-stamp
+install-stamp: build-stamp
dh_testdir
dh_testroot
dh_clean -k
- dh_installdirs
+ $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
+ [ ! -d $(TMP)/usr/lib/perl5 ] || \
+ rmdir --ignore-fail-on-non-empty --parents --verbose \
+ $(TMP)/usr/lib/perl5
+ touch $@
- $(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
+binary-arch:
+# We have nothing to do here for an architecture-independent package
-binary-arch:;
binary-indep: build install
dh_testdir
dh_testroot
dh_installdocs
- dh_installman
dh_installchangelogs Changes
- dh_link
- dh_strip
+ dh_perl
dh_compress
dh_fixperms
dh_installdeb
- dh_perl
dh_gencontrol
dh_md5sums
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