r71645 - in /trunk/libapache2-mod-perl2/debian: changelog rules

periapt-guest at users.alioth.debian.org periapt-guest at users.alioth.debian.org
Fri Mar 18 22:14:23 UTC 2011


Author: periapt-guest
Date: Fri Mar 18 22:14:16 2011
New Revision: 71645

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=71645
Log:
      Specifically the tests are being run as nobody rather than myself
      and so failing. If I run the tests manually (hence as myself)
      they work,
*

add a patch fixinng POD errors

Modified:
    trunk/libapache2-mod-perl2/debian/changelog
    trunk/libapache2-mod-perl2/debian/rules

Modified: trunk/libapache2-mod-perl2/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libapache2-mod-perl2/debian/changelog?rev=71645&op=diff
==============================================================================
--- trunk/libapache2-mod-perl2/debian/changelog (original)
+++ trunk/libapache2-mod-perl2/debian/changelog Fri Mar 18 22:14:16 2011
@@ -2,6 +2,9 @@
 
   TODO:
   - not yet getting a clean build
+        Specifically the tests are being run as nobody rather than myself
+        and so failing. If I run the tests manually (hence as myself)
+        they work,
   - Upgrade standards version
   - Clean lintian
   - Upgrade version
@@ -19,7 +22,9 @@
   * add a patch from Niko Tyni avoiding two warnings about use of uninitialized
     values, which break tests under Perl 5.12. (Closes: #578481)
   * add a patch fixinf spelling errors in POD and other documentation
-  * add a patch fixinng POD errors
+  *
+  
+  add a patch fixinng POD errors
   * add a patch fixing bad manpage whatis name
   * Standards-Version: 3.8.4
     + support 'nockeck' in DEB_BUILD_OPTIONS as per Policy 3.8.1

Modified: trunk/libapache2-mod-perl2/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libapache2-mod-perl2/debian/rules?rev=71645&op=diff
==============================================================================
--- trunk/libapache2-mod-perl2/debian/rules (original)
+++ trunk/libapache2-mod-perl2/debian/rules Fri Mar 18 22:14:16 2011
@@ -1,7 +1,7 @@
 #!/usr/bin/make -f
 
-PKG  := $(shell dh_listpackages)
-TMP  := $(CURDIR)/debian/$(PKG)
+DH_VERBOSE=1
+TMP  := $(CURDIR)/debian/tmp
 BUILDHOME := $(CURDIR)/debian/build
 
 # Allow disabling build optimation by setting noopt in
@@ -29,8 +29,6 @@
 	dh $@
 
 override_dh_auto_configure:
-	dh_testdir
-	# Add commands to compile the package here
 	$(PERL) Makefile.PL \
 		INSTALLDIRS=vendor \
 		MP_USE_GTOP=1 \
@@ -43,10 +41,14 @@
 		MP_INCLUDE_DIR=/usr/include/apr-1.0
 	$(MAKE) OPTIMIZE="$(CFLAGS)" LD_RUN_PATH=""
 
-#	ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
-#	endif
+
+
 override_dh_auto_test:
-	APACHE_TEST_EXTRA_ARGS="-httpd_conf /etc/apache2/apache2.conf" LANG=C $(MAKE) test
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+	APACHE_TEST_EXTRA_ARGS="-httpd_conf /etc/apache2/apache2.conf" \
+            LANG=C \
+	    dh_auto_test
+endif
 
 override_dh_clean:
 	dh_clean




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