[DRE-commits] [SCM] rcov.git branch, master, updated. upstream/0.9.11-17-g9d1ee6e

Paul van Tilburg paulvt at debian.org
Tue May 29 13:51:31 UTC 2012


The following commit has been merged in the master branch:
commit 96da67357bb8f96d8af47e02bc7cbb2688412d05
Author: Paul van Tilburg <paulvt at debian.org>
Date:   Tue May 29 15:31:54 2012 +0200

    Replaced upstream provided JavaScript files by links to JS files from the depends

diff --git a/debian/changelog b/debian/changelog
index a7f5d95..867917d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -16,8 +16,9 @@ rcov (1.0-1) UNRELEASED; urgency=low
       convention the team is the default maintainer.
   * debian/copyright: reworked to fit the Debian copyright format version 1.0.
   * debian/rcov.docs: README is now called BLURB; added README.markdown.
-
-  TODO: deal with minified JavaScript files in lib/rcov/templates
+  * debian/rcov.links: add links for the JavaScript files from
+    /usr/share/javascript.
+  * debian/rules: remove included JavaScript files.
 
  -- Paul van Tilburg <paulvt at debian.org>  Fri, 18 May 2012 19:44:54 +0200
 
diff --git a/debian/rcov.links b/debian/rcov.links
new file mode 100644
index 0000000..353b648
--- /dev/null
+++ b/debian/rcov.links
@@ -0,0 +1,2 @@
+usr/share/javascript/jquery/jquery.min.js usr/lib/ruby/vendor_ruby/rcov/templates/jquery-1.3.2.min.js
+usr/share/javascript/jquery-tablesorter/jquery.tablesorter.min.js usr/lib/ruby/vendor_ruby/rcov/templates/jquery.tablesorter.min.js
diff --git a/debian/rules b/debian/rules
index 3bcc847..62f1070 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,3 +13,7 @@ export DH_RUBY_GEMSPEC=rcov.gemspec
 
 %:
 	dh $@ --buildsystem=ruby --with ruby
+
+override_dh_auto_install:
+	dh_auto_install
+	rm debian/rcov/usr/lib/ruby/vendor_ruby/rcov/templates/jquery*.min.js

-- 
rcov.git



More information about the Pkg-ruby-extras-commits mailing list