r11279 - in /trunk/libclass-mop-perl/debian: changelog control rules

gregoa-guest at users.alioth.debian.org gregoa-guest at users.alioth.debian.org
Mon Dec 17 16:23:49 UTC 2007


Author: gregoa-guest
Date: Mon Dec 17 16:23:48 2007
New Revision: 11279

URL: http://svn.debian.org/wsvn/?sc=1&rev=11279
Log:
* Set Standards-Version to 3.7.3 (no further changes needed).
* Package contains XS stuff and builds an .so file, moving to arch:any and
  adapting debian/rules and debian/control accordingly.

Modified:
    trunk/libclass-mop-perl/debian/changelog
    trunk/libclass-mop-perl/debian/control
    trunk/libclass-mop-perl/debian/rules

Modified: trunk/libclass-mop-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libclass-mop-perl/debian/changelog?rev=11279&op=diff
==============================================================================
--- trunk/libclass-mop-perl/debian/changelog (original)
+++ trunk/libclass-mop-perl/debian/changelog Mon Dec 17 16:23:48 2007
@@ -1,6 +1,9 @@
 libclass-mop-perl (0.49-1) UNRELEASED; urgency=low
 
   * New upstream release.
+  * Set Standards-Version to 3.7.3 (no further changes needed).
+  * Package contains XS stuff and builds an .so file, moving to arch:any and
+    adapting debian/rules and debian/control accordingly.
 
  -- gregor herrmann <gregor+debian at comodo.priv.at>  Mon, 17 Dec 2007 16:56:12 +0100
 

Modified: trunk/libclass-mop-perl/debian/control
URL: http://svn.debian.org/wsvn/trunk/libclass-mop-perl/debian/control?rev=11279&op=diff
==============================================================================
--- trunk/libclass-mop-perl/debian/control (original)
+++ trunk/libclass-mop-perl/debian/control Mon Dec 17 16:23:48 2007
@@ -1,21 +1,21 @@
 Source: libclass-mop-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 5.0)
-Build-Depends-Indep: perl (>= 5.8.0-7), libsub-name-perl,
+Build-Depends: debhelper (>= 5.0),
+ perl (>= 5.8.0-7), libsub-name-perl,
  libtest-exception-perl, libtest-pod-perl, libtest-pod-coverage-perl,
  libalgorithm-c3-perl, libclass-c3-perl, libmodule-build-perl
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Krzysztof Krzyzaniak (eloy) <eloy at debian.org>,
  gregor herrmann <gregor+debian at comodo.priv.at>,
  Damyan Ivanov <dmn at debian.org>
-Standards-Version: 3.7.2.1
+Standards-Version: 3.7.3
 Homepage: http://search.cpan.org/dist/Class-MOP/
 Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libclass-mop-perl/
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-mop-perl/
 
 Package: libclass-mop-perl
-Architecture: all
+Architecture: any
 Depends: ${perl:Depends}, ${misc:Depends}, libsub-name-perl
 Conflicts: libmoose-perl (<< 0.31)
 Description: A Meta Object Protocol for Perl 5

Modified: trunk/libclass-mop-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libclass-mop-perl/debian/rules?rev=11279&op=diff
==============================================================================
--- trunk/libclass-mop-perl/debian/rules (original)
+++ trunk/libclass-mop-perl/debian/rules Mon Dec 17 16:23:48 2007
@@ -22,11 +22,18 @@
 
 TMP     =$(CURDIR)/debian/$(PACKAGE)
 
+CFLAGS = -Wall -g
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+        CFLAGS += -O0
+else
+        CFLAGS += -O2
+endif
+
 build: build-stamp
 build-stamp:
 	dh_testdir
 	$(PERL) Makefile.PL installdirs=vendor
-	$(MAKE)
+	$(MAKE) OPTIMIZE="$(CFLAGS)" LD_RUN_PATH=""
 	$(MAKE) test
 	touch $@
 
@@ -42,13 +49,13 @@
 	dh_testroot
 	dh_clean -k
 	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
-	rmdir --parents --ignore-fail-on-non-empty $(TMP)/usr/lib/perl5
+	rmdir --parents --ignore-fail-on-non-empty $(TMP)/usr/share/perl5
 	touch $@
 
-binary-arch:
+binary-indep: build install
 	@echo "We have nothing to do by default."
 
-binary-indep: build install
+binary-arch: build install
 	dh_testdir
 	dh_testroot
 	dh_installexamples examples/*
@@ -56,6 +63,7 @@
 	dh_installchangelogs Changes
 	dh_perl
 	dh_compress
+	dh_strip
 	dh_fixperms
 	dh_installdeb
 	dh_gencontrol




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