Update to upstream version 1.5.0

This commit is contained in:
spike 2021-11-04 11:18:13 +01:00
commit 6fa7552d27
4 changed files with 9 additions and 105 deletions

View file

@ -1,8 +1,8 @@
%bcond_with bootstrap
Name: apache-commons-cli
Version: 1.4
Release: 14%{?dist}
Version: 1.5.0
Release: 1%{?dist}
Summary: Command Line Interface Library for Java
License: ASL 2.0
URL: http://commons.apache.org/cli/
@ -10,16 +10,12 @@ BuildArch: noarch
Source0: http://www.apache.org/dist/commons/cli/source/commons-cli-%{version}-src.tar.gz
# workaround for https://issues.apache.org/jira/browse/CLI-253
Patch0: CLI-253-workaround.patch
BuildRequires: maven-local-openjdk8
BuildRequires: maven-local
%if %{with bootstrap}
BuildRequires: javapackages-bootstrap
%else
BuildRequires: mvn(junit:junit)
BuildRequires: mvn(org.apache.commons:commons-parent:pom:)
BuildRequires: mvn(org.apache.maven.plugins:maven-antrun-plugin)
%endif
%description
@ -36,7 +32,7 @@ command line arguments and options.
%mvn_file : commons-cli %{name}
%build
%mvn_build -- -Dmaven.compiler.source=1.6 -Dmaven.compiler.target=1.6
%mvn_build
%install
%mvn_install
@ -46,6 +42,9 @@ command line arguments and options.
%doc README.md RELEASE-NOTES.txt
%changelog
* Thu Nov 4 2021 Christian Schuermann <spike@fedoraproject.org> 1.5.0-1
- Update to upstream version 1.5.0
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild