r7844 - in /trunk/libversion-perl/debian: changelog control rules

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Sat Sep 22 06:15:35 UTC 2007


Author: dmn
Date: Sat Sep 22 06:15:35 2007
New Revision: 7844

URL: http://svn.debian.org/wsvn/?sc=1&rev=7844
Log:
* Added locales-all to Buld-Depends to allow additional tests
* Clean up debian/rules
  + Removed unneeded dh_* calls
  + Moved test suite from install to build target
  + Do not ignore distclean errors
  + Move removing build-stamp before distclean
  + Use the environment-dependent $(OPTIMIZE) when building

Modified:
    trunk/libversion-perl/debian/changelog
    trunk/libversion-perl/debian/control
    trunk/libversion-perl/debian/rules

Modified: trunk/libversion-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libversion-perl/debian/changelog?rev=7844&op=diff
==============================================================================
--- trunk/libversion-perl/debian/changelog (original)
+++ trunk/libversion-perl/debian/changelog Sat Sep 22 06:15:35 2007
@@ -5,10 +5,16 @@
     ordinary integer.
   * Adapted debian/watch to cope with either two-digit or four-digit version
     numbers
-  * Added locales-all to Buld-Depends-Indep to allow additional tests
+  * Added locales-all to Buld-Depends to allow additional tests
   * Fixed upstream URL in debian/copyright
+  * Clean up debian/rules
+    + Removed unneeded dh_* calls
+    + Moved test suite from install to build target
+    + Do not ignore distclean errors
+    + Move removing build-stamp before distclean
+    + Use the environment-dependent $(OPTIMIZE) when building
 
- -- Damyan Ivanov <dmn at debian.org>  Sat, 22 Sep 2007 08:56:37 +0300
+ -- Damyan Ivanov <dmn at debian.org>  Sat, 22 Sep 2007 09:15:13 +0300
 
 libversion-perl (1:0.7203-1) unstable; urgency=low
 

Modified: trunk/libversion-perl/debian/control
URL: http://svn.debian.org/wsvn/trunk/libversion-perl/debian/control?rev=7844&op=diff
==============================================================================
--- trunk/libversion-perl/debian/control (original)
+++ trunk/libversion-perl/debian/control Sat Sep 22 06:15:35 2007
@@ -1,8 +1,8 @@
 Source: libversion-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 5), perl (>= 5.8.0-7), perl (<< 5.9.0), libmodule-build-perl
-Build-Depends-Indep: locales-all
+Build-Depends: debhelper (>= 5), perl (>= 5.8.0-7), perl (<< 5.9.0),
+ libmodule-build-perl, locales-all
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Krzysztof Krzyzaniak (eloy) <eloy at debian.org>, gregor herrmann <gregor+debian at comodo.priv.at>
 Standards-Version: 3.7.2

Modified: trunk/libversion-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libversion-perl/debian/rules?rev=7844&op=diff
==============================================================================
--- trunk/libversion-perl/debian/rules (original)
+++ trunk/libversion-perl/debian/rules Sat Sep 22 06:15:35 2007
@@ -16,7 +16,7 @@
 ifndef DESTDIR
 DESTDIR=..
 endif
-TMP     =`pwd`/debian/$(PACKAGE)
+TMP     =$(CURDIR)/debian/$(PACKAGE)
 
 OPTIMIZE = -O2 -Wall
 ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
@@ -27,22 +27,21 @@
 build-stamp:
 	dh_testdir
 	$(PERL) Build.PL installdirs=vendor 
-	OPTIMIZE="-Wall -O2 -g" $(PERL) Build         
+	OPTIMIZE="$(OPTIMIZE)" $(PERL) Build
+	$(PERL) Build test
 	touch build-stamp
 
 clean:
 	dh_testdir
 	dh_testroot
-	-$(PERL) Build distclean
 	rm -f build-stamp
+	[ ! -f Build ] || $(PERL) Build distclean
 	dh_clean
 
 install: 
 	dh_testdir
 	dh_testroot
 	dh_clean -k
-	dh_installdirs
-	$(PERL) Build test         
 	$(PERL) Build install destdir=$(TMP)                 
 	rmdir --ignore-fail-on-non-empty --parents $(TMP)/usr/share/perl5
 
@@ -56,18 +55,11 @@
 	dh_testdir
 	dh_testroot
 	dh_installdocs README
-	dh_installexamples 
-	dh_installmenu
-#	dh_installemacsen
-#	dh_installinit
-	dh_installcron
-	dh_installman
+	#dh_installexamples
 	dh_installchangelogs Changes
-	dh_link
 	dh_strip
 	dh_compress
 	dh_fixperms
-#	dh_makeshlibs
 	dh_installdeb
 	dh_perl 
 	dh_shlibdeps




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