2021-05-17 16:01:40 +00:00
|
|
|
%bcond_with bootstrap
|
2021-04-16 13:33:12 +00:00
|
|
|
|
2018-01-29 07:55:31 +00:00
|
|
|
Name: apache-commons-cli
|
|
|
|
Version: 1.4
|
2021-07-21 17:41:48 +00:00
|
|
|
Release: 14%{?dist}
|
2018-01-29 07:55:31 +00:00
|
|
|
Summary: Command Line Interface Library for Java
|
|
|
|
License: ASL 2.0
|
|
|
|
URL: http://commons.apache.org/cli/
|
|
|
|
BuildArch: noarch
|
2010-10-19 15:41:55 +00:00
|
|
|
|
2018-01-29 07:55:31 +00:00
|
|
|
Source0: http://www.apache.org/dist/commons/cli/source/commons-cli-%{version}-src.tar.gz
|
2016-06-15 11:18:45 +00:00
|
|
|
|
2015-06-23 12:06:24 +00:00
|
|
|
# workaround for https://issues.apache.org/jira/browse/CLI-253
|
2018-01-29 07:55:31 +00:00
|
|
|
Patch0: CLI-253-workaround.patch
|
2010-10-19 15:41:55 +00:00
|
|
|
|
2020-01-25 13:40:08 +00:00
|
|
|
BuildRequires: maven-local-openjdk8
|
2021-04-16 13:33:12 +00:00
|
|
|
%if %{with bootstrap}
|
|
|
|
BuildRequires: javapackages-bootstrap
|
|
|
|
%else
|
2016-06-15 11:18:45 +00:00
|
|
|
BuildRequires: mvn(junit:junit)
|
|
|
|
BuildRequires: mvn(org.apache.commons:commons-parent:pom:)
|
|
|
|
BuildRequires: mvn(org.apache.maven.plugins:maven-antrun-plugin)
|
2021-04-16 13:33:12 +00:00
|
|
|
%endif
|
2010-10-19 15:41:55 +00:00
|
|
|
|
|
|
|
%description
|
2017-04-11 17:06:19 +00:00
|
|
|
The CLI library provides a simple and easy to use API for working with the
|
2010-10-19 15:41:55 +00:00
|
|
|
command line arguments and options.
|
|
|
|
|
2018-01-29 07:55:31 +00:00
|
|
|
%{?javadoc_package}
|
2010-10-19 15:41:55 +00:00
|
|
|
|
|
|
|
%prep
|
2018-01-29 07:55:31 +00:00
|
|
|
%autosetup -p1 -n commons-cli-%{version}-src
|
2015-06-23 12:06:24 +00:00
|
|
|
|
2013-08-05 10:20:49 +00:00
|
|
|
# Compatibility links
|
2018-01-29 07:55:31 +00:00
|
|
|
%mvn_alias : org.apache.commons:commons-cli
|
|
|
|
%mvn_file : commons-cli %{name}
|
2013-08-05 10:20:49 +00:00
|
|
|
|
2010-10-19 15:41:55 +00:00
|
|
|
%build
|
2020-06-24 20:06:02 +00:00
|
|
|
%mvn_build -- -Dmaven.compiler.source=1.6 -Dmaven.compiler.target=1.6
|
2010-10-19 15:41:55 +00:00
|
|
|
|
|
|
|
%install
|
2013-08-05 10:20:49 +00:00
|
|
|
%mvn_install
|
2010-11-09 08:37:01 +00:00
|
|
|
|
2013-08-05 10:20:49 +00:00
|
|
|
%files -f .mfiles
|
2018-01-29 07:55:31 +00:00
|
|
|
%license LICENSE.txt NOTICE.txt
|
|
|
|
%doc README.md RELEASE-NOTES.txt
|
2010-10-19 15:41:55 +00:00
|
|
|
|
|
|
|
%changelog
|
2021-07-21 17:41:48 +00:00
|
|
|
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-14
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-05-17 13:49:24 +00:00
|
|
|
* Mon May 17 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.4-13
|
|
|
|
- Bootstrap build
|
2021-05-17 16:01:40 +00:00
|
|
|
- Non-bootstrap build
|
2021-05-17 13:49:24 +00:00
|
|
|
|
2021-01-26 00:13:04 +00:00
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-12
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-07-27 12:09:09 +00:00
|
|
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-11
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-07-10 12:43:50 +00:00
|
|
|
* Fri Jul 10 2020 Jiri Vanek <jvanek@redhat.com> - 1.4-10
|
|
|
|
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
|
|
|
|
|
2020-06-24 20:06:02 +00:00
|
|
|
* Wed Jun 24 2020 Alexander Kurtakov <akurtako@redhat.com> 1.4-9
|
|
|
|
- Fix build with Java 11
|
|
|
|
|
2020-01-28 11:42:23 +00:00
|
|
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2020-01-25 13:40:08 +00:00
|
|
|
* Sat Jan 25 2020 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.4-7
|
|
|
|
- Build with OpenJDK 8
|
|
|
|
|
2019-11-05 16:29:27 +00:00
|
|
|
* Tue Nov 05 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.4-6
|
|
|
|
- Mass rebuild for javapackages-tools 201902
|
|
|
|
|
2019-07-24 18:01:14 +00:00
|
|
|
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-05-24 15:00:15 +00:00
|
|
|
* Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.4-5
|
|
|
|
- Mass rebuild for javapackages-tools 201901
|
|
|
|
|
2019-01-31 13:25:25 +00:00
|
|
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-07-12 20:17:41 +00:00
|
|
|
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-02-07 02:24:39 +00:00
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2018-01-29 07:55:31 +00:00
|
|
|
* Mon Jan 29 2018 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.4-3
|
|
|
|
- Cleanup spec file
|
|
|
|
|
2017-07-26 02:57:14 +00:00
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-04-11 17:06:19 +00:00
|
|
|
* Tue Apr 11 2017 Michael Simacek <msimacek@redhat.com> - 1.4-1
|
|
|
|
- Update to upstream version 1.4
|
|
|
|
|
2017-02-10 06:02:41 +00:00
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2017-02-01 12:57:25 +00:00
|
|
|
* Wed Feb 01 2017 Michael Simacek <msimacek@redhat.com> - 1.3.1-5
|
|
|
|
- Remove BR on jacoco
|
|
|
|
|
2016-06-15 11:18:45 +00:00
|
|
|
* Wed Jun 15 2016 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.3.1-4
|
|
|
|
- Regenerate build-requires
|
|
|
|
|
2016-02-03 16:15:41 +00:00
|
|
|
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-06-23 12:06:24 +00:00
|
|
|
* Tue Jun 23 2015 Michal Srb <msrb@redhat.com> - 1.3.1-2
|
|
|
|
- Add workaround for CLI-253
|
|
|
|
|
2015-06-17 21:38:14 +00:00
|
|
|
* Wed Jun 17 2015 Michal Srb <msrb@redhat.com> - 1.3.1-1
|
|
|
|
- Update to upstream version 1.3.1
|
|
|
|
|
2015-06-17 00:00:21 +00:00
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-06-03 08:23:32 +00:00
|
|
|
* Wed Jun 3 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.3-1
|
|
|
|
- Update to upstream version 1.3
|
|
|
|
|
2014-06-07 00:51:17 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-13
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-03-04 08:05:18 +00:00
|
|
|
* Tue Mar 04 2014 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.2-12
|
|
|
|
- Use Requires: java-headless rebuild (#1067528)
|
|
|
|
|
2013-08-05 10:20:49 +00:00
|
|
|
* Mon Aug 05 2013 Mat Booth <fedora@matbooth.co.uk> - 1.2-11
|
|
|
|
- Update for newer guidelines
|
|
|
|
- Drop ancient obsoletes/provides on old jakarta name
|
|
|
|
|
2013-08-03 00:57:34 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-02-19 13:43:26 +00:00
|
|
|
* Tue Feb 19 2013 Mat Booth <fedora@matbooth.co.uk> - 1.2-9
|
|
|
|
- Add missing maven-local BuildRequires
|
|
|
|
|
2013-02-13 16:41:09 +00:00
|
|
|
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-07-18 16:10:40 +00:00
|
|
|
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-01-12 21:20:54 +00:00
|
|
|
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-11-30 11:40:41 +00:00
|
|
|
* Wed Nov 30 2011 Alexander Kurtakov <akurtako@redhat.com> 1.2-5
|
|
|
|
- Build with maven 3.
|
|
|
|
- Adapt to current guidelines.
|
|
|
|
|
2011-02-08 01:23:59 +00:00
|
|
|
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2010-11-09 08:37:01 +00:00
|
|
|
* Tue Nov 9 2010 Chris Spike <chris.spike@arcor.de> 1.2-3
|
|
|
|
- Removed maven* BRs in favour of apache-commons-parent
|
|
|
|
- Added deprecated groupId to depmap for compatibility reasons
|
|
|
|
|
2010-10-19 15:41:55 +00:00
|
|
|
* Mon Oct 18 2010 Chris Spike <chris.spike@arcor.de> 1.2-2
|
|
|
|
- Removed Epoch
|
|
|
|
|
|
|
|
* Sun Oct 3 2010 Chris Spike <chris.spike@arcor.de> 1.2-1
|
|
|
|
- Rename and rebase from jakarta-commons-cli
|