File: 0005-Relax-getoptlong-version-requirement.patch

package info (click to toggle)
puppet-agent 8.10.0-6
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 27,404 kB
  • sloc: ruby: 286,820; sh: 492; xml: 116; makefile: 88; cs: 68
file content (22 lines) | stat: -rw-r--r-- 1,021 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Description: Relax getoptlong version requirement
Author: Jérôme Charaoui <jerome@riseup.net>
Date: Fri, 22 Nov 2024 10:40:39 -0500
Last-Update: Fri, 31 Jan 2025 08:43:36 -0500
Forwarded: not-needed

This patch can be dropped once Debian ships Ruby 3.2 by default, since it
includes the getoptlong 0.2.0 gem in the standard library.

Index: puppet-agent/puppet.gemspec
===================================================================
--- puppet-agent.orig/puppet.gemspec
+++ puppet-agent/puppet.gemspec
@@ -24,7 +24,7 @@ Gem::Specification.new do |spec|
   spec.add_runtime_dependency('deep_merge', '~> 1.0')
   spec.add_runtime_dependency('facter', ['>= 4.3.0', '< 5'])
   spec.add_runtime_dependency('fast_gettext', '>= 2.1', '< 4')
-  spec.add_runtime_dependency('getoptlong', '~> 0.2.0')
+  spec.add_runtime_dependency('getoptlong', '~> 0')
   spec.add_runtime_dependency('locale', '~> 2.1')
   spec.add_runtime_dependency('multi_json', '~> 1.13')
   spec.add_runtime_dependency('puppet-resource_api', '~> 1.5')