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 2021-12-17 23:54:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/apache-commons-cli (Old)
 and      /work/SRC/openSUSE:Factory/.apache-commons-cli.new.2520 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "apache-commons-cli"

Fri Dec 17 23:54:23 2021 rev:14 rq:940959 version:1.5.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/apache-commons-cli/apache-commons-cli.changes    
2021-02-15 23:18:38.743605991 +0100
+++ 
/work/SRC/openSUSE:Factory/.apache-commons-cli.new.2520/apache-commons-cli.changes
  2021-12-17 23:54:35.495533630 +0100
@@ -1,0 +2,46 @@
+Thu Dec 16 16:26:28 UTC 2021 - David Anes <david.a...@suse.com>
+
+- Rebased patch CLI-253-workaround.patch to new version.
+- Updated build XML file to new version.
+- Harmonized the use of X.Y.X strings everywhere.
+- Updated new source locations from Apache.
+- Added 'apache-commons-cli-rpmlintrc' to silence 'package-with-huge-docs' 
warning (Javadoc generates many files...)
+
+- Update to 1.5:
+  * New features:
+    - (CLI-217) Accommodate toggling partial matching in DefaultParser. Thanks 
to Rubin Simons.
+    - (CLI-274) Option parser type EXISTING_FILE_VALUE not check file existing 
Thanks to B??la Schaum.
+    - (CLI-271) CommandLine.getXXX and CommandLine.hasXXX should accept an 
Option as a parameter Thanks to Christoph L??ubrich.
+    - (CLI-276) Adjust access-modifier of checkRequiredOptions() to protected. 
Thanks to Jason Dillon.
+    - (CLI-282) TypeHandler should throw ParseException for an unsupported 
class. Thanks to Alex Nordlund.
+    - Added setter for Builder.option #33. Thanks to Waldemar Sojka, Gary 
Gregory.
+    - Add Option unit tests #76. Thanks to Waldemar Sojka, Gary Gregory.
+  *  Fixed bugs:
+    - Fix NPE in DefaultParser.isLongOption(String). Thanks to Gary Gregory.
+    - (CLI-279) @param or @return lines should end with a period in 
CommandLine.java Thanks to Krishna Mohan Rao Kandunoori.
+    - Replace deprecated FindBugs with SpotBugs. Thanks to Gary Gregory.
+    - Replace CLIRR with JApiCmp. Thanks to Gary Gregory.
+    - Option Javadocs grammar nits #55. Thanks to Elliotte Rusty Harold.
+    - Minor Improvements #57, #61. Thanks to Arturo Bernal, Gary Gregory.
+    - (CLI-254) Input "test" gets parsed as test, quotes die #58. Thanks to 
stoty.
+    - (CLI-287) Allow whitespace-only header and footer #26. Thanks to MrQubo, 
Gary Gregory.
+  * Updates:
+    - (CLI-294) Update Java from version 5 to 7.
+    - Docs: Replace OptionBuilder in usage page #30. Thanks to Mincong Huang.
+    - Remove deprecated sudo setting. #36. Thanks to dengliming.
+    - Bump junit:junit from 4.12 to 4.13.2, #53, #60. Thanks to Gary Gregory, 
Dependabot.
+    - Bump commons-parent from 48 to 52. Thanks to Dependabot.
+    - Bump maven-pmd-plugin from 3.12.0 to 3.15.0, #44, #54, #67. Thanks to 
Dependabot.
+    - Bump actions/checkout from v2.3.1 to v2.3.5 #46, #72. Thanks to 
Dependabot.
+    - Bump actions/setup-java from v1.4.2 to v2 #50. Thanks to Dependabot, 
Gary Gregory.
+    - Bump maven-antrun-plugin from 1.7 to 3.0.0 #43. Thanks to Dependabot.
+    - Bump maven-checkstyle-plugin from 2.15 to 3.1.2 #41. Thanks to Gary 
Gregory.
+    - Bump checkstyle to 9.0.1 #68. Thanks to Gary Gregory.
+    - Bump actions/cache from 2 to 2.1.6 #64, #65. Thanks to Dependabot.
+    - Bump commons.animal-sniffer.version 1.19 -> 1.20. Thanks to Gary Gregory.
+    - Bump maven-bundle-plugin 5.1.1 -> 5.1.2. Thanks to Gary Gregory.
+    - Bump biz.aQute.bndlib.version 5.1.2 -> 6.0.0. Thanks to Gary Gregory.
+    - Bump spotbugs from 4.4.1 to 4.4.2 #70. Thanks to Dependabot.
+    - Bump spotbugs-maven-plugin from 4.4.1 to 4.4.2.2 #71. Thanks to 
Dependabot.- 
+    
+-------------------------------------------------------------------

Old:
----
  commons-cli-1.4-src.tar.gz

New:
----
  apache-commons-cli-rpmlintrc
  commons-cli-1.5.0-src.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ apache-commons-cli.spec ++++++
--- /var/tmp/diff_new_pack.wXb5WW/_old  2021-12-17 23:54:36.175534193 +0100
+++ /var/tmp/diff_new_pack.wXb5WW/_new  2021-12-17 23:54:36.179534196 +0100
@@ -19,14 +19,15 @@
 %global base_name       cli
 %global short_name      commons-%{base_name}
 Name:           apache-commons-cli
-Version:        1.4
+Version:        1.5.0
 Release:        0
 Summary:        Command Line Interface Library for Java
 License:        Apache-2.0
 Group:          Development/Libraries/Java
-URL:            http://commons.apache.org/%{base_name}/
-Source0:        
http://www.apache.org/dist/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz
+URL:            https://commons.apache.org/%{base_name}/
+Source0:        
https://dlcdn.apache.org/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz
 Source1:        %{name}-build.xml
+Source2:        apache-commons-cli-rpmlintrc
 Patch0:         CLI-253-workaround.patch
 BuildRequires:  ant
 BuildRequires:  fdupes

++++++ CLI-253-workaround.patch ++++++
--- /var/tmp/diff_new_pack.wXb5WW/_old  2021-12-17 23:54:36.199534213 +0100
+++ /var/tmp/diff_new_pack.wXb5WW/_new  2021-12-17 23:54:36.203534216 +0100
@@ -6,14 +6,15 @@
 
     [CLI-253] Prevent "Unrecognized option: --null" when handling long opts in 
PosixParser
 
-diff --git a/src/main/java/org/apache/commons/cli/Options.java 
b/src/main/java/org/apache/commons/cli/Options.java
-index 0ee4eea..1c38194 100644
---- a/src/main/java/org/apache/commons/cli/Options.java
-+++ b/src/main/java/org/apache/commons/cli/Options.java
-@@ -224,6 +224,20 @@ public class Options implements Serializable
+Index: commons-cli-1.5.0-src/src/main/java/org/apache/commons/cli/Options.java
+===================================================================
+--- 
commons-cli-1.5.0-src.orig/src/main/java/org/apache/commons/cli/Options.java
++++ commons-cli-1.5.0-src/src/main/java/org/apache/commons/cli/Options.java
+@@ -186,6 +186,20 @@ public class Options implements Serializ
+         return this;
      }
  
-     /**
++    /*
 +     * Retrieve the {@link Option} matching the long name specified.
 +     * The leading hyphens in the name are ignored (up to 2).
 +     *
@@ -27,28 +28,26 @@
 +        return longOpts.get(opt);
 +    }
 +
-+    /**
-      * Returns the options with a long name starting with the name specified.
-      * 
-      * @param opt the partial name of the option
-diff --git a/src/main/java/org/apache/commons/cli/PosixParser.java 
b/src/main/java/org/apache/commons/cli/PosixParser.java
-index c13a65e..14d2936 100644
---- a/src/main/java/org/apache/commons/cli/PosixParser.java
-+++ b/src/main/java/org/apache/commons/cli/PosixParser.java
-@@ -131,7 +131,7 @@ public class PosixParser extends Parser
-                 }
-                 else
-                 {
+     /**
+      * Gets the options with a long name starting with the name specified.
+      *
+Index: 
commons-cli-1.5.0-src/src/main/java/org/apache/commons/cli/PosixParser.java
+===================================================================
+--- 
commons-cli-1.5.0-src.orig/src/main/java/org/apache/commons/cli/PosixParser.java
++++ commons-cli-1.5.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));
-                     
+ 
                      tokens.add("--" + currentOption.getLongOpt());
-                     if (pos != -1)
-diff --git a/src/test/java/org/apache/commons/cli/bug/BugCLI253Test.java 
b/src/test/java/org/apache/commons/cli/bug/BugCLI253Test.java
-new file mode 100644
-index 0000000..e37b7bc
+                     if (pos != -1) {
+Index: 
commons-cli-1.5.0-src/src/test/java/org/apache/commons/cli/bug/BugCLI253Test.java
+===================================================================
 --- /dev/null
-+++ b/src/test/java/org/apache/commons/cli/bug/BugCLI253Test.java
++++ 
commons-cli-1.5.0-src/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.wXb5WW/_old  2021-12-17 23:54:36.219534230 +0100
+++ /var/tmp/diff_new_pack.wXb5WW/_new  2021-12-17 23:54:36.223534233 +0100
@@ -6,7 +6,7 @@
   <!-- Build environment properties                                           
-->
   <!-- ====================================================================== 
-->
 
-  <property name="build.finalName" value="commons-cli-1.4"/>
+  <property name="build.finalName" value="commons-cli-1.5.0"/>
   <property name="build.dir" value="target"/>
   <property name="build.outputDir" value="${build.dir}/classes"/>
   <property name="build.srcDir" value="src/main/java"/>
@@ -43,10 +43,10 @@
            debug="true" 
            optimize="false" 
            deprecation="true" 
-           target="6" 
+           target="7" 
            verbose="false" 
            fork="false" 
-           source="6">
+           source="7">
       <src>
         <pathelement location="${build.srcDir}"/>
       </src>
@@ -85,10 +85,10 @@
              nonavbar="false" 
              serialwarn="false" 
              charset="ISO-8859-1" 
-             source="6" 
+             source="7" 
              linksource="true" 
              breakiterator="false">
-      <link href="http://java.sun.com/javase/6/docs/api/"/>
+      <link href="http://java.sun.com/javase/7/docs/api/"/>
     </javadoc>
   </target>
 
@@ -110,17 +110,17 @@
         <attribute name="Bundle-Name" value="Apache Commons CLI"/>
         <attribute name="Bundle-SymbolicName" value="org.apache.commons.cli"/>
         <attribute name="Bundle-Vendor" value="The Apache Software 
Foundation"/>
-        <attribute name="Bundle-Version" value="1.4.0"/>
-        <attribute name="Export-Package" 
value="org.apache.commons.cli;version=&quot;1.4&quot;"/>
+        <attribute name="Bundle-Version" value="1.5.0"/>
+        <attribute name="Export-Package" 
value="org.apache.commons.cli;version=&quot;1.5.0&quot;"/>
         <attribute name="Implementation-Title" value="Apache Commons CLI"/>
         <attribute name="Implementation-Vendor-Id" value="org.apache"/>
         <attribute name="Implementation-Vendor" value="The Apache Software 
Foundation"/>
-        <attribute name="Implementation-Version" value="1.4"/>
+        <attribute name="Implementation-Version" value="1.5.0"/>
         <attribute name="Include-Resource" 
value="META-INF/NOTICE.txt=NOTICE.txt,META-INF/LICENSE.txt=LICENSE.txt"/>
-        <attribute name="Require-Capability" 
value="osgi.ee;filter:=&quot;(&amp;(osgi.ee=JavaSE)(version=1.6))&quot;"/>
+        <attribute name="Require-Capability" 
value="osgi.ee;filter:=&quot;(&amp;(osgi.ee=JavaSE)(version=1.7))&quot;"/>
         <attribute name="Specification-Title" value="Apache Commons CLI"/>
         <attribute name="Specification-Vendor" value="The Apache Software 
Foundation"/>
-        <attribute name="Specification-Version" value="1.4"/>
+        <attribute name="Specification-Version" value="1.5.0"/>
       </manifest>
     </jar>
   </target>

++++++ apache-commons-cli-rpmlintrc ++++++
addFilter("apache-commons-cli-javadoc.noarch: W: package-with-huge-docs")
(No newline at EOF)

++++++ commons-cli-1.4-src.tar.gz -> commons-cli-1.5.0-src.tar.gz ++++++
++++ 20511 lines of diff (skipped)

Reply via email to