r10683 - in /trunk/liblingua-ispell-perl/debian: changelog rules

gregoa-guest at users.alioth.debian.org gregoa-guest at users.alioth.debian.org
Sun Dec 2 13:49:55 UTC 2007


Author: gregoa-guest
Date: Sun Dec  2 13:49:55 2007
New Revision: 10683

URL: http://svn.debian.org/wsvn/?sc=1&rev=10683
Log:
debian/rules:
  - don't install empty /usr/lib/perl5 directory
  - remove unneeded OPTIMIZE variable
  - let build-stamp depend on configure-stamp instead of build
  - remove unneeded calls to dh_link and dh_strip
  - remove deletion of .packlist, not created anymore

Modified:
    trunk/liblingua-ispell-perl/debian/changelog
    trunk/liblingua-ispell-perl/debian/rules

Modified: trunk/liblingua-ispell-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/liblingua-ispell-perl/debian/changelog?rev=10683&op=diff
==============================================================================
--- trunk/liblingua-ispell-perl/debian/changelog (original)
+++ trunk/liblingua-ispell-perl/debian/changelog Sun Dec  2 13:49:55 2007
@@ -3,6 +3,12 @@
   * debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser
     field (source stanza); Homepage field (source stanza). Removed: XS-
     Vcs-Svn fields.
+  * debian/rules:
+    - don't install empty /usr/lib/perl5 directory
+    - remove unneeded OPTIMIZE variable
+    - let build-stamp depend on configure-stamp instead of build
+    - remove unneeded calls to dh_link and dh_strip
+    - remove deletion of .packlist, not created anymore
 
  -- gregor herrmann <gregor+debian at comodo.priv.at>  Tue, 09 Oct 2007 22:29:58 +0200
 

Modified: trunk/liblingua-ispell-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/liblingua-ispell-perl/debian/rules?rev=10683&op=diff
==============================================================================
--- trunk/liblingua-ispell-perl/debian/rules (original)
+++ trunk/liblingua-ispell-perl/debian/rules Sun Dec  2 13:49:55 2007
@@ -19,15 +19,13 @@
 
 	touch configure-stamp
 
-build: configure-stamp build-stamp
-build-stamp:
+build: build-stamp
+build-stamp: configure-stamp
 	dh_testdir
 
 	# Add here commands to compile the package.
 	$(PERL) Makefile.PL INSTALLDIRS=vendor
-	$(MAKE) OPTIMIZE="-O2 -g -Wall"
-	find $(TMP) -type f -name .packlist |xargs -r rm -f
-	find $(TMP) -type d -empty .packlist |xargs -r rm -p --ignore-fail-on-empty
+	$(MAKE)
 
 	touch build-stamp
 
@@ -50,8 +48,9 @@
 	# Add here commands to install the package into debian/liblingua-ispell-perl
 	$(MAKE) install PREFIX=$(TMP)/usr
 
+	rmdir --parents --ignore-fail-on-non-empty $(TMP)/usr/lib/perl5
+
 # Build architecture-dependent files here.
-
 binary-arch: build install
 # We have nothing to do by default.
 
@@ -63,9 +62,7 @@
 	dh_installman
 	dh_installchangelogs Changes
 	dh_installexamples spellcheck
-	dh_link
 	dh_perl
-	dh_strip
 	dh_compress
 	dh_fixperms
 	dh_installdeb




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