[SCM] Debian packaging of libmojolicious-perl branch, master, updated. debian/3.71+dfsg-1-12-g9fc1625

CSILLAG Tamas cstamas at cstamas.hu
Sat Feb 2 17:31:37 UTC 2013


The following commit has been merged in the master branch:
commit 9fc1625785ab3c604b49ff7ce8eaecc0b4b52d3c
Author: CSILLAG Tamas <cstamas at cstamas.hu>
Date:   Sat Feb 2 17:45:02 2013 +0100

    copy jquery.js to its place for the test
    
    Mojolicous has a test for the presence of
    jquery.js. So we link it where the test
    expects and remove it afterwards.
    
    The built package has its link created by dh_link.

diff --git a/debian/rules b/debian/rules
index 2d33f6a..e1404ae 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,3 +2,10 @@
 
 %:
 	dh $@
+
+override_dh_auto_test:
+	mkdir blib/lib/Mojolicious/public/mojo/jquery
+	ln -s /usr/share/javascript/jquery/jquery.js blib/lib/Mojolicious/public/mojo/jquery
+	dh_auto_test
+	rm    blib/lib/Mojolicious/public/mojo/jquery/jquery.js
+	rmdir blib/lib/Mojolicious/public/mojo/jquery

-- 
Debian packaging of libmojolicious-perl



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