[DRE-commits] [ruby-rack-oauth2] 01/02: fix gemspec as well
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Sat Oct 10 03:54:30 UTC 2015
This is an automated email from the git hooks/post-receive script.
praveen pushed a commit to branch master
in repository ruby-rack-oauth2.
commit bf8290f12b05a3b26f12220a231d406a9234a188
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date: Sat Oct 10 09:10:36 2015 +0530
fix gemspec as well
---
debian/changelog | 8 ++++++++
debian/patches/fix-gemspec.patch | 25 +++++++++++++++++++++++++
debian/patches/series | 1 +
debian/rules | 2 +-
4 files changed, 35 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index d6f4dae..6ff0cc9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+ruby-rack-oauth2 (1.2.0-3) UNRELEASED; urgency=medium
+
+ * Team upload
+ * Check gemspec dependencies on build
+ * Fix version in gemspec
+
+ -- Pirate Praveen <praveen at debian.org> Sat, 10 Oct 2015 09:09:46 +0530
+
ruby-rack-oauth2 (1.2.0-2) unstable; urgency=medium
* Team upload
diff --git a/debian/patches/fix-gemspec.patch b/debian/patches/fix-gemspec.patch
new file mode 100644
index 0000000..5ead7e3
--- /dev/null
+++ b/debian/patches/fix-gemspec.patch
@@ -0,0 +1,25 @@
+Index: ruby-rack-oauth2/rack-oauth2.gemspec
+===================================================================
+--- ruby-rack-oauth2.orig/rack-oauth2.gemspec
++++ ruby-rack-oauth2/rack-oauth2.gemspec
+@@ -1,6 +1,6 @@
+ Gem::Specification.new do |s|
+ s.name = "rack-oauth2"
+- s.version = File.read("VERSION")
++ s.version = File.read("lib/rack/oauth2/VERSION")
+ s.required_rubygems_version = Gem::Requirement.new(">= 1.3.6") if s.respond_to? :required_rubygems_version=
+ s.authors = ["nov matake"]
+ s.description = %q{OAuth 2.0 Server & Client Library. Both Bearer and MAC token type are supported.}
+@@ -11,9 +11,9 @@ Gem::Specification.new do |s|
+ s.homepage = "http://github.com/nov/rack-oauth2"
+ s.license = 'MIT'
+ s.require_paths = ["lib"]
+- s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
+- s.files = `git ls-files`.split("\n")
+- s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
++ s.executables = ''
++ s.files = ''
++ s.test_files = ''
+ s.add_runtime_dependency "rack", ">= 1.1"
+ s.add_runtime_dependency "multi_json", ">= 1.3.6"
+ s.add_runtime_dependency "httpclient", ">= 2.4"
diff --git a/debian/patches/series b/debian/patches/series
index 5711ac3..e38e534 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
simplecov
fix-version.patch
+fix-gemspec.patch
diff --git a/debian/rules b/debian/rules
index 16117bf..8240ceb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,7 +12,7 @@
#export DH_RUBY_GEMSPEC=gem.gemspec
#
# Uncomment to check dependencies during build:
-# export GEM2DEB_TEST_RUNNER = --check-dependencies
+export GEM2DEB_TEST_RUNNER = --check-dependencies
%:
dh $@ --buildsystem=ruby --with ruby
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-rack-oauth2.git
More information about the Pkg-ruby-extras-commits
mailing list