[DRE-commits] [ruby-js-routes] 03/04: Use DH_RUBY = --gem-install
Sruthi Chandran
srud-guest at moszumanska.debian.org
Fri Aug 26 14:14:10 UTC 2016
This is an automated email from the git hooks/post-receive script.
srud-guest pushed a commit to branch master
in repository ruby-js-routes.
commit a2dc4d7c016f6e87c8f655577110df3869f70493
Author: Sruthi Chandran <srud at disroot.org>
Date: Fri Aug 26 19:25:42 2016 +0530
Use DH_RUBY = --gem-install
---
debian/patches/engine-root.patch | 18 ------------------
debian/patches/fix-gemspec.patch | 13 -------------
debian/patches/series | 2 --
debian/rules | 1 +
4 files changed, 1 insertion(+), 33 deletions(-)
diff --git a/debian/patches/engine-root.patch b/debian/patches/engine-root.patch
deleted file mode 100644
index 2774c49..0000000
--- a/debian/patches/engine-root.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-Description: Add rails engine root
- Debian specific
-Author: Pirate Praveen <praveen at debian.org>
-Last-Updared: 31-12-2014
-
-Index: ruby-js-routes/lib/js_routes/engine.rb
-===================================================================
---- ruby-js-routes.orig/lib/js_routes/engine.rb
-+++ ruby-js-routes/lib/js_routes/engine.rb
-@@ -3,7 +3,7 @@ require 'sprockets/version'
- class JsRoutes
- SPROCKETS3 = Gem::Version.new(Sprockets::VERSION) >= Gem::Version.new('3.0.0')
- class Engine < ::Rails::Engine
--
-+ config.root = '/usr/share/ruby-js-routes'
- initializer 'js-routes.dependent_on_routes', after: "sprockets.environment" do
-
- if Rails.application.assets.respond_to?(:register_preprocessor)
diff --git a/debian/patches/fix-gemspec.patch b/debian/patches/fix-gemspec.patch
deleted file mode 100644
index 0e77ba1..0000000
--- a/debian/patches/fix-gemspec.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-Index: ruby-js-routes/js-routes.gemspec
-===================================================================
---- ruby-js-routes.orig/js-routes.gemspec
-+++ ruby-js-routes/js-routes.gemspec
-@@ -14,7 +14,7 @@ Gem::Specification.new do |s|
- s.extra_rdoc_files = [
- "LICENSE.txt"
- ]
-- s.files = `git ls-files`.split("\n")
-+ s.files = ''
- s.homepage = %q{http://github.com/railsware/js-routes}
- s.licenses = ["MIT"]
- s.require_paths = ["lib"]
diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index f9cd0bf..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1,2 +0,0 @@
-engine-root.patch
-fix-gemspec.patch
diff --git a/debian/rules b/debian/rules
index 3454d59..4e91465 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,7 @@
#!/usr/bin/make -f
export GEM2DEB_TEST_RUNNER = --check-dependencies
+export DH_RUBY = --gem-install
%:
dh $@ --buildsystem=ruby --with ruby
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-js-routes.git
More information about the Pkg-ruby-extras-commits
mailing list