r18783 - in /trunk/libdbd-pg-perl/debian: changelog control rules

tincho-guest at users.alioth.debian.org tincho-guest at users.alioth.debian.org
Fri Apr 18 15:57:10 UTC 2008


Author: tincho-guest
Date: Fri Apr 18 15:57:09 2008
New Revision: 18783

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=18783
Log:
* debian/rules: more refreshing and removing unneeded stuff.
* debian/control: adding myself to Uploaders.

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

Modified: trunk/libdbd-pg-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbd-pg-perl/debian/changelog?rev=18783&op=diff
==============================================================================
--- trunk/libdbd-pg-perl/debian/changelog (original)
+++ trunk/libdbd-pg-perl/debian/changelog Fri Apr 18 15:57:09 2008
@@ -1,9 +1,14 @@
 libdbd-pg-perl (2.6.0-1) unstable; urgency=low
 
+  [ gregor herrmann ]
   * New upstream release.
   * Refresh debian/rules, no functional changes.
 
- -- gregor herrmann <gregor+debian at comodo.priv.at>  Thu, 17 Apr 2008 22:04:25 +0200
+  [ Martín Ferrari ]
+  * debian/rules: more refreshing and removing unneeded stuff.
+  * debian/control: adding myself to Uploaders.
+
+ -- Martín Ferrari <martin.ferrari at gmail.com>  Fri, 18 Apr 2008 12:56:59 -0300
 
 libdbd-pg-perl (2.5.1-1) unstable; urgency=low
 

Modified: trunk/libdbd-pg-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbd-pg-perl/debian/control?rev=18783&op=diff
==============================================================================
--- trunk/libdbd-pg-perl/debian/control (original)
+++ trunk/libdbd-pg-perl/debian/control Fri Apr 18 15:57:09 2008
@@ -5,7 +5,8 @@
 Uploaders: Raphael Hertzog <hertzog at debian.org>,
  Ivan Kohler <ivan-debian at 420.am>, Joey Hess <joeyh at debian.org>,
  Damyan Ivanov <dmn at debian.org>, Krzysztof Krzyżaniak (eloy) <eloy at debian.org>,
- gregor herrmann <gregor+debian at comodo.priv.at>
+ gregor herrmann <gregor+debian at comodo.priv.at>,
+ Martín Ferrari <martin.ferrari at gmail.com>
 Standards-Version: 3.7.3
 Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libdbd-pg-perl/
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbd-pg-perl/

Modified: trunk/libdbd-pg-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbd-pg-perl/debian/rules?rev=18783&op=diff
==============================================================================
--- trunk/libdbd-pg-perl/debian/rules (original)
+++ trunk/libdbd-pg-perl/debian/rules Fri Apr 18 15:57:09 2008
@@ -1,6 +1,15 @@
 #!/usr/bin/make -f
-# Made with the aid of debmake, by Christoph Lameter,
-# based on the sample debian/rules file for GNU hello by Ian Jackson.
+# This debian/rules file is provided as a template for normal perl
+# packages. It was created by Marc Brockschmidt <marc at dch-faq.de> for
+# the Debian Perl Group (http://pkg-perl.alioth.debian.org/) but may
+# be used freely wherever it is useful.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# If set to a true value then MakeMaker's prompt function will
+# always return the default without waiting for user input.
+export PERL_MM_USE_DEFAULT=1
 
 PERL   ?= /usr/bin/perl
 PACKAGE = $(shell dh_listpackages)
@@ -9,13 +18,13 @@
 PG_INCLUDEDIR = $(shell pg_config --includedir)
 PG_LIBDIR = $(shell pg_config --libdir)
 
-ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
-  CFLAGS = -g
-endif
+# Allow disabling build optimisation by setting noopt in
+# $DEB_BUILD_OPTIONS
+CFLAGS = -Wall -g
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-  CFLAGS += -O0
+        CFLAGS += -O0
 else
-  CFLAGS += -O2
+        CFLAGS += -O2
 endif
 
 export POSTGRES_INCLUDE=$(PG_INCLUDEDIR)
@@ -26,18 +35,15 @@
 	dh_testdir
 
 	$(PERL) Makefile.PL INSTALLDIRS=vendor
-	touch Makefile
-	$(MAKE) INC="-I/usr/include -I$(PG_INCLUDEDIR) -I/usr/lib/perl5/auto/DBI" OPTIMIZE="-Wall $(CFLAGS)" LD_RUN_PATH=""
+	$(MAKE) OPTIMIZE="$(CFLAGS)" LD_RUN_PATH=""
 	TEST_CRITIC=1 $(MAKE) test
 	touch $@
 
 clean:
 	dh_testdir
 	dh_testroot
-
 	dh_clean build-stamp install-stamp
-	if [ -e Makefile ]; then $(MAKE) realclean; fi
-	-rm -f `find . -name "*~"`
+	[ ! -f Makefile ] || $(MAKE) realclean
 
 install: install-stamp
 install-stamp: build-stamp
@@ -52,26 +58,21 @@
 	touch $@
 
 binary-indep: build install
-# There are no architecture-independent files to be uploaded
-# generated by this package.  If there were any they would be
-# made here.
 
 binary-arch: build install
 	dh_testdir
 	dh_testroot
 	dh_installdocs README
 	dh_installchangelogs Changes
+	dh_shlibdeps
 	dh_strip
+	dh_perl
 	dh_compress
 	dh_fixperms
 	dh_installdeb
-	dh_perl
-	dh_shlibdeps
 	dh_gencontrol
 	dh_md5sums
 	dh_builddeb
 
 binary: binary-indep binary-arch
-
 .PHONY: build clean binary-indep binary-arch binary install
-




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