summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLucas Kanashiro <kanashiro@debian.org>2024-02-22 23:18:04 -0300
committergit-ubuntu importer <ubuntu-devel-discuss@lists.ubuntu.com>2024-02-23 10:36:18 +0000
commitb506ece262364baf1dc84e414220e43503ab164e (patch)
treeb3009c7eb264be2334aec3a0c0bddfc4d3b13abe
parent3b69a9b641460c40380615477b1f5ab63edc2e1b (diff)
Imported using git-ubuntu import.
Notes
Notes: * Team upload. [ Debian Janitor ] * Update standards version to 4.6.2, no changes needed. [ Lucas Kanashiro ] * d/p/0001-Fix-FTBFS-with-Ruby-3.2.patch: replace File.exists? with File.exist?
-rw-r--r--debian/changelog13
-rw-r--r--debian/control2
-rw-r--r--debian/patches/0001-Fix-FTBFS-with-Ruby-3.2.patch24
-rw-r--r--debian/patches/series1
4 files changed, 39 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index e914f75..9c98a3b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,16 @@
+ruby-cmdparse (3.0.7-2) unstable; urgency=medium
+
+ * Team upload.
+
+ [ Debian Janitor ]
+ * Update standards version to 4.6.2, no changes needed.
+
+ [ Lucas Kanashiro ]
+ * d/p/0001-Fix-FTBFS-with-Ruby-3.2.patch: replace File.exists? with
+ File.exist?
+
+ -- Lucas Kanashiro <kanashiro@debian.org> Thu, 22 Feb 2024 23:18:04 -0300
+
ruby-cmdparse (3.0.7-1) unstable; urgency=medium
* Team Upload
diff --git a/debian/control b/debian/control
index 3cef09f..1c2f8b5 100644
--- a/debian/control
+++ b/debian/control
@@ -6,7 +6,7 @@ Uploaders: Paul van Tilburg <paulvt@debian.org>,
Cédric Boutillier <boutil@debian.org>
Build-Depends: debhelper-compat (= 13),
gem2deb,
-Standards-Version: 4.5.1
+Standards-Version: 4.6.2
Vcs-Git: https://salsa.debian.org/ruby-team/ruby-cmdparse.git
Vcs-Browser: https://salsa.debian.org/ruby-team/ruby-cmdparse
Homepage: https://cmdparse.gettalong.org
diff --git a/debian/patches/0001-Fix-FTBFS-with-Ruby-3.2.patch b/debian/patches/0001-Fix-FTBFS-with-Ruby-3.2.patch
new file mode 100644
index 0000000..39f3238
--- /dev/null
+++ b/debian/patches/0001-Fix-FTBFS-with-Ruby-3.2.patch
@@ -0,0 +1,24 @@
+From: Lucas Kanashiro <kanashiro@ubuntu.com>
+Date: Thu, 22 Feb 2024 23:17:11 -0300
+Subject: Fix FTBFS with Ruby 3.2
+
+Replace File.exists? with File.exist?
+
+Forwarded: no
+---
+ example/net.rb | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/example/net.rb b/example/net.rb
+index 3ba75e0..15e42ff 100644
+--- a/example/net.rb
++++ b/example/net.rb
+@@ -76,7 +76,7 @@ end
+ ipaddr.add_command(list, default: true)
+
+
+-parser.data[:ipaddrs] = if File.exists?('dumpnet')
++parser.data[:ipaddrs] = if File.exist?('dumpnet')
+ Marshal.load(File.read('dumpnet', mode: 'rb'))
+ else
+ []
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..20048b6
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-Fix-FTBFS-with-Ruby-3.2.patch