[DRE-commits] [ruby-handlebars-assets] 01/04: use libjs files from system

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Mon Oct 23 12:19:11 UTC 2017


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

praveen pushed a commit to branch master
in repository ruby-handlebars-assets.

commit 81e82a4a03e5aa0005b97b5b372e39f756cd0455
Author: Pirate Praveen <praveen at debian.org>
Date:   Mon Oct 23 17:30:30 2017 +0530

    use libjs files from system
---
 debian/control |  5 ++---
 debian/links   |  5 ++---
 debian/rules   | 12 ++++++------
 3 files changed, 10 insertions(+), 12 deletions(-)

diff --git a/debian/control b/debian/control
index b49bec5..1e80a36 100644
--- a/debian/control
+++ b/debian/control
@@ -11,7 +11,6 @@ Build-Depends: debhelper (>= 9~),
                ruby-slim,
                ruby-sprockets,
                ruby-tilt,
-               node-handlebars (>= 3:4.0.5-4~),
 Standards-Version: 4.1.0
 Vcs-Git: https://anonscm.debian.org/git/pkg-ruby-extras/ruby-handlebars-assets.git
 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-handlebars-assets.git
@@ -22,8 +21,8 @@ Package: ruby-handlebars-assets
 Architecture: all
 XB-Ruby-Versions: ${ruby:Versions}
 Depends: 
-#         libjs-handlebars (>= 3:4.0.5~),
-#         libjs-handlebars.runtime (>= 3:4.0.5~),
+         libjs-handlebars (>= 3:4.0.10~),
+         libjs-handlebars.runtime (>= 3:4.0.10~),
          ruby | ruby-interpreter,
          ruby-execjs,
          ruby-multi-json,
diff --git a/debian/links b/debian/links
index d604604..0b7b11e 100644
--- a/debian/links
+++ b/debian/links
@@ -1,3 +1,2 @@
-#usr/share/javascript/handlebars/handlebars.js usr/share/rubygems-integration/all/gems/handlebars_assets-0.23.0/vendor/assets/javascripts/handlebars.js
-#usr/share/javascript/handlebars/handlebars usr/share/rubygems-integration/all/gems/handlebars_assets-0.23.0/vendor/assets/javascripts/handlebars
-#usr/share/javascript/handlebars.runtime/handlebars.runtime.js usr/share/rubygems-integration/all/gems/handlebars_assets-0.23.0/vendor/assets/javascripts/handlebars.runtime.js
+usr/share/javascript/handlebars/handlebars.js usr/share/rubygems-integration/all/gems/handlebars_assets-0.23.2/vendor/assets/javascripts/handlebars.js
+usr/share/javascript/handlebars.runtime/handlebars.runtime.js usr/share/rubygems-integration/all/gems/handlebars_assets-0.23.2/vendor/assets/javascripts/handlebars.runtime.js
diff --git a/debian/rules b/debian/rules
index e1d0029..ff43959 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,11 +6,11 @@ export DH_RUBY = --gem-install
 %:
 	dh $@ --buildsystem=ruby --with ruby
 
-#override_dh_install:
-	#dh_install
+override_dh_install:
+	dh_install
 	# Make sure the symlinks are pointing to correct version
-	#if ! grep handlebars_assets-$(head -1 debian/changelog |cut -d' '\
-	#-f2 |cut -d: -f2|cut -d- -f1) debian/links; then echo \
-	#"Error: Broken links. Update debian/links with correct version";\
-	#exit 1; fi
+	if ! grep handlebars_assets-$(head -1 debian/changelog |cut -d' '\
+	-f2 |cut -d: -f2|cut -d- -f1) debian/links; then echo \
+	"Error: Broken links. Update debian/links with correct version";\
+	exit 1; fi
 

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



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