r47959 - in /trunk/libtest-valgrind-perl/debian: changelog control rules

jawnsy-guest at users.alioth.debian.org jawnsy-guest at users.alioth.debian.org
Mon Nov 30 18:09:23 UTC 2009


Author: jawnsy-guest
Date: Mon Nov 30 18:09:15 2009
New Revision: 47959

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=47959
Log:
This package is now an Arch: all, since the distribution is
Pure Perl code

Modified:
    trunk/libtest-valgrind-perl/debian/changelog
    trunk/libtest-valgrind-perl/debian/control
    trunk/libtest-valgrind-perl/debian/rules

Modified: trunk/libtest-valgrind-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-valgrind-perl/debian/changelog?rev=47959&op=diff
==============================================================================
--- trunk/libtest-valgrind-perl/debian/changelog (original)
+++ trunk/libtest-valgrind-perl/debian/changelog Mon Nov 30 18:09:15 2009
@@ -4,6 +4,8 @@
     + Valgrind.so no longer installed (only needed for tests)
     + Fix symbols being Z-encoded on output with older versions
       of valgrind
+  * This package is now an Arch: all, since the distribution is
+    Pure Perl code
 
  -- Jonathan Yu <jawnsy at cpan.org>  Sun, 29 Nov 2009 20:06:07 -0500
 

Modified: trunk/libtest-valgrind-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-valgrind-perl/debian/control?rev=47959&op=diff
==============================================================================
--- trunk/libtest-valgrind-perl/debian/control (original)
+++ trunk/libtest-valgrind-perl/debian/control Mon Nov 30 18:09:15 2009
@@ -1,10 +1,11 @@
 Source: libtest-valgrind-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 7.0.50), libfile-homedir-perl (>= 0.86),
-  libxml-twig-perl, libperl-destruct-level-perl, libenv-sanctify-perl,
-  libtest-pod-perl, libtest-pod-coverage-perl, valgrind, perl,
-  libtest-portability-files-perl, libtest-kwalitee-perl
+Build-Depends: debhelper (>= 7.0.50)
+Build-Depends-Indep: perl, libfile-homedir-perl (>= 0.86),
+ libxml-twig-perl, libperl-destruct-level-perl, libenv-sanctify-perl,
+ libtest-pod-perl, libtest-pod-coverage-perl, valgrind,
+ libtest-portability-files-perl, libtest-kwalitee-perl
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Jonathan Yu <jawnsy at cpan.org>,
  gregor herrmann <gregoa at debian.org>
@@ -14,11 +15,10 @@
 Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libtest-valgrind-perl/
 
 Package: libtest-valgrind-perl
-Architecture: any
-Depends: ${misc:Depends}, ${perl:Depends}, ${shlibs:Depends},
-  libfile-homedir-perl (>= 0.86), libxml-twig-perl, libperl-destruct-level-perl,
-  libenv-sanctify-perl, valgrind
-Description: Perl module to test Perl code through valgrind
+Architecture: all
+Depends: ${misc:Depends}, ${perl:Depends}, libfile-homedir-perl (>= 0.86),
+ libxml-twig-perl, libperl-destruct-level-perl, libenv-sanctify-perl, valgrind
+Description: module to test Perl code through valgrind
  Test::Valgrind is a module that lets you run Perl code through the memcheck
  tool of the Valgrind Memory Debugger, to test it for memory errors and leaks.
  .
@@ -32,4 +32,3 @@
  and provide output compliant with Perl's Test Anything Protocol (TAP).
  This means that any executable can be run under valgrind and incorporated
  into your testsuite.
-

Modified: trunk/libtest-valgrind-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-valgrind-perl/debian/rules?rev=47959&op=diff
==============================================================================
--- trunk/libtest-valgrind-perl/debian/rules (original)
+++ trunk/libtest-valgrind-perl/debian/rules Mon Nov 30 18:09:15 2009
@@ -1,9 +1,11 @@
 #!/usr/bin/make -f
+
+PACKAGE   = $(shell dh_listpackages)
+TMP       = $(CURDIR)/debian/$(PACKAGE)
+BUILDHOME = $(CURDIR)/debian/build
 
 %:
 	dh $@
-
-BUILDHOME=$(CURDIR)/debian/build
 
 override_dh_auto_test:
 	mkdir -p $(BUILDHOME)
@@ -12,3 +14,9 @@
 override_dh_clean:
 	dh_clean
 	rm -rf $(BUILDHOME)
+
+override_dh_auto_install:
+	dh_auto_install
+	mkdir --parents $(TMP)/usr/share/perl5/
+	mv -vf $(TMP)/usr/lib/perl5/* $(TMP)/usr/share/perl5/
+	rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/lib/perl5




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