[SCM] AnyEvent::DBD::Pg branch, master, updated. upstream/0.03-13-geaf0005

Xavier Guimard x.guimard at free.fr
Fri Nov 2 08:09:49 UTC 2012


The following commit has been merged in the master branch:
commit eaf0005e57a1ba77693c82de3a45a08b99558a33
Author: Xavier Guimard <x.guimard at free.fr>
Date:   Fri Nov 2 09:09:21 2012 +0100

    Remove cdbs dependency to use standard d/rules

diff --git a/debian/changelog b/debian/changelog
index a90bf26..376fb29 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,6 +10,7 @@ libanyevent-dbd-pg-perl (0.03-4) unstable; urgency=low
   * Update copyright to fromat 1.0
   * Update debhelper dependency to 8
   * Add myself to uploaders
+  * Remove cdbs to use standard d/rules
 
  -- Xavier Guimard <x.guimard at free.fr>  Fri, 02 Nov 2012 08:36:08 +0100
 
diff --git a/debian/control b/debian/control
index 0b15278..646601b 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,6 @@ Uploaders: Dmitry E. Oboukhov <unera at debian.org>,
 Section: perl
 Priority: extra
 Build-Depends: debhelper (>= 8),
-               cdbs,
                libcommon-sense-perl,
                libdbi-perl,
                libdbd-pg-perl,
diff --git a/debian/rules b/debian/rules
index 978a851..2d33f6a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,23 +1,4 @@
 #!/usr/bin/make -f
 
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/perl-makemaker.mk
-
-MAIN_MODULE	= lib/AnyEvent/DBD/Pg.pm
-
-DEBVERSION = $(shell dpkg-parsechangelog \
-	|grep ^Version|awk '{print $$2}'|sed 's/-.*//' )
-PERLVERSION = $(shell grep '^our[[:space:]]\+\$$VERSION' $(MAIN_MODULE) \
-	|awk '{print $$4}'|sed "s/[';']//g" )
-
-install/libanyevent-dbd-pg-perl::
-	@set -e; \
-	if ! test "x$(DEBVERSION)" = "x$(PERLVERSION)"; then \
-		echo "Error: changelog has version $(DEBVERSION) " \
-			"but module has $(PERLVERSION)"; \
-		false; \
-	fi
-
-clean::
-	rm -f Makefile.old
-	rm -fr .pc/	
+%:
+	dh $@

-- 
AnyEvent::DBD::Pg



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