[packages/travis] skip version check

glen glen at pld-linux.org
Sun Dec 11 15:57:23 CET 2016


commit f658774696a910a88b82bb3a33d3364f3ce53dc1
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Dec 11 16:56:53 2016 +0200

    skip version check

 skip-version-check.patch | 10 ++++++++++
 travis.spec              |  2 ++
 2 files changed, 12 insertions(+)
---
diff --git a/travis.spec b/travis.spec
index a9aa252..fe094bf 100644
--- a/travis.spec
+++ b/travis.spec
@@ -11,6 +11,7 @@ Group:		Development/Building
 Source0:	http://rubygems.org/downloads/%{name}-%{version}.gem
 # Source0-md5:	f7a6eae3009bc6f7aacc47833fe3fc81
 Patch0:		assets.patch
+Patch1:		skip-version-check.patch
 URL:		https://github.com/travis-ci/travis.rb
 BuildRequires:	rpm-rubyprov
 BuildRequires:	rpmbuild(macros) >= 1.656
@@ -57,6 +58,7 @@ Ruby client library for Travis CI.
 %setup -q
 %{__sed} -i -e '1 s,#!.*ruby,#!%{__ruby},' bin/*
 %patch0 -p1
+%patch1 -p1
 
 %build
 # write .gemspec
diff --git a/skip-version-check.patch b/skip-version-check.patch
new file mode 100644
index 0000000..ad6e4de
--- /dev/null
+++ b/skip-version-check.patch
@@ -0,0 +1,10 @@
+--- travis-1.8.5/lib/travis/cli/command.rb~	2016-12-11 16:46:37.000000000 +0200
++++ travis-1.8.5/lib/travis/cli/command.rb	2016-12-11 16:50:11.536442978 +0200
+@@ -192,7 +192,6 @@
+         check_ruby
+         check_arity(method(:run), *arguments)
+         load_config
+-        check_version
+         check_completion
+         setup
+         run(*arguments)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/travis.git/commitdiff/f658774696a910a88b82bb3a33d3364f3ce53dc1



More information about the pld-cvs-commit mailing list