r20819 - in /trunk/libcgi-ajax-perl: debian/changelog debian/control debian/patches/ debian/patches/hashbang.patch debian/patches/series debian/rules scripts/pjx_JSON_out.pl
gregoa at users.alioth.debian.org
gregoa at users.alioth.debian.org
Sat Jun 7 14:21:04 UTC 2008
Author: gregoa
Date: Sat Jun 7 14:21:04 2008
New Revision: 20819
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=20819
Log:
* Refresh debian/rules, no functional changes.
* Split out changes to example script into hashbang.patch; add quilt
framework.
Added:
trunk/libcgi-ajax-perl/debian/patches/
trunk/libcgi-ajax-perl/debian/patches/hashbang.patch
trunk/libcgi-ajax-perl/debian/patches/series
Modified:
trunk/libcgi-ajax-perl/debian/changelog
trunk/libcgi-ajax-perl/debian/control
trunk/libcgi-ajax-perl/debian/rules
trunk/libcgi-ajax-perl/scripts/pjx_JSON_out.pl
Modified: trunk/libcgi-ajax-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcgi-ajax-perl/debian/changelog?rev=20819&op=diff
==============================================================================
--- trunk/libcgi-ajax-perl/debian/changelog (original)
+++ trunk/libcgi-ajax-perl/debian/changelog Sat Jun 7 14:21:04 2008
@@ -1,3 +1,11 @@
+libcgi-ajax-perl (0.701-4) UNRELEASED; urgency=low
+
+ * Refresh debian/rules, no functional changes.
+ * Split out changes to example script into hashbang.patch; add quilt
+ framework.
+
+ -- gregor herrmann <gregoa at debian.org> Sat, 07 Jun 2008 16:18:39 +0200
+
libcgi-ajax-perl (0.701-3) unstable; urgency=low
[ gregor herrmann ]
Modified: trunk/libcgi-ajax-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcgi-ajax-perl/debian/control?rev=20819&op=diff
==============================================================================
--- trunk/libcgi-ajax-perl/debian/control (original)
+++ trunk/libcgi-ajax-perl/debian/control Sat Jun 7 14:21:04 2008
@@ -1,7 +1,7 @@
Source: libcgi-ajax-perl
Section: perl
Priority: optional
-Build-Depends: debhelper (>= 6)
+Build-Depends: debhelper (>= 6), quilt (>= 0.40)
Build-Depends-Indep: perl (>= 5.8.0), libclass-accessor-perl
Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
Uploaders: Ernesto Hernández-Novich (USB) <emhn at usb.ve>
Added: trunk/libcgi-ajax-perl/debian/patches/hashbang.patch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcgi-ajax-perl/debian/patches/hashbang.patch?rev=20819&op=file
==============================================================================
--- trunk/libcgi-ajax-perl/debian/patches/hashbang.patch (added)
+++ trunk/libcgi-ajax-perl/debian/patches/hashbang.patch Sat Jun 7 14:21:04 2008
@@ -1,0 +1,7 @@
+--- libcgi-ajax-perl.orig/scripts/pjx_JSON_out.pl
++++ libcgi-ajax-perl/scripts/pjx_JSON_out.pl
+@@ -1,3 +1,4 @@
++#!/usr/bin/perl -w
+ use strict;
+ use CGI;
+ use JSON;
Added: trunk/libcgi-ajax-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcgi-ajax-perl/debian/patches/series?rev=20819&op=file
==============================================================================
--- trunk/libcgi-ajax-perl/debian/patches/series (added)
+++ trunk/libcgi-ajax-perl/debian/patches/series Sat Jun 7 14:21:04 2008
@@ -1,0 +1,1 @@
+hashbang.patch
Modified: trunk/libcgi-ajax-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcgi-ajax-perl/debian/rules?rev=20819&op=diff
==============================================================================
--- trunk/libcgi-ajax-perl/debian/rules (original)
+++ trunk/libcgi-ajax-perl/debian/rules Sat Jun 7 14:21:04 2008
@@ -11,23 +11,21 @@
# always return the default without waiting for user input.
export PERL_MM_USE_DEFAULT=1
-PACKAGE=$(shell dh_listpackages)
+include /usr/share/quilt/quilt.make
-ifndef PERL
-PERL = /usr/bin/perl
-endif
-
-TMP =$(CURDIR)/debian/$(PACKAGE)
+PERL ?= /usr/bin/perl
+PACKAGE = $(shell dh_listpackages)
+TMP = $(CURDIR)/debian/$(PACKAGE)
build: build-stamp
-build-stamp:
+build-stamp: $(QUILT_STAMPFN)
dh_testdir
$(PERL) Makefile.PL INSTALLDIRS=vendor
$(MAKE)
$(MAKE) test
- touch build-stamp
+ touch $@
-clean:
+clean: unpatch
dh_testdir
dh_testroot
dh_clean build-stamp install-stamp
@@ -39,11 +37,13 @@
dh_testroot
dh_clean -k
$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
- [ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/lib/perl5
- touch install-stamp
+ [ ! -d $(TMP)/usr/lib/perl5 ] || \
+ rmdir --ignore-fail-on-non-empty --parents --verbose \
+ $(TMP)/usr/lib/perl5
+ touch $@
binary-arch:
-# We have nothing to do by default.
+# We have nothing to do here for an architecture-independent package
binary-indep: build install
dh_testdir
@@ -59,8 +59,5 @@
dh_md5sums
dh_builddeb
-source diff:
- @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
-
binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary
+.PHONY: build clean binary-indep binary-arch binary install
Modified: trunk/libcgi-ajax-perl/scripts/pjx_JSON_out.pl
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcgi-ajax-perl/scripts/pjx_JSON_out.pl?rev=20819&op=diff
==============================================================================
--- trunk/libcgi-ajax-perl/scripts/pjx_JSON_out.pl (original)
+++ trunk/libcgi-ajax-perl/scripts/pjx_JSON_out.pl Sat Jun 7 14:21:04 2008
@@ -1,4 +1,3 @@
-#!/usr/bin/perl
use strict;
use CGI;
use JSON;
More information about the Pkg-perl-cvs-commits
mailing list