Accepting request 1084293 from Java:packages

1.82

OBS-URL: https://build.opensuse.org/request/show/1084293
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/beust-jcommander?expand=0&rev=3
This commit is contained in:
Dominique Leuenberger 2023-05-04 15:10:04 +00:00 committed by Git OBS Bridge
commit ba0ba7fd8d
6 changed files with 93 additions and 14 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9d729430c80daf3803dffd9b6bec61a3b371015ba70d3eda60121baf2613b3b8
size 4406613

19
_service Normal file
View File

@ -0,0 +1,19 @@
<services>
<service name="tar_scm" mode="disabled">
<param name="scm">git</param>
<param name="url">https://github.com/cbeust/jcommander.git</param>
<param name="revision">1.82</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="exclude">**.jar</param>
<param name="exclude">**.class</param>
<param name="exclude">gradle*</param>
<param name="exclude">cobalt*</param>
<param name="exclude">lib</param>
<param name="exclude">.git</param>
</service>
<service name="recompress" mode="disabled">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
<service name="set_version" mode="disabled"/>
</services>

View File

@ -20,11 +20,11 @@
<property name="build.finalName" value="${project.artifactId}-${project.version}"/>
<property name="build.dir" value="target"/>
<property name="build.outputDir" value="${build.dir}/classes"/>
<property name="build.srcDir.0" value="src/main/java"/>
<property name="build.resourceDir.0" value="src/main/resources"/>
<property name="build.srcDir" value="src/main/java"/>
<property name="build.resourceDir" value="src/main/resources"/>
<property name="compiler.source" value="1.7"/>
<property name="compiler.target" value="1.7"/>
<property name="compiler.source" value="1.8"/>
<property name="compiler.target" value="${compiler.source}"/>
<property name="reporting.outputDirectory" value="${build.dir}/site"/>
@ -53,7 +53,7 @@
fork="false"
source="${compiler.source}">
<src>
<pathelement location="${build.srcDir.0}"/>
<pathelement location="${build.srcDir}"/>
</src>
</javac>
</target>
@ -63,7 +63,7 @@
<!-- ====================================================================== -->
<target name="javadoc" description="Generates the Javadoc of the application">
<javadoc sourcepath="${build.srcDir.0}"
<javadoc sourcepath="${build.srcDir}"
packagenames="*"
destdir="${reporting.outputDirectory}/apidocs"
access="protected"

View File

@ -1,3 +1,64 @@
-------------------------------------------------------------------
Wed May 3 09:07:55 UTC 2023 - Fridrich Strba <fstrba@suse.com>
- Update to version 1.82
* Fixes:
+ #392: fixed bug when parsing arguments is ignoring case
sensitivity option
+ Add a test for Parameter order usage
+ add a test for Path converter
+ Add automatic module name to manifest
+ Add check if Boolean parameter is default null, then do not
flip value
+ Added testing modules
+ Add format tests for DefaultUsageFormatter,
UnixStyleUsageFormatter
+ add Path converter change #414 to changelog
+ Add test case for issue 367
+ Add testing for UnixStyleUsageFormatter
+ Add unix-style formatter, allow DefaultUsageFormatter to be
extended easier
+ Allow generics of type <? extends X> and <? super Y> in
parameters
+ Allow main parameters to be a single field.
+ allow System.out to be replaced by something else (f.e.
System.err)
+ Allow UsageFormatter to be set in JCommander Builder
+ Change UsageFormatter into an interface
+ Clean up DefaultUsageFormatter
+ Create MyDelegate.java
+ Create UsageFormatter (preliminary)
+ Enable usage() ordering for DynamicParameter
+ Encapsulate MainParameter.
+ encode user input to massage error message
+ Expose more of the UsageFormatter implementations
+ Fields annotated with @ParametersDelegate are now allowed to
be final.
+ FIX #380 Main parameter doesn't support Converter
+ Fix error message when failing to convert a Path
+ Fixing: squid:ModifiersOrderCheck and squid:S2444
+ Fix locale-related issues in usage formatter tests
+ Get boolean/Boolean getter with "is" prefix
+ GH-477 Environment Variable Default Provider
+ make console configurable by JCommander.Builder
+ Make UsageFormatter abstract, Create DefaultUsageFormatter
+ Only one DefaultConverterFactory
+ Remove String.join usage - resolves #381
+ Remove the generic in IStringConverterFactory
+ Restrict access to JCommander.Options again
+ Support arity for main parameters.
+ Update DefaultParameterizedParser.java
+ Update IParameterizedParser.java
+ Update JCommander.java
+ usage() hides 'Comments:' header when only hidden commands
exist
+ Use Builder API as constructor is deprecated
+ Use get<fieldname> default getter approach if is<fieldname>
method is not found
* Upgrade needed by new code in xmvn 4.2.0
- Fetch sources using source service and clean the tarball of
unnecessary binary files
-------------------------------------------------------------------
Mon Apr 8 18:11:28 UTC 2019 - Fridrich Strba <fstrba@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package beust
# spec file
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -18,13 +18,13 @@
%global short_name jcommander
Name: beust-%{short_name}
Version: 1.71
Version: 1.82
Release: 0
Summary: Java framework for parsing command line parameters
License: Apache-2.0
Group: Development/Libraries/Java
URL: http://jcommander.org/
Source0: https://github.com/cbeust/%{short_name}/archive/%{version}.tar.gz
Source0: %{short_name}-%{version}.tar.xz
# Adapted from earlier version that still shipped poms. It uses kobalt for building now
Source1: %{name}.pom
Source2: %{name}-build.xml
@ -51,7 +51,6 @@ This package contains the %{summary}.
%prep
%setup -q -n %{short_name}-%{version}
rm -rf gradle* kobalt* lib
%patch0 -p1
chmod -x license.txt

BIN
jcommander-1.82.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.