r9482 - in /trunk/libclass-inspector-perl/debian: changelog control rules

gregoa-guest at users.alioth.debian.org gregoa-guest at users.alioth.debian.org
Sat Nov 17 14:00:53 UTC 2007


Author: gregoa-guest
Date: Sat Nov 17 14:00:53 2007
New Revision: 9482

URL: http://svn.debian.org/wsvn/?sc=1&rev=9482
Log:
debian/rules:
  - Enable additional tests.
  - Remove CFLAGS and OPTIMIZE, this is an architecture independent
    package.
  - Move tests to build target.
  - Remove comments and empty lines.
  - Remove commented out and unneeded dh_* calls (dh_link, dh_strip).

Modified:
    trunk/libclass-inspector-perl/debian/changelog
    trunk/libclass-inspector-perl/debian/control
    trunk/libclass-inspector-perl/debian/rules

Modified: trunk/libclass-inspector-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libclass-inspector-perl/debian/changelog?rev=9482&op=diff
==============================================================================
--- trunk/libclass-inspector-perl/debian/changelog (original)
+++ trunk/libclass-inspector-perl/debian/changelog Sat Nov 17 14:00:53 2007
@@ -4,6 +4,13 @@
   * debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser
     field (source stanza); Homepage field (source stanza). Removed: XS-
     Vcs-Svn fields.
+  * debian/rules:
+    - Enable additional tests.
+    - Remove CFLAGS and OPTIMIZE, this is an architecture independent
+      package.
+    - Move tests to build target.
+    - Remove comments and empty lines.
+    - Remove commented out and unneeded dh_* calls (dh_link, dh_strip).
 
  -- gregor herrmann <gregor+debian at comodo.priv.at>  Tue, 09 Oct 2007 22:28:05 +0200
 

Modified: trunk/libclass-inspector-perl/debian/control
URL: http://svn.debian.org/wsvn/trunk/libclass-inspector-perl/debian/control?rev=9482&op=diff
==============================================================================
--- trunk/libclass-inspector-perl/debian/control (original)
+++ trunk/libclass-inspector-perl/debian/control Sat Nov 17 14:00:53 2007
@@ -8,7 +8,7 @@
  Krzysztof Krzyzaniak (eloy) <eloy at debian.org>, Joey Hess <joeyh at debian.org>,
  Damyan Ivanov <dmn at debian.org>
 Build-Depends: debhelper (>= 5.0.0)
-Build-Depends-Indep: perl (>= 5.6.0-16), libmodule-install-perl
+Build-Depends-Indep: perl (>= 5.6.0-16), libmodule-install-perl, libtest-pod-perl
 Standards-Version: 3.7.2
 Homepage: http://search.cpan.org/dist/Class-Inspector/
 Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libclass-inspector-perl/

Modified: trunk/libclass-inspector-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libclass-inspector-perl/debian/rules?rev=9482&op=diff
==============================================================================
--- trunk/libclass-inspector-perl/debian/rules (original)
+++ trunk/libclass-inspector-perl/debian/rules Sat Nov 17 14:00:53 2007
@@ -13,22 +13,12 @@
 
 TMP     =$(CURDIR)/debian/$(PACKAGE)
 
-# Allow disabling build optimation by setting noopt in
-# $DEB_BUILD_OPTIONS
-CFLAGS = -Wall -g
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-        CFLAGS += -O0
-else
-        CFLAGS += -O2
-endif
-
 build: build-stamp
 build-stamp:
 	dh_testdir
-
 	$(PERL) Makefile.PL INSTALLDIRS=vendor
-	$(MAKE) OPTIMIZE="$(CFLAGS)" 
-
+	$(MAKE)
+	AUTOMATED_TESTING=1 $(MAKE) test
 	touch build-stamp
 
 clean:
@@ -42,8 +32,6 @@
 	dh_testdir
 	dh_testroot
 	dh_clean -k
-
-	$(MAKE) test
 	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
 	
 	#As this is a architecture independent package, we are not supposed to install
@@ -59,11 +47,8 @@
 	dh_testdir
 	dh_testroot
 	dh_installdocs
-#	dh_installexamples
 	dh_perl
 	dh_installchangelogs Changes
-	dh_link
-	dh_strip
 	dh_compress
 	dh_fixperms
 	dh_installdeb




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