r2759 - in /packages/libnetxap-perl/trunk/debian: changelog compat control rules

ntyni-guest at users.alioth.debian.org ntyni-guest at users.alioth.debian.org
Sat May 13 17:25:06 UTC 2006


Author: ntyni-guest
Date: Sat May 13 17:25:05 2006
New Revision: 2759

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=2759
Log:
Add dpatch framework; small packaging fixes.

Modified:
    packages/libnetxap-perl/trunk/debian/changelog
    packages/libnetxap-perl/trunk/debian/compat
    packages/libnetxap-perl/trunk/debian/control
    packages/libnetxap-perl/trunk/debian/rules

Modified: packages/libnetxap-perl/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libnetxap-perl/trunk/debian/changelog?rev=2759&op=diff
==============================================================================
--- packages/libnetxap-perl/trunk/debian/changelog (original)
+++ packages/libnetxap-perl/trunk/debian/changelog Sat May 13 17:25:05 2006
@@ -1,3 +1,15 @@
+libnetxap-perl (0.02-6) unstable; urgency=low
+
+  * Migrate to dpatch.
+  * Upgrade to Standards-Version 3.7.2. No changes needed.
+  * Upgrade to debhelper compatibility level 5.
+  * Move debhelper from Build-Depends-Indep to Build-Depends,
+    as it's required by the 'clean' target.
+  * Don't ignore the return value of 'make realclean'.
+  * Cleanup of debian/rules.
+
+ -- Niko Tyni <ntyni at iki.fi>  Sat, 13 May 2006 20:21:40 +0300
+
 libnetxap-perl (0.02-5) unstable; urgency=low
 
   * Suppress debug output unless we actually asked for it.  Thanks to

Modified: packages/libnetxap-perl/trunk/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libnetxap-perl/trunk/debian/compat?rev=2759&op=diff
==============================================================================
--- packages/libnetxap-perl/trunk/debian/compat (original)
+++ packages/libnetxap-perl/trunk/debian/compat Sat May 13 17:25:05 2006
@@ -1,1 +1,1 @@
-4
+5

Modified: packages/libnetxap-perl/trunk/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libnetxap-perl/trunk/debian/control?rev=2759&op=diff
==============================================================================
--- packages/libnetxap-perl/trunk/debian/control (original)
+++ packages/libnetxap-perl/trunk/debian/control Sat May 13 17:25:05 2006
@@ -1,10 +1,11 @@
 Source: libnetxap-perl
 Section: perl
 Priority: optional
-Build-Depends-Indep: debhelper (>= 4), perl (>= 5.8.0-7)
+Build-Depends: debhelper (>= 5), dpatch (>= 2.0.9)
+Build-Depends-Indep: perl (>= 5.8.0-7)
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
-Uploaders: Jaldhar H. Vyas <jaldhar at debian.org>
-Standards-Version: 3.6.1
+Uploaders: Jaldhar H. Vyas <jaldhar at debian.org>, Niko Tyni <ntyni at iki.fi>
+Standards-Version: 3.7.2
 
 Package: libnet-imap-perl
 Architecture: all

Modified: packages/libnetxap-perl/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libnetxap-perl/trunk/debian/rules?rev=2759&op=diff
==============================================================================
--- packages/libnetxap-perl/trunk/debian/rules (original)
+++ packages/libnetxap-perl/trunk/debian/rules Sat May 13 17:25:05 2006
@@ -6,6 +6,8 @@
 
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
+
+include /usr/share/dpatch/dpatch.make
 
 PACKAGE=$(shell dh_listpackages)
 
@@ -16,26 +18,24 @@
 ifndef DESTDIR
 DESTDIR=..
 endif
-TMP     =`pwd`/debian/$(PACKAGE)
+TMP     =$(CURDIR)/debian/$(PACKAGE)
 
-build: build-stamp
+build: patch build-stamp
 build-stamp:
 	dh_testdir
 
-	
-	# Add here commands to compile the package.
 	$(PERL) Makefile.PL INSTALLDIRS=vendor
 	$(MAKE) OPTIMIZE="-O2 -g -Wall"
 
 	touch build-stamp
 
-clean:
+clean: clean-patched unpatch
+clean-patched:
 	dh_testdir
 	dh_testroot
 	rm -f build-stamp
 
-	# Add here commands to clean up after the build process.
-	-$(MAKE) realclean
+	[ ! -f Makefile ] || $(MAKE) realclean
 
 	dh_clean
 
@@ -45,14 +45,12 @@
 	dh_clean -k
 	dh_installdirs
 
-	# Add here commands to install the package into debian/tmp.
-	#$(MAKE) install DESTDIR=`pwd`/debian/tmp
 	$(MAKE) install PREFIX=$(TMP)/usr
 
 
 # Build architecture-dependent files here.
 binary-arch: build install
-# We have nothing to do by default.
+# We have nothing to do.
 
 # Build architecture-independent files here.
 binary-indep: build install
@@ -73,8 +71,5 @@
 	dh_md5sums
 	dh_builddeb --destdir=$(DESTDIR)
 
-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




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