[DRE-commits] [ruby-dbi] 04/08: Remove embedded copy of jquery

David Suárez deiv-guest at moszumanska.debian.org
Fri Feb 21 20:36:11 UTC 2014


This is an automated email from the git hooks/post-receive script.

deiv-guest pushed a commit to branch master
in repository ruby-dbi.

commit f7e5af89fce839f3f9c9d664b2e3e289a7765427
Author: David Suárez <david.sephirot at gmail.com>
Date:   Fri Feb 21 21:18:07 2014 +0100

    Remove embedded copy of jquery
---
 debian/control | 2 +-
 debian/rules   | 6 ++++++
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index ae7a89e..0155d76 100644
--- a/debian/control
+++ b/debian/control
@@ -13,7 +13,7 @@ XS-Ruby-Versions: all
 Package: ruby-dbi
 Architecture: all
 XB-Ruby-Versions: ${ruby:Versions}
-Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter, ruby-deprecated (>= 3.0~)
+Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter, ruby-deprecated (>= 3.0~), libjs-jquery
 Provides: libdbi-ruby
 Description: Database Independent Interface for Ruby
  Ruby/DBI is a database independent interface for accessing databases,
diff --git a/debian/rules b/debian/rules
index a596940..650c80c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -22,8 +22,14 @@ override_dh_installdocs:
 	rdoc --inline-source --op rdoc --main README \
 		--title "Database Independent Interface for Ruby" \
 		lib README
+	rm -f $(CURDIR)/debian/ruby-dbi/usr/share/doc/ruby-dbi/rdoc/js/jquery.js
 	dh_installdocs
 
 override_dh_clean:
 	rm -rf rdoc
 	dh_clean
+
+override_dh_link:
+	# link to jquery.js
+	dh_link --package=ruby-dbi usr/share/javascript/jquery/jquery.js \
+		usr/share/doc/ruby-dbi/rdoc/js/jquery.js

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-dbi.git



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