|
|
@ -1,20 +1,23 @@
|
|
|
|
Name: apache-commons-net
|
|
|
|
|
|
|
|
Version: 3.10.0
|
|
|
|
%global base_name net
|
|
|
|
Release: 6%{?dist}
|
|
|
|
%global short_name commons-%{base_name}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: apache-%{short_name}
|
|
|
|
|
|
|
|
Version: 3.6
|
|
|
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
Summary: Internet protocol suite Java library
|
|
|
|
Summary: Internet protocol suite Java library
|
|
|
|
License: Apache-2.0
|
|
|
|
License: ASL 2.0
|
|
|
|
URL: https://commons.apache.org/net/
|
|
|
|
URL: http://commons.apache.org/%{base_name}/
|
|
|
|
Source0: https://archive.apache.org/dist/commons/net/source/commons-net-%{version}-src.tar.gz
|
|
|
|
Source0: http://archive.apache.org/dist/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
ExclusiveArch: %{java_arches} noarch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: maven-local
|
|
|
|
BuildRequires: maven-local
|
|
|
|
|
|
|
|
BuildRequires: mvn(junit:junit)
|
|
|
|
BuildRequires: mvn(org.apache.commons:commons-parent:pom:)
|
|
|
|
BuildRequires: mvn(org.apache.commons:commons-parent:pom:)
|
|
|
|
BuildRequires: mvn(org.apache.maven.plugins:maven-antrun-plugin)
|
|
|
|
BuildRequires: mvn(org.apache.maven.plugins:maven-antrun-plugin)
|
|
|
|
BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin)
|
|
|
|
BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin)
|
|
|
|
BuildRequires: mvn(org.junit.jupiter:junit-jupiter-api)
|
|
|
|
BuildRequires: mvn(org.codehaus.mojo:exec-maven-plugin)
|
|
|
|
BuildRequires: mvn(org.junit.jupiter:junit-jupiter-engine)
|
|
|
|
|
|
|
|
BuildRequires: mvn(org.junit.vintage:junit-vintage-engine)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
This is an Internet protocol suite Java library originally developed by
|
|
|
|
This is an Internet protocol suite Java library originally developed by
|
|
|
@ -30,30 +33,23 @@ Summary: API documentation for %{name}
|
|
|
|
%{summary}.
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n commons-net-%{version}-src
|
|
|
|
%setup -q -n %{short_name}-%{version}-src
|
|
|
|
|
|
|
|
|
|
|
|
# This test fails with "Connection timed out"
|
|
|
|
# This test fails with "Connection timed out"
|
|
|
|
rm src/test/java/org/apache/commons/net/time/TimeTCPClientTest.java
|
|
|
|
rm src/test/java/org/apache/commons/net/time/TimeTCPClientTest.java
|
|
|
|
# Fails in Koji with "Address already in use"
|
|
|
|
# Fails in Koji with "Address already in use"
|
|
|
|
rm src/test/java/org/apache/commons/net/tftp/TFTPServerPathTest.java
|
|
|
|
rm src/test/java/org/apache/commons/net/tftp/TFTPServerPathTest.java
|
|
|
|
|
|
|
|
|
|
|
|
%pom_remove_plugin :exec-maven-plugin
|
|
|
|
%mvn_file : %{short_name} %{name}
|
|
|
|
|
|
|
|
%mvn_alias : org.apache.commons:%{short_name}
|
|
|
|
%pom_remove_dep org.apache.ftpserver:ftpserver-core
|
|
|
|
|
|
|
|
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 \
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%mvn_file : commons-net %{name}
|
|
|
|
|
|
|
|
%mvn_alias : org.apache.commons:commons-net
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%mvn_build -- -Dcommons.osgi.symbolicName=org.apache.commons.net
|
|
|
|
%mvn_build
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%mvn_install
|
|
|
|
%mvn_install
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -f .mfiles
|
|
|
|
%files -f .mfiles
|
|
|
|
%doc README.md RELEASE-NOTES.txt
|
|
|
|
%doc README.md RELEASE-NOTES.txt
|
|
|
|
%license LICENSE.txt NOTICE.txt
|
|
|
|
%license LICENSE.txt NOTICE.txt
|
|
|
@ -62,91 +58,6 @@ src/test/java/org/apache/commons/net/ftp/NoProtocolSslConfigurationProxy.java \
|
|
|
|
%license LICENSE.txt NOTICE.txt
|
|
|
|
%license LICENSE.txt NOTICE.txt
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 3.10.0-6
|
|
|
|
|
|
|
|
- Bump release for October 2024 mass rebuild:
|
|
|
|
|
|
|
|
Resolves: RHEL-64018
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Aug 01 2024 Troy Dawson <tdawson@redhat.com> - 3.10.0-5
|
|
|
|
|
|
|
|
- Bump release for Aug 2024 java mass rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 3.10.0-4
|
|
|
|
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.10.0-3
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.10.0-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Dec 18 2023 Marian Koncek <mkoncek@redhat.com> - 3.10.0-1
|
|
|
|
|
|
|
|
- Update to upstream version 3.10.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Sep 01 2023 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.9.0-2
|
|
|
|
|
|
|
|
- Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Aug 11 2023 Marian Koncek <mkoncek@redhat.com> - 3.9.0-1
|
|
|
|
|
|
|
|
- Update to upstream version 3.9.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.8.0-3
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.8.0-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Sep 07 2022 Marian Koncek <mkoncek@redhat.com> - 3.8.0-1
|
|
|
|
|
|
|
|
- Update to upstream version 3.8.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.6-17
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Feb 05 2022 Jiri Vanek <jvanek@redhat.com> - 3.6-16
|
|
|
|
|
|
|
|
- Rebuilt for java-17-openjdk as system jdk
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.6-15
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Nov 02 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.6-14
|
|
|
|
|
|
|
|
- Set explicit Java compiler source/target levels to 1.7
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.6-13
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jun 28 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.6-12
|
|
|
|
|
|
|
|
- Remove build-dependency on exec-maven-plugin
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.6-11
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Sep 30 2020 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.6-6
|
|
|
|
|
|
|
|
- Remove build-dependency on exec-maven-plugin
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.6-10
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 10 2020 Jiri Vanek <jvanek@redhat.com> - 3.6-9
|
|
|
|
|
|
|
|
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.6-8
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Nov 05 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.6-5
|
|
|
|
|
|
|
|
- Mass rebuild for javapackages-tools 201902
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.6-7
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.6-4
|
|
|
|
|
|
|
|
- Mass rebuild for javapackages-tools 201901
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Feb 07 2019 Mat Booth <mat.booth@redhat.com> - 3.6-6
|
|
|
|
|
|
|
|
- Rebuild to regenerate OSGi metadata
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.6-5
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.6-4
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.6-3
|
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.6-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
@ -252,3 +163,4 @@ src/test/java/org/apache/commons/net/ftp/NoProtocolSslConfigurationProxy.java \
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Aug 13 2009 Alexander Kurtakov <akurtako@redhat.com> 0:2.0-1
|
|
|
|
* Thu Aug 13 2009 Alexander Kurtakov <akurtako@redhat.com> 0:2.0-1
|
|
|
|
- Update to upstream 2.0.
|
|
|
|
- Update to upstream 2.0.
|
|
|
|
|
|
|
|
|