r23779 - in /trunk/libapache-session-wrapper-perl/debian: changelog rules watch
gregoa at users.alioth.debian.org
gregoa at users.alioth.debian.org
Mon Aug 4 22:44:33 UTC 2008
Author: gregoa
Date: Mon Aug 4 22:44:30 2008
New Revision: 23779
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=23779
Log:
* debian/watch: use dist-based URL.
* Refresh debian/rules, no functional changes, minor improvements: don't
install a .packlist file, don't ignore errors of make clean.
Modified:
trunk/libapache-session-wrapper-perl/debian/changelog
trunk/libapache-session-wrapper-perl/debian/rules
trunk/libapache-session-wrapper-perl/debian/watch
Modified: trunk/libapache-session-wrapper-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libapache-session-wrapper-perl/debian/changelog?rev=23779&op=diff
==============================================================================
--- trunk/libapache-session-wrapper-perl/debian/changelog (original)
+++ trunk/libapache-session-wrapper-perl/debian/changelog Mon Aug 4 22:44:30 2008
@@ -4,6 +4,9 @@
field (source stanza); Homepage field (source stanza). Removed: XS-
Vcs-Svn fields.
* debian/rules: remove directory _build only if it exists.
+ * debian/watch: use dist-based URL.
+ * Refresh debian/rules, no functional changes, minor improvements: don't
+ install a .packlist file, don't ignore errors of make clean.
-- gregor herrmann <gregor+debian at comodo.priv.at> Tue, 09 Oct 2007 22:27:15 +0200
Modified: trunk/libapache-session-wrapper-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libapache-session-wrapper-perl/debian/rules?rev=23779&op=diff
==============================================================================
--- trunk/libapache-session-wrapper-perl/debian/rules (original)
+++ trunk/libapache-session-wrapper-perl/debian/rules Mon Aug 4 22:44:30 2008
@@ -1,73 +1,62 @@
#!/usr/bin/make -f
-# -*- Makefile -*-
+# 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.
+#
+# It was later modified by Jason Kohles <email at jasonkohles.com>
+# http://www.jasonkohles.com/ to support Module::Build installed modules
-# Use debhelper V. 2
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
-# Make sure perl is defined (allow overriding from the command line
-PERL ?= /usr/bin/perl
+# 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
-# Set our build directory
-b := $(shell pwd)/debian/libapache-session-wrapper-perl
+PERL ?= /usr/bin/perl
+PACKAGE = $(shell dh_listpackages)
+TMP = $(CURDIR)/debian/$(PACKAGE)
-arrange: arrange-stamp
-arrange-stamp: install
+build: build-stamp
+build-stamp:
dh_testdir
- dh_installdirs
- touch arrange-stamp
+ $(PERL) Build.PL installdirs=vendor
+ $(PERL) Build
+ # tests are interactive
+ # $(PERL) Build test
+ touch $@
-binary: binary-stamp
-binary-stamp: binary-indep binary-arch
+clean:
dh_testdir
- touch binary-stamp
+ dh_testroot
+ dh_clean build-stamp install-stamp
+ [ ! -f Build ] || $(PERL) Build --allow_mb_mismatch 1 distclean
+ [ ! -d _build ] || rmdir --ignore-fail-on-non-empty _build
-binary-arch: binary-arch-stamp
-binary-arch-stamp: arrange
+install: install-stamp
+install-stamp: build-stamp
dh_testdir
- touch binary-arch-stamp
+ dh_testroot
+ dh_clean -k
+ $(PERL) Build install destdir=$(TMP) create_packlist=0
+ touch $@
-binary-indep: binary-indep-stamp
-binary-indep-stamp: arrange
+binary-arch:
+# We have nothing to do here for an architecture-independent package
+
+binary-indep: build install
dh_testdir
dh_testroot
dh_installdocs
dh_installchangelogs Changes
- dh_link
- dh_strip
+ dh_perl
dh_compress
dh_fixperms
dh_installdeb
- dh_perl
- dh_shlibdeps
dh_gencontrol
dh_md5sums
dh_builddeb
- touch binary-indep-stamp
-build: build-stamp
-build-stamp: config
- dh_testdir
- $(PERL) Build
- touch build-stamp
-
-clean:
- dh_testdir
- dh_testroot
- [ ! -d _build ] || rmdir --ignore-fail-on-non-empty _build
- -$(PERL) Build distclean
- -rm Build
- dh_clean arrange-stamp binary-stamp binary-arch-stamp binary-indep-stamp build-stamp config-stamp install-stamp
-
-config: config-stamp
-config-stamp:
- dh_testdir
- $(PERL) Build.PL installdirs=vendor destdir=$(b)
- touch config-stamp
-
-install: install-stamp
-install-stamp: build
- dh_testdir
- #$(PERL) Build test --- this test is interactive
- $(PERL) Build install
- touch install-stamp
-
-.PHONY: arrange binary binary-arch binary-indep build clean config install
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
Modified: trunk/libapache-session-wrapper-perl/debian/watch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libapache-session-wrapper-perl/debian/watch?rev=23779&op=diff
==============================================================================
--- trunk/libapache-session-wrapper-perl/debian/watch (original)
+++ trunk/libapache-session-wrapper-perl/debian/watch Mon Aug 4 22:44:30 2008
@@ -1,2 +1,2 @@
version=3
-http://www.cpan.org/modules/by-module/Apache/Apache-Session-Wrapper-([\d\.]+).tar.gz
+http://search.cpan.org/dist/Apache-Session-Wrapper/ .*/Apache-Session-Wrapper-v?(\d[\d_.]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)
More information about the Pkg-perl-cvs-commits
mailing list