r3068 - in /packages/libspreadsheet-parseexcel-perl/trunk/debian: changelog compat control rules

ntyni-guest at users.alioth.debian.org ntyni-guest at users.alioth.debian.org
Sat Jun 17 13:42:13 UTC 2006


Author: ntyni-guest
Date: Sat Jun 17 13:42:10 2006
New Revision: 3068

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=3068
Log:
Packaging updates.

Added:
    packages/libspreadsheet-parseexcel-perl/trunk/debian/compat
Modified:
    packages/libspreadsheet-parseexcel-perl/trunk/debian/changelog
    packages/libspreadsheet-parseexcel-perl/trunk/debian/control
    packages/libspreadsheet-parseexcel-perl/trunk/debian/rules

Modified: packages/libspreadsheet-parseexcel-perl/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libspreadsheet-parseexcel-perl/trunk/debian/changelog?rev=3068&op=diff
==============================================================================
--- packages/libspreadsheet-parseexcel-perl/trunk/debian/changelog (original)
+++ packages/libspreadsheet-parseexcel-perl/trunk/debian/changelog Sat Jun 17 13:42:10 2006
@@ -6,10 +6,15 @@
   * Add myself to Uploaders.
   * Don't build the package in the 'binary-arch' target.
   * debian/patches:
-    + 30rstring.dpatch: handle UTF16-encoded strings in the 'RSTRING' 
+    + 30rstring.dpatch: handle UTF16-encoded strings in the 'RSTRING'
       opcode, just like in 'STRING'. (Closes: #299870)
+  * Don't ignore the return code of 'make realclean'.
+  * Upgrade to Standards-Version 3.7.2. No changes needed.
+  * Upgrade to debhelper compatibility level 5.
+  * Don't ignore the return value of 'make test'.
+  * Don't install an empty /usr/lib/perl5 directory.
 
- -- Niko Tyni <ntyni at iki.fi>  Thu, 19 Jan 2006 22:43:32 +0200
+ -- Niko Tyni <ntyni at iki.fi>  Sat, 17 Jun 2006 16:41:42 +0300
 
 libspreadsheet-parseexcel-perl (0.2603-4) unstable; urgency=low
 

Added: packages/libspreadsheet-parseexcel-perl/trunk/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libspreadsheet-parseexcel-perl/trunk/debian/compat?rev=3068&op=file
==============================================================================
--- packages/libspreadsheet-parseexcel-perl/trunk/debian/compat (added)
+++ packages/libspreadsheet-parseexcel-perl/trunk/debian/compat Sat Jun 17 13:42:10 2006
@@ -1,0 +1,1 @@
+5

Modified: packages/libspreadsheet-parseexcel-perl/trunk/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libspreadsheet-parseexcel-perl/trunk/debian/control?rev=3068&op=diff
==============================================================================
--- packages/libspreadsheet-parseexcel-perl/trunk/debian/control (original)
+++ packages/libspreadsheet-parseexcel-perl/trunk/debian/control Sat Jun 17 13:42:10 2006
@@ -3,8 +3,8 @@
 Priority: optional
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Gunnar Wolf <gwolf at debian.org>, Niko Tyni <ntyni at iki.fi>
-Standards-Version: 3.6.2
-Build-Depends: debhelper (>= 4.0.0), dpatch (>= 2.0.9)
+Standards-Version: 3.7.2
+Build-Depends: debhelper (>= 5), dpatch (>= 2.0.9)
 Build-Depends-Indep: libole-storage-lite-perl
 
 Package: libspreadsheet-parseexcel-perl

Modified: packages/libspreadsheet-parseexcel-perl/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libspreadsheet-parseexcel-perl/trunk/debian/rules?rev=3068&op=diff
==============================================================================
--- packages/libspreadsheet-parseexcel-perl/trunk/debian/rules (original)
+++ packages/libspreadsheet-parseexcel-perl/trunk/debian/rules Sat Jun 17 13:42:10 2006
@@ -6,10 +6,9 @@
 package	:= $(shell grep Package debian/control | sed 's/^Package: //')
 version	:= $(shell head -1 debian/changelog | \
 			perl -nle 'm/\S+\s+\((\S+)\)/ && print $$1')
-debtmp	:= $(shell pwd)/debian/$(package)
+debtmp	:= $(CURDIR)/debian/$(package)
 
 #export DH_VERBOSE=1
-export DH_COMPAT=4
 
 include /usr/share/dpatch/dpatch.make
 
@@ -26,7 +25,7 @@
 
 test:	test-stamp
 test-stamp: build-stamp
-	-$(MAKE) test
+	$(MAKE) test
 	touch test-stamp
 
 clean: clean-patched unpatch
@@ -34,7 +33,7 @@
 	dh_testdir
 	dh_testroot
 	rm -f build-stamp test-stamp install-stamp
-	-test -f Makefile && $(MAKE) realclean
+	[ ! -f Makefile ] || $(MAKE) realclean
 	dh_clean
 
 install: install-stamp
@@ -44,6 +43,11 @@
 	dh_clean -k
 	dh_installdirs
 	$(MAKE) install PREFIX=$(debtmp)/usr
+
+	#As this is a architecture independent package, we are not supposed to install
+	#stuff to /usr/lib. MakeMaker creates the dirs, we delete them from the deb:
+	rmdir --ignore-fail-on-non-empty --parents $(debtmp)/usr/lib/perl5
+
 	touch install-stamp
 
 binary-indep: build test install
@@ -52,26 +56,16 @@
 	dh_perl	
 	dh_installdocs		README CP932Excel.map
 	dh_installexamples	sample/*
-#	dh_installmenu
-#	dh_installinit
-#	dh_installcron
-#	dh_installmanpages
-#	dh_undocumented
 	dh_installchangelogs	Changes
 	dh_compress
 	dh_fixperms
-#	dh_suidregister
 	dh_installdeb
 	dh_gencontrol
-#	dh_md5sums
 	dh_builddeb
 
 binary-arch:
 # nothing to do
 
-source diff:                                                                  
-	@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
-
 binary: binary-indep binary-arch
 .PHONY: build clean binary-indep binary-arch binary upstream
 




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