[DRE-commits] [ruby-mini-magick] 01/03: ensure that version in the gemspec is correct (Closes: #781994)
Cédric Boutillier
boutil at moszumanska.debian.org
Wed Apr 29 21:52:57 UTC 2015
This is an automated email from the git hooks/post-receive script.
boutil pushed a commit to branch master
in repository ruby-mini-magick.
commit 3b9e60e0eeff824fd5dc998cb873c5a7991265b7
Author: Cédric Boutillier <boutil at debian.org>
Date: Wed Apr 29 23:19:14 2015 +0200
ensure that version in the gemspec is correct (Closes: #781994)
---
debian/patches/gemspec_loadpath.patch | 20 ++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 21 insertions(+)
diff --git a/debian/patches/gemspec_loadpath.patch b/debian/patches/gemspec_loadpath.patch
new file mode 100644
index 0000000..82e618f
--- /dev/null
+++ b/debian/patches/gemspec_loadpath.patch
@@ -0,0 +1,20 @@
+Description: use the library in lib/ to populate gemspecs fields
+ If we #push instead of #unshift lib/ to the $LOAD_PATH, and if another version
+ of ruby-mini-magick is installed, that version will have higher priority and
+ its version will appear in the gemspecs instead of the version of the package.
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=781994
+Bug: https://github.com/minimagick/minimagick/pull/303
+Author: Cédric Boutillier <boutil at debian.org>
+Forwarded: yes
+Applied-Upstream: commit:https://github.com/minimagick/minimagick/commit/6b73f7105c59f54a9820778b615f952c58e5981c
+Last-Update: 2015-04-29
+
+--- a/mini_magick.gemspec
++++ b/mini_magick.gemspec
+@@ -1,5 +1,5 @@
+ # -*- encoding: utf-8 -*-
+-$:.push File.expand_path('../lib', __FILE__)
++$:.unshift File.expand_path('../lib', __FILE__)
+
+ require 'mini_magick/version'
+
diff --git a/debian/patches/series b/debian/patches/series
index 6f446a5..0e781b0 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
remove-unsuported-rspec-features
remove-rubygems
remove-remote-tests
+gemspec_loadpath.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-mini-magick.git
More information about the Pkg-ruby-extras-commits
mailing list