From bcf819cb6cc9a81d67f254850fae00f74c308958 Mon Sep 17 00:00:00 2001 From: Unit 193 Date: Wed, 20 Nov 2019 17:27:41 -0500 Subject: d/control, d/p/allow-newer-rubyzip.patch: Drop upper constraint on rubyzip. --- debian/control | 2 -- debian/patches/allow-newer-rubyzip.patch | 14 ++++++++++++++ debian/patches/series | 1 + 3 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 debian/patches/allow-newer-rubyzip.patch create mode 100644 debian/patches/series diff --git a/debian/control b/debian/control index a01fd7e..d577244 100644 --- a/debian/control +++ b/debian/control @@ -8,7 +8,6 @@ Build-Depends: debhelper-compat (= 12), ruby-nokogiri (>= 1), ruby-rspec, ruby-simplecov, - ruby-zip (<< 2.0.0), ruby-zip (>= 1.1) Rules-Requires-Root: no Standards-Version: 4.3.0 @@ -21,7 +20,6 @@ Architecture: all XB-Ruby-Versions: ${ruby:Versions} Depends: ruby | ruby-interpreter, ruby-nokogiri (>= 1), - ruby-zip (<< 2.0.0), ruby-zip (>= 1.1), ${misc:Depends} Description: can access the contents of various spreadsheet files diff --git a/debian/patches/allow-newer-rubyzip.patch b/debian/patches/allow-newer-rubyzip.patch new file mode 100644 index 0000000..72313dc --- /dev/null +++ b/debian/patches/allow-newer-rubyzip.patch @@ -0,0 +1,14 @@ +Description: Allow newer versions of ruby-zip +Author: Unit 193 + +--- ruby-roo-2.8.2.orig/roo.gemspec ++++ ruby-roo-2.8.2/roo.gemspec +@@ -20,7 +20,7 @@ Gem::Specification.new do |spec| + spec.required_ruby_version = ">= 2.3.0" + + spec.add_dependency 'nokogiri', '~> 1' +- spec.add_dependency 'rubyzip', '>= 1.2.1', '< 2.0.0' ++ spec.add_dependency 'rubyzip', '>= 1.2.1' + + spec.add_development_dependency 'rake', '~> 10.1' + spec.add_development_dependency 'minitest', '~> 5.4', '>= 5.4.3' diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..374ada5 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +allow-newer-rubyzip.patch -- cgit v1.2.3