r33907 - in /trunk/libtest-signature-perl/debian: changelog rules

roam-guest at users.alioth.debian.org roam-guest at users.alioth.debian.org
Fri Apr 24 13:12:46 UTC 2009


Author: roam-guest
Date: Fri Apr 24 13:12:40 2009
New Revision: 33907

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=33907
Log:
Do not actually run this module's own signature test :)
- if the module author's key is not in the user's local keyring,
  Module::Signature will try to retrieve it from a public keyserver.
  As gregoa noted, this is not really acceptable for an autobuild.
- even if the key is present, it will most probably not be marked as
  trusted, so GnuPG will produce a warning on stderr and things will
  go subtly wrong.
- even if the key is trusted, Module::Signature also includes MANIFEST
  checks, and the debian/* files are not present in the manifest.

I know how to fix all of these, but the fix requires that some of
the module's files be patched - thus invalidating the hashes stored
in the SIGNATURE file :)  So, for the present version of the module,
this test can never succeed in a distribution package.

Seems kind of funny to remove the signature test from a module that
is dedicated to testing signatures, but oh well :)

Modified:
    trunk/libtest-signature-perl/debian/changelog
    trunk/libtest-signature-perl/debian/rules

Modified: trunk/libtest-signature-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-signature-perl/debian/changelog?rev=33907&op=diff
==============================================================================
--- trunk/libtest-signature-perl/debian/changelog (original)
+++ trunk/libtest-signature-perl/debian/changelog Fri Apr 24 13:12:40 2009
@@ -2,8 +2,6 @@
 
   TODO:
   - maybe missing Depends? Recommends? on libmodule-signature-perl    
-  - FTBFS in a chroot if libmodule-signature-perl is installed ... (gpg
-    failure, and shouldn't access the net anyway)
 
   * Initial Release. (Closes: #519769)
 

Modified: trunk/libtest-signature-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-signature-perl/debian/rules?rev=33907&op=diff
==============================================================================
--- trunk/libtest-signature-perl/debian/rules (original)
+++ trunk/libtest-signature-perl/debian/rules Fri Apr 24 13:12:40 2009
@@ -1,8 +1,12 @@
 #!/usr/bin/make -f
+
+TEST_FILES=	$(filter-out t/0-signature.t,$(shell echo t/*.t))
 
 build: build-stamp
 build-stamp:
-	dh build
+	dh build --before dh_auto_test
+	dh_auto_test -- TEST_FILES="$(TEST_FILES)"
+	dh build --remaining
 	touch $@
 
 clean:




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