[SCM] Debian packaging of libcgi-application-plugin-ajaxupload-perl branch, master, updated. c974e2ccca2b2a35d67c269b7a075cf5ea3b4cd6
Nicholas Bamber
nicholas at periapt.co.uk
Fri Aug 26 22:15:53 UTC 2011
The following commit has been merged in the master branch:
commit 43a941a5a8bf03433a0adbd62ce2cb04fa4637f1
Author: Nicholas Bamber <nicholas at periapt.co.uk>
Date: Fri Aug 26 12:04:38 2011 +0100
* Added patch to relax file size test to range (Closes: #637791)
* Removed unnecessary dependency
* Raised standards version to 3.9.2
* Added patch for spelling error
diff --git a/debian/changelog b/debian/changelog
index 3423613..6129981 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,7 +7,13 @@ libcgi-application-plugin-ajaxupload-perl (0.0.3-2) UNRELEASED; urgency=low
* debian/copyright: Replace DEP5 Format-Specification URL from
svn.debian.org to anonscm.debian.org URL.
- -- Ansgar Burchardt <ansgar at debian.org> Wed, 27 Jul 2011 18:41:39 +0200
+ [ Nicholas Bamber ]
+ * Added patch to relax file size test to range (Closes: #637791)
+ * Removed unnecessary dependency
+ * Raised standards version to 3.9.2
+ * Added patch for spelling error
+
+ -- Nicholas Bamber <nicholas at periapt.co.uk> Wed, 27 Jul 2011 18:41:39 +0200
libcgi-application-plugin-ajaxupload-perl (0.0.3-1) unstable; urgency=low
diff --git a/debian/control b/debian/control
index a9c7ec9..a5f76a3 100644
--- a/debian/control
+++ b/debian/control
@@ -6,10 +6,10 @@ Build-Depends-Indep: perl, libtest-nowarnings-perl, libtest-warn-perl,
libtest-cgi-multipart-perl, libtest-image-gd-perl (>= 0.03-2), libversion-perl,
libcgi-application-extra-plugin-bundle-perl, libcgi-application-perl,
libperl6-slurp-perl, libreadonly-perl, libautodie-perl,
- libdata-formvalidator-perl, libtest-simple-perl (>= 0.94)
+ libdata-formvalidator-perl
Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
Uploaders: Nicholas Bamber <nicholas at periapt.co.uk>
-Standards-Version: 3.9.1
+Standards-Version: 3.9.2
Homepage: http://search.cpan.org/dist/CGI-Application-Plugin-AJAXUpload/
Vcs-Git: git://git.debian.org/pkg-perl/packages/libcgi-application-plugin-ajaxupload-perl.git
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libcgi-application-plugin-ajaxupload-perl.git
diff --git a/debian/patches/file-size-tests.patch b/debian/patches/file-size-tests.patch
new file mode 100644
index 0000000..669ea94
--- /dev/null
+++ b/debian/patches/file-size-tests.patch
@@ -0,0 +1,30 @@
+Description: File size tests failing since recent upgrades
+Origin: <vendor|upstream|other>, <url of original patch>
+Bug: <url in upstream bugtracker>
+Bug-Debian: http://bugs.debian.org/<bugnumber>
+Forwarded: <no|not-needed|url proving that it has been forwarded>
+Author: Nicholas Bamber <nicholas at periapt.co.uk>
+Last-Update: 2011-08-26
+
+--- libcgi-application-plugin-ajaxupload-perl-0.0.3.orig/t/03.images.t
++++ libcgi-application-plugin-ajaxupload-perl-0.0.3/t/03.images.t
+@@ -243,7 +243,8 @@ subtest 'options' => sub{
+ qr!{"status":"UPLOADED","image_url":"$upload_subdir/test.jpeg"}!xms,
+ 'UPLOADED'
+ );
+- is(-s "$tmpdir_name$upload_subdir/test.jpeg", 4046, 'file size');
++ my $size = -s "$tmpdir_name/$upload_subdir/test.jpeg";
++ ok($size >= 4000 && $size <= 4100, 'file size');
+ };
+
+ subtest 'UPLOADED' => sub{
+@@ -266,7 +267,8 @@ subtest 'UPLOADED' => sub{
+ qr!{"status":"UPLOADED","image_url":"/img/uploads/test.jpeg"}!xms,
+ 'UPLOADED'
+ );
+- is(-s "$tmpdir_name/img/uploads/test.jpeg", 4046, 'file size');
++ my $size = -s "$tmpdir_name/img/uploads/test.jpeg";
++ ok($size >= 4000 && $size <= 4100, 'file size');
+ };
+
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..5b80bbb
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+file-size-tests.patch
+spelling.patch
--
Debian packaging of libcgi-application-plugin-ajaxupload-perl
More information about the Pkg-perl-cvs-commits
mailing list