[DRE-commits] [ruby-paint] 02/04: Add gemspec to shipped files
Lucas Moura
lucasmoura-guest at moszumanska.debian.org
Thu Jul 14 19:45:41 UTC 2016
This is an automated email from the git hooks/post-receive script.
lucasmoura-guest pushed a commit to branch master
in repository ruby-paint.
commit 99103aa5ce84ca89cc32f11fc6101571cdfaa20d
Author: Lucas Albuquerque Medeiros de Moura <lucas.moura128 at gmail.com>
Date: Thu Jul 14 16:39:38 2016 -0300
Add gemspec to shipped files
---
debian/changelog | 1 +
debian/patches/fix_gem_import.patch | 22 ++++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 24 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 47300b3..095a992 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ ruby-paint (0.8.6-2) UNRELEASED; urgency=medium
* Team upload.
* Add patch to fix test execution during autopkgtest
+ * Add gemspec to shipped files (Closes: #830918)
-- Lucas Albuquerque Medeiros de Moura <lucas.moura128 at gmail.com> Thu, 14 Jul 2016 16:13:39 -0300
diff --git a/debian/patches/fix_gem_import.patch b/debian/patches/fix_gem_import.patch
new file mode 100644
index 0000000..3a6af24
--- /dev/null
+++ b/debian/patches/fix_gem_import.patch
@@ -0,0 +1,22 @@
+Description: Fix gem import
+ The gemspec was being removed from the installed files, which would not allow
+ the gem import to work. Therefore, this patch just add this file back.
+
+Author: Lucas Albuquerque Medeiros de Moura <lucas.moura128 at gmail.com>
+Last-updated: 2016-07-14
+Forwarded: not-needed
+Bug: not-needed
+
+Index: ruby-paint/paint.gemspec
+===================================================================
+--- ruby-paint.orig/paint.gemspec
++++ ruby-paint/paint.gemspec
+@@ -11,7 +11,7 @@ Gem::Specification.new do |s|
+ s.summary = "Terminal painter!"
+ s.description = "Terminal painter / no string extensions / 256 color support / effect support / define custom shortcuts / basic usage: Paint['string', :red, :bright]"
+ s.required_ruby_version = '>= 1.8.7'
+- s.files = Dir.glob(%w[{lib,test,spec}/**/*.rb bin/* [A-Z]*.{txt,rdoc} ext/**/*.{rb,c}]) + %w{Rakefile paint.gemspec .gemtest}
++ s.files = Dir.glob(%w[{lib,test,spec}/**/*.rb bin/* [A-Z]*.{txt,rdoc} ext/**/*.{rb,c}]) + %w{Rakefile .gemtest}
+ s.extra_rdoc_files = ["README.rdoc", "LICENSE.txt"]
+ s.license = 'MIT'
+ s.add_development_dependency 'rspec'
diff --git a/debian/patches/series b/debian/patches/series
index c0df8af..4d7eb66 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
fix_autopkg_test.patch
+fix_gem_import.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-paint.git
More information about the Pkg-ruby-extras-commits
mailing list