r44678 - in /trunk/libdbd-odbc-perl/debian: changelog control rules

jawnsy-guest at users.alioth.debian.org jawnsy-guest at users.alioth.debian.org
Wed Sep 23 16:07:28 UTC 2009


Author: jawnsy-guest
Date: Wed Sep 23 16:07:23 2009
New Revision: 44678

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=44678
Log:
* Drop version dependency on libdbi-perl (oldstable has 1.53)
* Change to new short debhelper rules format + overrides

Modified:
    trunk/libdbd-odbc-perl/debian/changelog
    trunk/libdbd-odbc-perl/debian/control
    trunk/libdbd-odbc-perl/debian/rules

Modified: trunk/libdbd-odbc-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbd-odbc-perl/debian/changelog?rev=44678&op=diff
==============================================================================
--- trunk/libdbd-odbc-perl/debian/changelog (original)
+++ trunk/libdbd-odbc-perl/debian/changelog Wed Sep 23 16:07:23 2009
@@ -5,6 +5,8 @@
   [ Jonathan Yu ]
   * New upstream release
   * Standards-Version 3.8.3 (drop versioned dependency on perl)
+  * Drop version dependency on libdbi-perl (oldstable has 1.53)
+  * Change to new short debhelper rules format + overrides
 
   [ Ryan Niebur ]
   * Update jawnsy's email address

Modified: trunk/libdbd-odbc-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbd-odbc-perl/debian/control?rev=44678&op=diff
==============================================================================
--- trunk/libdbd-odbc-perl/debian/control (original)
+++ trunk/libdbd-odbc-perl/debian/control Wed Sep 23 16:07:23 2009
@@ -1,8 +1,7 @@
 Source: libdbd-odbc-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 7), libdbi-perl (>= 1.21), unixodbc-dev,
- perl
+Build-Depends: perl, debhelper (>= 7.0.50), libdbi-perl, unixodbc-dev
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Carlo Segre <segre at debian.org>, gregor herrmann <gregoa at debian.org>,
  Gunnar Wolf <gwolf at debian.org>, Brian Cassidy <brian.cassidy at gmail.com>,

Modified: trunk/libdbd-odbc-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbd-odbc-perl/debian/rules?rev=44678&op=diff
==============================================================================
--- trunk/libdbd-odbc-perl/debian/rules (original)
+++ trunk/libdbd-odbc-perl/debian/rules Wed Sep 23 16:07:23 2009
@@ -6,6 +6,9 @@
 # for test target, see below
 DBUSER  := $(shell whoami)
 DBNAME  := dbd_odbc_test_db
+
+%:
+	dh $@
 
 # here is a test target -- it works for me under postgres
 # keeping it in a separate make target, and not actually invoking it
@@ -16,36 +19,23 @@
 #	Database     = dbd_odbc_test_db
 #	ReadOnly     = 0
 #	Servername   = localhost
-test:	test-stamp
-test-stamp: build-stamp
+test:
 	createdb $(DBNAME)
 	-DBI_USER=$(DBUSER) DBI_DSN=dbi:ODBC:$(DBNAME) \
 		$(MAKE) test TEST_VERBOSE=1
 	-dropdb $(DBNAME)
 	touch $@
 
+override_dh_auto_test:
+	# To run tests, use 'debian/rules test'
 
-build: build-stamp
-build-stamp:
-	dh build --before dh_auto_test
-	dh build --after dh_auto_test
-	touch $@
 
-clean:
-	dh $@
+override_dh_installexamples:
+	dh_installexamples
+	sed -i '1s|^#!perl|#!/usr/bin/perl|' $(TMP)/usr/share/doc/libdbd-odbc-perl/examples/*
+	sed -i '1s|^#!/usr/bin/perl.exe|#!/usr/bin/perl|' $(TMP)/usr/share/doc/libdbd-odbc-perl/examples/*
+	sed -i '1s|^#!c:/programme/perl/bin/perl.exe|#!/usr/bin/perl|' $(TMP)/usr/share/doc/libdbd-odbc-perl/examples/*
 
-install: install-stamp
-install-stamp: build-stamp
-	dh install --until dh_installexamples
-	chmod -x $(CURDIR)/debian/$(PACKAGE)/usr/share/doc/$(PACKAGE)/examples/*
-	dh install --remaining
-	touch $@
-
-binary-arch: install
-	dh $@
-
-binary-indep:
-
-binary: binary-arch binary-indep
-
-.PHONY: binary binary-arch binary-indep install clean build test
+override_dh_fixperms:
+	dh_fixperms
+	chmod 644 $(TMP)/usr/share/doc/libdbd-odbc-perl/examples/*




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