2022-06-29 14:24:44 +00:00
|
|
|
Name: apache-commons-net
|
2023-07-19 12:01:13 +00:00
|
|
|
Version: 3.9.0
|
2023-09-01 13:58:22 +00:00
|
|
|
Release: 2%{?dist}
|
2010-05-19 09:22:19 +00:00
|
|
|
Summary: Internet protocol suite Java library
|
2023-07-19 12:03:13 +00:00
|
|
|
License: Apache-2.0
|
2023-07-19 12:01:13 +00:00
|
|
|
URL: https://commons.apache.org/net/
|
|
|
|
Source0: https://archive.apache.org/dist/commons/net/source/commons-net-%{version}-src.tar.gz
|
2010-05-19 09:22:19 +00:00
|
|
|
BuildArch: noarch
|
2022-05-12 20:33:24 +00:00
|
|
|
ExclusiveArch: %{java_arches} noarch
|
2012-06-19 09:25:06 +00:00
|
|
|
|
2013-02-07 08:42:55 +00:00
|
|
|
BuildRequires: maven-local
|
2015-11-27 05:59:49 +00:00
|
|
|
BuildRequires: mvn(org.apache.commons:commons-parent:pom:)
|
|
|
|
BuildRequires: mvn(org.apache.maven.plugins:maven-antrun-plugin)
|
|
|
|
BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin)
|
2023-07-19 12:01:13 +00:00
|
|
|
BuildRequires: mvn(org.junit.jupiter:junit-jupiter-api)
|
|
|
|
BuildRequires: mvn(org.junit.jupiter:junit-jupiter-engine)
|
|
|
|
BuildRequires: mvn(org.junit.vintage:junit-vintage-engine)
|
2012-06-19 09:25:06 +00:00
|
|
|
|
2010-05-19 09:22:19 +00:00
|
|
|
%description
|
|
|
|
This is an Internet protocol suite Java library originally developed by
|
|
|
|
ORO, Inc. This version supports Finger, Whois, TFTP, Telnet, POP3, FTP,
|
|
|
|
NNTP, SMTP, and some miscellaneous protocols like Time and Echo as well
|
|
|
|
as BSD R command support. The purpose of the library is to provide
|
|
|
|
fundamental protocol access, not higher-level abstractions.
|
|
|
|
|
|
|
|
%package javadoc
|
|
|
|
Summary: API documentation for %{name}
|
|
|
|
|
|
|
|
%description javadoc
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
%prep
|
2022-06-29 14:24:44 +00:00
|
|
|
%setup -q -n commons-net-%{version}-src
|
2010-05-19 09:22:19 +00:00
|
|
|
|
2013-06-05 12:16:58 +00:00
|
|
|
# This test fails with "Connection timed out"
|
|
|
|
rm src/test/java/org/apache/commons/net/time/TimeTCPClientTest.java
|
2015-08-04 11:40:40 +00:00
|
|
|
# Fails in Koji with "Address already in use"
|
|
|
|
rm src/test/java/org/apache/commons/net/tftp/TFTPServerPathTest.java
|
2010-05-19 09:22:19 +00:00
|
|
|
|
2020-09-30 10:15:12 +00:00
|
|
|
%pom_remove_plugin :exec-maven-plugin
|
|
|
|
|
2022-06-29 14:21:24 +00:00
|
|
|
%pom_remove_dep org.apache.ftpserver:ftpserver-core
|
2023-07-19 12:01:13 +00:00
|
|
|
rm \
|
|
|
|
src/test/java/org/apache/commons/net/ftp/FTPSClientTest.java \
|
|
|
|
src/test/java/org/apache/commons/net/ftp/AbstractFtpsTest.java \
|
|
|
|
src/test/java/org/apache/commons/net/ftp/NoProtocolSslConfigurationProxy.java \
|
2022-06-29 14:21:24 +00:00
|
|
|
|
2023-07-19 12:01:13 +00:00
|
|
|
%mvn_file : commons-net %{name}
|
2022-06-29 14:24:44 +00:00
|
|
|
%mvn_alias : org.apache.commons:commons-net
|
2010-05-19 09:22:19 +00:00
|
|
|
|
2013-06-05 12:16:58 +00:00
|
|
|
%build
|
2023-07-19 12:01:13 +00:00
|
|
|
%mvn_build -- -Dcommons.osgi.symbolicName=org.apache.commons.net
|
2010-05-19 09:22:19 +00:00
|
|
|
|
2013-01-16 09:11:55 +00:00
|
|
|
%install
|
|
|
|
%mvn_install
|
2010-05-19 09:22:19 +00:00
|
|
|
|
2013-01-16 09:11:55 +00:00
|
|
|
%files -f .mfiles
|
2016-05-05 06:41:09 +00:00
|
|
|
%doc README.md RELEASE-NOTES.txt
|
|
|
|
%license LICENSE.txt NOTICE.txt
|
2010-05-19 09:22:19 +00:00
|
|
|
|
2013-01-16 09:11:55 +00:00
|
|
|
%files javadoc -f .mfiles-javadoc
|
2016-05-05 06:41:09 +00:00
|
|
|
%license LICENSE.txt NOTICE.txt
|
2010-05-19 09:22:19 +00:00
|
|
|
|
|
|
|
%changelog
|
2023-09-01 13:58:22 +00:00
|
|
|
* Fri Sep 01 2023 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.9.0-2
|
|
|
|
- Rebuild
|
|
|
|
|
2023-07-19 12:01:13 +00:00
|
|
|
* Fri Aug 11 2023 Marian Koncek <mkoncek@redhat.com> - 3.9.0-1
|
|
|
|
- Update to upstream version 3.9.0
|
|
|
|
|
2023-07-19 13:30:04 +00:00
|
|
|
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.8.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
2023-01-18 21:55:24 +00:00
|
|
|
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.8.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
2022-06-29 14:21:24 +00:00
|
|
|
* Wed Sep 07 2022 Marian Koncek <mkoncek@redhat.com> - 3.8.0-1
|
|
|
|
- Update to upstream version 3.8.0
|
|
|
|
|
2022-07-20 21:00:47 +00:00
|
|
|
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.6-17
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2022-02-05 18:30:07 +00:00
|
|
|
* Sat Feb 05 2022 Jiri Vanek <jvanek@redhat.com> - 3.6-16
|
|
|
|
- Rebuilt for java-17-openjdk as system jdk
|
|
|
|
|
2022-01-19 21:25:53 +00:00
|
|
|
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.6-15
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2021-11-02 17:40:32 +00:00
|
|
|
* Tue Nov 02 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.6-14
|
|
|
|
- Set explicit Java compiler source/target levels to 1.7
|
|
|
|
|
2021-07-21 17:43:50 +00:00
|
|
|
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.6-13
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-07-10 11:50:43 +00:00
|
|
|
* Mon Jun 28 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.6-12
|
|
|
|
- Remove build-dependency on exec-maven-plugin
|
|
|
|
|
2021-01-26 00:15:30 +00:00
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.6-11
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-09-30 10:15:12 +00:00
|
|
|
* Wed Sep 30 2020 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.6-6
|
|
|
|
- Remove build-dependency on exec-maven-plugin
|
|
|
|
|
2020-07-27 12:11:54 +00:00
|
|
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.6-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-07-10 13:47:58 +00:00
|
|
|
* Fri Jul 10 2020 Jiri Vanek <jvanek@redhat.com> - 3.6-9
|
|
|
|
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
|
|
|
|
|
2020-01-28 11:46:43 +00:00
|
|
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.6-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-11-05 16:29:27 +00:00
|
|
|
* Tue Nov 05 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.6-5
|
|
|
|
- Mass rebuild for javapackages-tools 201902
|
|
|
|
|
2019-07-24 18:07:40 +00:00
|
|
|
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.6-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-05-24 15:00:20 +00:00
|
|
|
* Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.6-4
|
|
|
|
- Mass rebuild for javapackages-tools 201901
|
|
|
|
|
2019-02-07 18:51:02 +00:00
|
|
|
* Thu Feb 07 2019 Mat Booth <mat.booth@redhat.com> - 3.6-6
|
|
|
|
- Rebuild to regenerate OSGi metadata
|
|
|
|
|
2019-01-31 13:30:04 +00:00
|
|
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.6-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-07-12 20:20:40 +00:00
|
|
|
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.6-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-02-07 02:30:31 +00:00
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.6-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-07-26 03:00:57 +00:00
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.6-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-03-28 17:10:52 +00:00
|
|
|
* Tue Mar 28 2017 Michael Simacek <msimacek@redhat.com> - 3.6-1
|
|
|
|
- Update to upstream version 3.6
|
|
|
|
|
2017-02-10 06:05:26 +00:00
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.5-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-05-05 06:41:09 +00:00
|
|
|
* Thu May 5 2016 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.5-1
|
|
|
|
- Update to upstream version 3.5
|
|
|
|
|
2016-02-03 16:18:42 +00:00
|
|
|
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.4-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2016-01-04 10:55:02 +00:00
|
|
|
* Mon Jan 4 2016 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.4-2
|
|
|
|
- Add workaround for suprious test failure (NET-586)
|
|
|
|
|
2015-11-27 05:59:49 +00:00
|
|
|
* Fri Nov 27 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.4-1
|
|
|
|
- Update to upstream version 3.4
|
|
|
|
|
2015-08-04 11:40:40 +00:00
|
|
|
* Tue Aug 04 2015 Michael Simacek <msimacek@redhat.com> - 3.3-7
|
|
|
|
- Disable failing test
|
|
|
|
|
2015-06-17 00:04:32 +00:00
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.3-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2014-10-14 07:03:21 +00:00
|
|
|
* Tue Oct 14 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.3-5
|
|
|
|
- Remove legacy Obsoletes/Provides for jakarta-commons
|
|
|
|
|
2014-06-07 00:59:37 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.3-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-03-04 08:05:34 +00:00
|
|
|
* Tue Mar 04 2014 Stanislav Ochotnicky <sochotnicky@redhat.com> - 3.3-3
|
|
|
|
- Use Requires: java-headless rebuild (#1067528)
|
|
|
|
|
2013-08-03 01:21:21 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.3-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-06-12 07:36:38 +00:00
|
|
|
* Wed Jun 12 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.3-1
|
|
|
|
- Update to upstream version 3.3
|
|
|
|
|
2013-06-05 12:16:58 +00:00
|
|
|
* Wed Jun 05 2013 Michal Srb <msrb@redhat.com> - 3.2-5
|
|
|
|
- Enable tests
|
|
|
|
- Install README, RELEASE-NOTES.txt files
|
|
|
|
- Fix BR
|
|
|
|
|
2013-02-13 16:47:11 +00:00
|
|
|
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2013-02-06 18:32:24 +00:00
|
|
|
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 3.2-3
|
|
|
|
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
|
|
|
|
- Replace maven BuildRequires with maven-local
|
|
|
|
|
2013-01-16 09:11:55 +00:00
|
|
|
* Wed Jan 16 2013 Michal Srb <msrb@redhat.com> - 3.2-2
|
|
|
|
- Build with xmvn
|
|
|
|
|
2012-12-03 11:10:32 +00:00
|
|
|
* Mon Dec 3 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.2-1
|
|
|
|
- Update to upstream version 3.2
|
|
|
|
|
2012-07-18 16:17:55 +00:00
|
|
|
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-06-19 09:15:40 +00:00
|
|
|
* Tue Jun 19 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.1-1
|
|
|
|
- Update to upstream 3.1
|
2012-06-19 09:25:06 +00:00
|
|
|
- Remove RPM bug workaround
|
2012-06-19 09:27:56 +00:00
|
|
|
- Remove BR on maven-changes-plugin
|
2012-06-19 09:15:40 +00:00
|
|
|
|
2012-01-12 21:36:40 +00:00
|
|
|
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-11-24 15:20:42 +00:00
|
|
|
* Thu Nov 24 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.2-3
|
|
|
|
- Use maven 3 to build
|
|
|
|
- Packaging fixes according to latest guidelines
|
|
|
|
|
2011-02-09 18:08:21 +00:00
|
|
|
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2010-12-10 15:33:04 +00:00
|
|
|
* Fri Dec 10 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.2-1
|
|
|
|
- Replace maven plugins with apache-commons-parent for BR
|
|
|
|
- Versionless jars and javadocs
|
|
|
|
- Rebase to latest upstream version
|
|
|
|
|
2010-07-08 14:02:55 +00:00
|
|
|
* Thu Jul 8 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.0-6
|
|
|
|
- Add license to javadoc subpackage
|
|
|
|
|
2010-05-20 14:21:01 +00:00
|
|
|
* Thu May 20 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.0-5
|
|
|
|
- Fix maven depmap JPP name to short_name
|
|
|
|
|
2010-05-19 09:57:21 +00:00
|
|
|
* Wed May 19 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.0-4
|
|
|
|
- Ignore test failure
|
|
|
|
|
2010-05-19 09:22:19 +00:00
|
|
|
* Wed May 12 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.0-3
|
|
|
|
- Rename jakarta-commons-net to apache-commons-net and drop EPOCH
|
|
|
|
- Build with maven
|
|
|
|
- Clean up whole spec
|
|
|
|
|
|
|
|
* Thu Aug 13 2009 Alexander Kurtakov <akurtako@redhat.com> 0:2.0-2
|
|
|
|
- Set maven.repo.local.
|
|
|
|
|
|
|
|
* Thu Aug 13 2009 Alexander Kurtakov <akurtako@redhat.com> 0:2.0-1
|
|
|
|
- Update to upstream 2.0.
|