Import rpm: 61d40e44c456c357065e9d6253fee89a82288530
This commit is contained in:
parent
512317bf2d
commit
48cec811c2
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
|||||||
SOURCES/commons-net-3.6-src.tar.gz
|
SOURCES/commons-net-3.2-src.tar.gz
|
||||||
|
@ -3,20 +3,23 @@
|
|||||||
%global short_name commons-%{base_name}
|
%global short_name commons-%{base_name}
|
||||||
|
|
||||||
Name: apache-%{short_name}
|
Name: apache-%{short_name}
|
||||||
Version: 3.6
|
Version: 3.2
|
||||||
Release: 3%{?dist}
|
Release: 8%{?dist}
|
||||||
Summary: Internet protocol suite Java library
|
Summary: Internet protocol suite Java library
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
|
Group: Development/Libraries
|
||||||
URL: http://commons.apache.org/%{base_name}/
|
URL: http://commons.apache.org/%{base_name}/
|
||||||
Source0: http://archive.apache.org/dist/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz
|
Source0: http://www.apache.org/dist/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
BuildRequires: maven-local
|
BuildRequires: maven-local
|
||||||
BuildRequires: mvn(junit:junit)
|
BuildRequires: maven-plugin-build-helper
|
||||||
BuildRequires: mvn(org.apache.commons:commons-parent:pom:)
|
BuildRequires: apache-commons-parent >= 26-7
|
||||||
BuildRequires: mvn(org.apache.maven.plugins:maven-antrun-plugin)
|
# Test dependency
|
||||||
BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin)
|
BuildRequires: junit
|
||||||
BuildRequires: mvn(org.codehaus.mojo:exec-maven-plugin)
|
|
||||||
|
Provides: jakarta-%{short_name} = 0:%{version}-%{release}
|
||||||
|
Obsoletes: jakarta-%{short_name} < 0:2.0-3
|
||||||
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -28,17 +31,21 @@ fundamental protocol access, not higher-level abstractions.
|
|||||||
|
|
||||||
%package javadoc
|
%package javadoc
|
||||||
Summary: API documentation for %{name}
|
Summary: API documentation for %{name}
|
||||||
|
Group: Documentation
|
||||||
|
Requires: jpackage-utils
|
||||||
|
|
||||||
|
Provides: jakarta-%{short_name}-javadoc = 0:%{version}-%{release}
|
||||||
|
Obsoletes: jakarta-%{short_name}-javadoc < 0:2.0-3
|
||||||
|
|
||||||
%description javadoc
|
%description javadoc
|
||||||
%{summary}.
|
%{summary}.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{short_name}-%{version}-src
|
%setup -q -n %{short_name}-%{version}-src
|
||||||
|
sed -i 's/\r//' NOTICE.txt LICENSE.txt README RELEASE-NOTES.txt
|
||||||
|
|
||||||
# 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"
|
|
||||||
rm src/test/java/org/apache/commons/net/tftp/TFTPServerPathTest.java
|
|
||||||
|
|
||||||
%mvn_file : %{short_name} %{name}
|
%mvn_file : %{short_name} %{name}
|
||||||
%mvn_alias : org.apache.commons:%{short_name}
|
%mvn_alias : org.apache.commons:%{short_name}
|
||||||
@ -51,57 +58,21 @@ rm src/test/java/org/apache/commons/net/tftp/TFTPServerPathTest.java
|
|||||||
|
|
||||||
|
|
||||||
%files -f .mfiles
|
%files -f .mfiles
|
||||||
%doc README.md RELEASE-NOTES.txt
|
%doc LICENSE.txt NOTICE.txt README RELEASE-NOTES.txt
|
||||||
%license LICENSE.txt NOTICE.txt
|
|
||||||
|
|
||||||
%files javadoc -f .mfiles-javadoc
|
%files javadoc -f .mfiles-javadoc
|
||||||
%license LICENSE.txt NOTICE.txt
|
%doc LICENSE.txt NOTICE.txt
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.6-3
|
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 3.2-8
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
- Mass rebuild 2013-12-27
|
||||||
|
|
||||||
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.6-2
|
* Fri Sep 20 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.2-7
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
- Add BuildRequires on apache-commons-parent >= 26-7
|
||||||
|
|
||||||
* Tue Mar 28 2017 Michael Simacek <msimacek@redhat.com> - 3.6-1
|
* Fri Jun 28 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.2-6
|
||||||
- Update to upstream version 3.6
|
- Rebuild to regenerate API documentation
|
||||||
|
- Resolves: CVE-2013-1571
|
||||||
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.5-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
||||||
|
|
||||||
* Thu May 5 2016 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.5-1
|
|
||||||
- Update to upstream version 3.5
|
|
||||||
|
|
||||||
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.4-3
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
||||||
|
|
||||||
* Mon Jan 4 2016 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.4-2
|
|
||||||
- Add workaround for suprious test failure (NET-586)
|
|
||||||
|
|
||||||
* Fri Nov 27 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.4-1
|
|
||||||
- Update to upstream version 3.4
|
|
||||||
|
|
||||||
* Tue Aug 04 2015 Michael Simacek <msimacek@redhat.com> - 3.3-7
|
|
||||||
- Disable failing test
|
|
||||||
|
|
||||||
* 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
|
|
||||||
|
|
||||||
* Tue Oct 14 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.3-5
|
|
||||||
- Remove legacy Obsoletes/Provides for jakarta-commons
|
|
||||||
|
|
||||||
* 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
|
|
||||||
|
|
||||||
* Tue Mar 04 2014 Stanislav Ochotnicky <sochotnicky@redhat.com> - 3.3-3
|
|
||||||
- Use Requires: java-headless rebuild (#1067528)
|
|
||||||
|
|
||||||
* 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
|
|
||||||
|
|
||||||
* Wed Jun 12 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.3-1
|
|
||||||
- Update to upstream version 3.3
|
|
||||||
|
|
||||||
* Wed Jun 05 2013 Michal Srb <msrb@redhat.com> - 3.2-5
|
* Wed Jun 05 2013 Michal Srb <msrb@redhat.com> - 3.2-5
|
||||||
- Enable tests
|
- Enable tests
|
||||||
|
Loading…
Reference in New Issue
Block a user