|
|
|
@ -1,20 +1,20 @@
|
|
|
|
|
Name: apache-commons-net
|
|
|
|
|
Version: 3.10.0
|
|
|
|
|
Release: 6%{?dist}
|
|
|
|
|
%global base_name net
|
|
|
|
|
%global short_name commons-%{base_name}
|
|
|
|
|
|
|
|
|
|
Name: apache-%{short_name}
|
|
|
|
|
Version: 3.6
|
|
|
|
|
Release: 15%{?dist}
|
|
|
|
|
Summary: Internet protocol suite Java library
|
|
|
|
|
License: Apache-2.0
|
|
|
|
|
URL: https://commons.apache.org/net/
|
|
|
|
|
Source0: https://archive.apache.org/dist/commons/net/source/commons-net-%{version}-src.tar.gz
|
|
|
|
|
License: ASL 2.0
|
|
|
|
|
URL: http://commons.apache.org/%{base_name}/
|
|
|
|
|
Source0: http://archive.apache.org/dist/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
ExclusiveArch: %{java_arches} noarch
|
|
|
|
|
|
|
|
|
|
BuildRequires: maven-local
|
|
|
|
|
BuildRequires: mvn(junit:junit)
|
|
|
|
|
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)
|
|
|
|
|
BuildRequires: mvn(org.junit.jupiter:junit-jupiter-api)
|
|
|
|
|
BuildRequires: mvn(org.junit.jupiter:junit-jupiter-engine)
|
|
|
|
|
BuildRequires: mvn(org.junit.vintage:junit-vintage-engine)
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
This is an Internet protocol suite Java library originally developed by
|
|
|
|
@ -30,7 +30,7 @@ Summary: API documentation for %{name}
|
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n commons-net-%{version}-src
|
|
|
|
|
%setup -q -n %{short_name}-%{version}-src
|
|
|
|
|
|
|
|
|
|
# This test fails with "Connection timed out"
|
|
|
|
|
rm src/test/java/org/apache/commons/net/time/TimeTCPClientTest.java
|
|
|
|
@ -39,14 +39,8 @@ rm src/test/java/org/apache/commons/net/tftp/TFTPServerPathTest.java
|
|
|
|
|
|
|
|
|
|
%pom_remove_plugin :exec-maven-plugin
|
|
|
|
|
|
|
|
|
|
%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
|
|
|
|
|
%mvn_file : %{short_name} %{name}
|
|
|
|
|
%mvn_alias : org.apache.commons:%{short_name}
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%mvn_build -- -Dcommons.osgi.symbolicName=org.apache.commons.net
|
|
|
|
@ -62,57 +56,19 @@ src/test/java/org/apache/commons/net/ftp/NoProtocolSslConfigurationProxy.java \
|
|
|
|
|
%license LICENSE.txt NOTICE.txt
|
|
|
|
|
|
|
|
|
|
%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
|
|
|
|
|
* Tue Nov 19 2024 Marián Konček <mkoncek@redhat.com> - 3.6-15
|
|
|
|
|
- Rebuild with regenerated Requires on Java
|
|
|
|
|
|
|
|
|
|
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.8.0-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 3.6-14
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* 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
|
|
|
|
|
* Mon Jun 28 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.6-13
|
|
|
|
|
- Remove build-dependency on exec-maven-plugin
|
|
|
|
|
- Resolves: rhbz#1976995
|
|
|
|
|
|
|
|
|
|
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 3.6-12
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.6-11
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|