From 5c943a26610e9fdd8c6a2438b4d2ad22fc35efb6 Mon Sep 17 00:00:00 2001 From: Michael Simacek Date: Dec 14 2016 10:59:25 +0000 Subject: Update to upstream version 1.60 --- diff --git a/.gitignore b/.gitignore index 3faec20..f534dc8 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /jcommander-1.56.tar.gz /1.57.tar.gz /1.58.tar.gz +/1.60.tar.gz diff --git a/beust-jcommander.pom b/beust-jcommander.pom new file mode 100644 index 0000000..a9d2a65 --- /dev/null +++ b/beust-jcommander.pom @@ -0,0 +1,277 @@ + + + + 4.0.0 + com.beust + jcommander + jar + JCommander + @VERSION@ + A Java framework to parse command line options with annotations. + http://beust.com/jcommander + + + The Apache Software License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + scm:git:git@github.com:cbeust/jcommander.git + scm:git:git@github.com:cbeust/jcommander.git + git@github.com:cbeust/jcommander.git + + + + + jcenter + bintray + http://jcenter.bintray.com + + + + + + + sonatype-nexus-staging + Nexus Staging Repository + https://oss.sonatype.org/service/local/staging/deploy/maven2/ + + + + + + Cedric Beust + + + + + org.sonatype.oss + oss-parent + 3 + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + 2.3.1 + + 1.7 + 1.7 + UTF-8 + + + + + + org.apache.maven.plugins + maven-resources-plugin + 2.4.1 + + UTF-8 + + + + + + org.apache.felix + maven-bundle-plugin + 2.1.0 + + + bundle-manifest + process-classes + + manifest + + + + <_versionpolicy>$(@) + + + + + + + + + org.apache.maven.plugins + maven-jar-plugin + 2.3.1 + + + ${project.build.outputDirectory}/META-INF/MANIFEST.MF + + + + + + + org.apache.maven.plugins + maven-surefire-plugin + 2.10 + + false + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.7 + + *.internal + + + + + + + + org.eclipse.m2e + lifecycle-mapping + 1.0.0 + + + + + + org.apache.felix + + maven-bundle-plugin + + + [2.1.0,) + + + manifest + + + + + + + + + + + + + + + + + org.testng + testng + 6.8.21 + jar + test + + + jcommander + com.beust + + + + + + + + + + license + + + + com.mycila.maven-license-plugin + maven-license-plugin + 1.7.0 + + false +
src/main/license/license-header.txt
+ + src/** + pom.xml + + + **/.git/** + + **/target/** + + false +
+ + + + check + + + +
+
+
+
+ + + + sign + + + + maven-gpg-plugin + 1.4 + + + sign-artifacts + verify + + sign + + + + + + + +
+ +
diff --git a/beust-jcommander.spec b/beust-jcommander.spec index ba05c6c..2f44a21 100644 --- a/beust-jcommander.spec +++ b/beust-jcommander.spec @@ -1,18 +1,17 @@ -%global short_name jcommander - -Name: beust-%{short_name} -Version: 1.58 -Release: 1%{?dist} -Summary: Java framework for parsing command line parameters -License: ASL 2.0 -URL: http://jcommander.org/ -BuildArch: noarch - -Source0: https://github.com/cbeust/%{short_name}/archive/%{version}.tar.gz +Name: beust-jcommander +Version: 1.60 +Release: 1%{?dist} +Summary: Java framework for parsing command line parameters +License: ASL 2.0 +URL: http://jcommander.org/ +BuildArch: noarch + +Source0: https://github.com/cbeust/jcommander/archive/%{version}.tar.gz +# Adapted from earlier version that still shipped poms. It uses kobalt for building now +Source1: %{name}.pom BuildRequires: maven-local BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) -BuildRequires: mvn(org.apache.maven.plugins:maven-source-plugin) BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:) BuildRequires: mvn(org.testng:testng) @@ -21,14 +20,17 @@ JCommander is a very small Java framework that makes it trivial to parse command line parameters (with annotations). %package javadoc -Summary: API documentation for %{name} +Summary: API documentation for %{name} %description javadoc This package contains the %{summary}. %prep -%setup -q -n %{short_name}-%{version} +%setup -q -n jcommander-%{version} + chmod -x license.txt +cp -p %SOURCE1 pom.xml +sed -i 's/@VERSION@/%{version}/g' pom.xml %build %mvn_file : %{name} @@ -44,6 +46,9 @@ chmod -x license.txt %doc license.txt notice.md %changelog +* Wed Dec 14 2016 Michael Simacek - 1.60-1 +- Update to upstream version 1.60 + * Tue Nov 01 2016 Roman Vais - 1.58-1 - Update to upstream version 1.58 diff --git a/sources b/sources index 1af8d9a..d9888ab 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -97c80c902cffaab2bc13d3cd3c3985c1 1.58.tar.gz +SHA512 (1.60.tar.gz) = c586efeed7c5bab357da8f06dbc70a8d5101d6d28e384dc21cf731f3552aeca003fd1c460c1bf9bed436a5be6b4d0a7d533a9fa09c438964901144b6ed744b29