Add workaround for CLI-253

This commit is contained in:
Michal Srb 2015-06-23 14:06:24 +02:00
commit b85deacf20
2 changed files with 104 additions and 1 deletions

View file

@ -2,12 +2,14 @@
Name: apache-%{short_name}
Version: 1.3.1
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Command Line Interface Library for Java
Group: Development/Libraries
License: ASL 2.0
URL: http://commons.apache.org/cli/
Source0: http://www.apache.org/dist/commons/cli/source/%{short_name}-%{version}-src.tar.gz
# workaround for https://issues.apache.org/jira/browse/CLI-253
Patch0: CLI-253-workaround.patch
BuildArch: noarch
BuildRequires: java-devel >= 1:1.6.0
@ -33,6 +35,8 @@ This package contains the API documentation for %{name}.
%prep
%setup -q -n %{short_name}-%{version}-src
%patch0 -p1
# Compatibility links
%mvn_alias "%{short_name}:%{short_name}" "org.apache.commons:%{short_name}"
%mvn_file :commons-cli %{short_name} %{name}
@ -50,6 +54,9 @@ This package contains the API documentation for %{name}.
%doc LICENSE.txt NOTICE.txt
%changelog
* Tue Jun 23 2015 Michal Srb <msrb@redhat.com> - 1.3.1-2
- Add workaround for CLI-253
* Wed Jun 17 2015 Michal Srb <msrb@redhat.com> - 1.3.1-1
- Update to upstream version 1.3.1