[DRE-commits] [ruby-rails-assets-jquery-colorbox] 02/02: move change to patch

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Tue Nov 3 14:37:24 UTC 2015


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

praveen pushed a commit to branch master
in repository ruby-rails-assets-jquery-colorbox.

commit 80e96cf966bfd7d1772e15350853dbad2e8f64b9
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Tue Nov 3 20:02:47 2015 +0530

    move change to patch
---
 debian/patches/remove-find.patch     | 24 ++++++++++++++++++++++++
 debian/patches/series                |  1 +
 rails-assets-jquery-colorbox.gemspec |  2 +-
 3 files changed, 26 insertions(+), 1 deletion(-)

diff --git a/debian/patches/remove-find.patch b/debian/patches/remove-find.patch
new file mode 100644
index 0000000..046dbdd
--- /dev/null
+++ b/debian/patches/remove-find.patch
@@ -0,0 +1,24 @@
+Description: avoid listing all files from /
+Files list in spec is not very useful
+.
+ ruby-rails-assets-jquery-colorbox (1.6.3~dfsg-3) experimental; urgency=medium
+ .
+   * Remove 'find' command for generating files list from gemspec
+Author: Pirate Praveen <praveen at debian.org>
+
+---
+
+Origin: <vendor|upstream|other>, <url of original patch>
+Last-Update: 2015-11-03
+
+--- ruby-rails-assets-jquery-colorbox-1.6.3~dfsg.orig/rails-assets-jquery-colorbox.gemspec
++++ ruby-rails-assets-jquery-colorbox-1.6.3~dfsg/rails-assets-jquery-colorbox.gemspec
+@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
+   spec.summary       = "jQuery lightbox and modal window plugin"
+   spec.homepage      = "http://www.jacklmoore.com/colorbox"
+ 
+-  spec.files         = `find ./* -type f | cut -b 3-`.split($/)
++  spec.files         = ''
+   spec.require_paths = ["lib"]
+ 
+   spec.add_dependency "rails-assets-jquery", ">= 1.3.2"
diff --git a/debian/patches/series b/debian/patches/series
index d77d941..2a624af 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 engine-root.patch
+remove-find.patch
diff --git a/rails-assets-jquery-colorbox.gemspec b/rails-assets-jquery-colorbox.gemspec
index 69991b5..03026d1 100644
--- a/rails-assets-jquery-colorbox.gemspec
+++ b/rails-assets-jquery-colorbox.gemspec
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
   spec.summary       = "jQuery lightbox and modal window plugin"
   spec.homepage      = "http://www.jacklmoore.com/colorbox"
 
-  spec.files         = ''
+  spec.files         = `find ./* -type f | cut -b 3-`.split($/)
   spec.require_paths = ["lib"]
 
   spec.add_dependency "rails-assets-jquery", ">= 1.3.2"

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



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