commit apache-commons-cli for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package apache-commons-cli for openSUSE:Factory checked in at 2024-08-14 14:14:45 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/apache-commons-cli (Old) and /work/SRC/openSUSE:Factory/.apache-commons-cli.new.7232 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "apache-commons-cli" Wed Aug 14 14:14:45 2024 rev:18 rq:1193659 version:1.8.0 Changes: -------- --- /work/SRC/openSUSE:Factory/apache-commons-cli/apache-commons-cli.changes 2024-05-03 01:24:01.349523910 +0200 +++ /work/SRC/openSUSE:Factory/.apache-commons-cli.new.7232/apache-commons-cli.changes 2024-08-14 14:15:17.457642739 +0200 @@ -1,0 +2,7 @@ +Mon Aug 12 12:14:19 UTC 2024 - Gus Kenion <gus.kenion@suse.com> + +- Update to 1.8.0 + * Fix Javadoc pathing #280. Fixes CLI-334. +- Revised CLI-253-workaround.patch for compatibility with 1.8.0 + +------------------------------------------------------------------- Old: ---- commons-cli-1.7.0-src.tar.gz New: ---- commons-cli-1.8.0-src.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ apache-commons-cli.spec ++++++ --- /var/tmp/diff_new_pack.snJbPt/_old 2024-08-14 14:15:18.029666651 +0200 +++ /var/tmp/diff_new_pack.snJbPt/_new 2024-08-14 14:15:18.029666651 +0200 @@ -19,7 +19,7 @@ %global base_name cli %global short_name commons-%{base_name} Name: apache-commons-cli -Version: 1.7.0 +Version: 1.8.0 Release: 0 Summary: Command Line Interface Library for Java License: Apache-2.0 ++++++ CLI-253-workaround.patch ++++++ --- /var/tmp/diff_new_pack.snJbPt/_old 2024-08-14 14:15:18.053667655 +0200 +++ /var/tmp/diff_new_pack.snJbPt/_new 2024-08-14 14:15:18.053667655 +0200 @@ -6,10 +6,8 @@ [CLI-253] Prevent "Unrecognized option: --null" when handling long opts in PosixParser -Index: commons-cli-1.7.0-src/src/main/java/org/apache/commons/cli/Options.java -=================================================================== ---- commons-cli-1.7.0-src.orig/src/main/java/org/apache/commons/cli/Options.java -+++ commons-cli-1.7.0-src/src/main/java/org/apache/commons/cli/Options.java +--- a/src/main/java/org/apache/commons/cli/Options.java ++++ b/src/main/java/org/apache/commons/cli/Options.java @@ -195,6 +195,20 @@ public class Options implements Serializ return this; } @@ -31,23 +29,19 @@ /** * Gets the options with a long name starting with the name specified. * -Index: commons-cli-1.7.0-src/src/main/java/org/apache/commons/cli/PosixParser.java -=================================================================== ---- commons-cli-1.7.0-src.orig/src/main/java/org/apache/commons/cli/PosixParser.java -+++ commons-cli-1.7.0-src/src/main/java/org/apache/commons/cli/PosixParser.java -@@ -145,7 +145,7 @@ public class PosixParser extends Parser - } else if (matchingOpts.size() > 1) { - throw new AmbiguousOptionException(opt, matchingOpts); - } else { -- currentOption = options.getOption(matchingOpts.get(0)); -+ currentOption = options.getLongOption(matchingOpts.get(0)); +--- a/src/main/java/org/apache/commons/cli/PosixParser.java ++++ b/src/main/java/org/apache/commons/cli/PosixParser.java +@@ -141,7 +141,7 @@ public class PosixParser extends Parser + } else if (matchingOpts.size() > 1) { + throw new AmbiguousOptionException(opt, matchingOpts); + } else { +- currentOption = options.getOption(matchingOpts.get(0)); ++ currentOption = options.getLongOption(matchingOpts.get(0)); - tokens.add("--" + currentOption.getLongOpt()); - if (pos != -1) { -Index: commons-cli-1.7.0-src/src/test/java/org/apache/commons/cli/bug/BugCLI253Test.java -=================================================================== + tokens.add("--" + currentOption.getLongOpt()); + if (pos != -1) { --- /dev/null -+++ commons-cli-1.7.0-src/src/test/java/org/apache/commons/cli/bug/BugCLI253Test.java ++++ b/src/test/java/org/apache/commons/cli/bug/BugCLI253Test.java @@ -0,0 +1,44 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more ++++++ apache-commons-cli-build.xml ++++++ --- /var/tmp/diff_new_pack.snJbPt/_old 2024-08-14 14:15:18.077668658 +0200 +++ /var/tmp/diff_new_pack.snJbPt/_new 2024-08-14 14:15:18.081668825 +0200 @@ -8,7 +8,7 @@ <property name="project.artifactId" value="commons-cli"/> <property name="project.groupId" value="commons-cli"/> - <property name="project.version" value="1.7.0"/> + <property name="project.version" value="1.8.0"/> <property name="compiler.release" value="8"/> <property name="compiler.source" value="1.${compiler.release}"/> ++++++ commons-cli-1.7.0-src.tar.gz -> commons-cli-1.8.0-src.tar.gz ++++++ ++++ 1840 lines of diff (skipped)
participants (1)
-
Source-Sync