[DRE-commits] [ruby-autoprefixer-rails] 03/05: Use DH_RUBY = --gem-install

Sruthi Chandran srud-guest at moszumanska.debian.org
Fri Aug 26 05:15:30 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-autoprefixer-rails.

commit f616151b405fbd2dbb29d2db7b69037f7ccf0813
Author: Sruthi Chandran <srud at disroot.org>
Date:   Thu Aug 25 16:31:36 2016 +0530

    Use DH_RUBY = --gem-install
---
 debian/changelog                           |  5 +++--
 debian/patches/engine-root.patch           | 13 -------------
 debian/patches/remove-git-in-gemspec.patch | 15 ---------------
 debian/patches/series                      |  2 --
 debian/rules                               |  1 +
 5 files changed, 4 insertions(+), 32 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 1264f36..7690e3d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,9 +1,10 @@
-ruby-autoprefixer-rails (6.4.0.3-1) UNRELEASED; urgency=medium
+ruby-autoprefixer-rails (6.4.0.3-2) UNRELEASED; urgency=medium
 
   * Team upload.
   * New upstream release
+  * Use DH_RUBY = --gem-install
 
- -- Sruthi Chandran <srud at disroot.org>  Thu, 25 Aug 2016 16:20:23 +0530
+ -- Sruthi Chandran <srud at disroot.org>  Thu, 25 Aug 2016 16:30:28 +0530
 
 ruby-autoprefixer-rails (6.3.3.1-1) unstable; urgency=medium
 
diff --git a/debian/patches/engine-root.patch b/debian/patches/engine-root.patch
deleted file mode 100644
index af0b2a6..0000000
--- a/debian/patches/engine-root.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-Index: ruby-autoprefixer-rails/lib/autoprefixer-rails/processor.rb
-===================================================================
---- ruby-autoprefixer-rails.orig/lib/autoprefixer-rails/processor.rb
-+++ ruby-autoprefixer-rails/lib/autoprefixer-rails/processor.rb
-@@ -115,7 +115,7 @@ module AutoprefixerRails
- 
-     # Cache autoprefixer.js content
-     def read_js
--      @@js ||= Pathname(__FILE__).join("../../../vendor/autoprefixer.js").read
-+      @@js ||= Pathname(__FILE__).join("/usr/share/ruby-autoprefixer-rails/vendor/autoprefixer.js").read
-     end
- 
-     # Return processor JS with some extra methods
diff --git a/debian/patches/remove-git-in-gemspec.patch b/debian/patches/remove-git-in-gemspec.patch
deleted file mode 100644
index 4599beb..0000000
--- a/debian/patches/remove-git-in-gemspec.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-Index: ruby-autoprefixer-rails/autoprefixer-rails.gemspec
-===================================================================
---- ruby-autoprefixer-rails.orig/autoprefixer-rails.gemspec
-+++ ruby-autoprefixer-rails/autoprefixer-rails.gemspec
-@@ -8,8 +8,8 @@ Gem::Specification.new do |s|
-   s.summary     = 'Parse CSS and add vendor prefixes to CSS rules using ' +
-                   'values from the Can I Use website.'
- 
--  s.files            = `git ls-files`.split("\n")
--  s.test_files       = `git ls-files -- {spec}/*`.split("\n")
-+  s.files            = ''
-+  s.test_files       = ''
-   s.extra_rdoc_files = ['README.md', 'LICENSE', 'CHANGELOG.md']
-   s.require_path     = 'lib'
-   s.required_ruby_version = '>= 2.0'
diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index 8eaddfe..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1,2 +0,0 @@
-engine-root.patch
-remove-git-in-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-autoprefixer-rails.git



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