r26063 - in /trunk/libtext-formattable-perl/debian: changelog compat control examples rules
dmn at users.alioth.debian.org
dmn at users.alioth.debian.org
Thu Oct 16 05:47:18 UTC 2008
Author: dmn
Date: Thu Oct 16 05:47:10 2008
New Revision: 26063
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=26063
Log:
convert debian/rules to debhelper 7; adjust debhelper build-dependency and
debian/compat; install examples via debian/examples
Added:
trunk/libtext-formattable-perl/debian/examples
Modified:
trunk/libtext-formattable-perl/debian/changelog
trunk/libtext-formattable-perl/debian/compat
trunk/libtext-formattable-perl/debian/control
trunk/libtext-formattable-perl/debian/rules
Modified: trunk/libtext-formattable-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtext-formattable-perl/debian/changelog?rev=26063&op=diff
==============================================================================
--- trunk/libtext-formattable-perl/debian/changelog (original)
+++ trunk/libtext-formattable-perl/debian/changelog Thu Oct 16 05:47:10 2008
@@ -4,6 +4,8 @@
Closes: #490554 -- buffycli: Can't take log of 0 at
/usr/share/perl5/Text/FormatTable.pm line 145
* add quilt to B-D/rules
+ * convert debian/rules to debhelper 7; adjust debhelper build-dependency and
+ debian/compat; install examples via debian/examples
-- Damyan Ivanov <dmn at debian.org> Wed, 15 Oct 2008 18:08:57 +0300
Modified: trunk/libtext-formattable-perl/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtext-formattable-perl/debian/compat?rev=26063&op=diff
==============================================================================
--- trunk/libtext-formattable-perl/debian/compat (original)
+++ trunk/libtext-formattable-perl/debian/compat Thu Oct 16 05:47:10 2008
@@ -1,1 +1,1 @@
-6
+7
Modified: trunk/libtext-formattable-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtext-formattable-perl/debian/control?rev=26063&op=diff
==============================================================================
--- trunk/libtext-formattable-perl/debian/control (original)
+++ trunk/libtext-formattable-perl/debian/control Thu Oct 16 05:47:10 2008
@@ -1,7 +1,7 @@
Source: libtext-formattable-perl
Section: perl
Priority: optional
-Build-Depends: debhelper (>= 6), quilt
+Build-Depends: debhelper (>= 7), quilt
Build-Depends-Indep: perl (>= 5.8.0-7)
Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
Uploaders: Damyan Ivanov <divanov at creditreform.bg>,
Added: trunk/libtext-formattable-perl/debian/examples
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtext-formattable-perl/debian/examples?rev=26063&op=file
==============================================================================
--- trunk/libtext-formattable-perl/debian/examples (added)
+++ trunk/libtext-formattable-perl/debian/examples Thu Oct 16 05:47:10 2008
@@ -1,0 +1,1 @@
+example.pl
Modified: trunk/libtext-formattable-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtext-formattable-perl/debian/rules?rev=26063&op=diff
==============================================================================
--- trunk/libtext-formattable-perl/debian/rules (original)
+++ trunk/libtext-formattable-perl/debian/rules Thu Oct 16 05:47:10 2008
@@ -1,82 +1,33 @@
#!/usr/bin/make -f
-# 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
include /usr/share/quilt/quilt.make
-# 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
-
+PACKAGE =$(shell dh_listpackages)
TMP =$(CURDIR)/debian/$(PACKAGE)
build: build-stamp
build-stamp: $(QUILT_STAMPFN)
- dh_testdir
-
- $(PERL) Makefile.PL INSTALLDIRS=vendor
- $(MAKE)
- $(MAKE) test
-
+ dh build
touch $@
clean: unpatch
- dh_testdir
- dh_testroot
-
- dh_clean build-stamp install-stamp
- [ ! -f Makefile ] || $(MAKE) distclean
+ dh $@
install: install-stamp
install-stamp: build-stamp
- dh_testdir
- dh_testroot
- dh_clean -k
-
- $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
+ dh install
# example.pl is incorrectly installed in the modules directory. We
- # remove it here and later (at dh_installexmaples in the binary-indep
- # target) add it as documentation.
- rm -f $(TMP)/usr/share/perl5/Text/example.pl
-
- # As this is a architecture independent package, we are not supposed to
- # install stuff to /usr/lib. MakeMaker creates the dirs, we delete them
- # from the deb:
- [ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/lib/perl5
+ # remove it here and later add it as documentation via debian/examples
+ rm $(TMP)/usr/share/perl5/Text/example.pl
touch $@
binary-arch:
# We have nothing to do by default.
-binary-indep: build install
- dh_testdir
- dh_testroot
- dh_installexamples example.pl
- dh_installdocs
- dh_installchangelogs Changes
- dh_perl
- dh_compress
- dh_fixperms
- dh_installdeb
- dh_gencontrol
- dh_md5sums
- dh_builddeb
-
-source diff:
- @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
+binary-indep: install
+ dh $@
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary
More information about the Pkg-perl-cvs-commits
mailing list