import sources
This commit is contained in:
		
							parent
							
								
									48cec811c2
								
							
						
					
					
						commit
						f7fce8c605
					
				
							
								
								
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							| @ -1 +1,2 @@ | |||||||
| SOURCES/commons-net-3.2-src.tar.gz | SOURCES/commons-net-3.2-src.tar.gz | ||||||
|  | /commons-net-3.6-src.tar.gz | ||||||
|  | |||||||
| @ -3,23 +3,20 @@ | |||||||
| %global short_name   commons-%{base_name} | %global short_name   commons-%{base_name} | ||||||
| 
 | 
 | ||||||
| Name:           apache-%{short_name} | Name:           apache-%{short_name} | ||||||
| Version:        3.2 | Version:        3.6 | ||||||
| Release:        8%{?dist} | Release:        3%{?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://www.apache.org/dist/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz | Source0:        http://archive.apache.org/dist/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz | ||||||
| BuildArch:      noarch | BuildArch:      noarch | ||||||
| 
 | 
 | ||||||
| BuildRequires:  maven-local | BuildRequires:  maven-local | ||||||
| BuildRequires:  maven-plugin-build-helper | BuildRequires:  mvn(junit:junit) | ||||||
| BuildRequires:  apache-commons-parent >= 26-7 | BuildRequires:  mvn(org.apache.commons:commons-parent:pom:) | ||||||
| # Test dependency | BuildRequires:  mvn(org.apache.maven.plugins:maven-antrun-plugin) | ||||||
| BuildRequires:  junit | BuildRequires:  mvn(org.codehaus.mojo:build-helper-maven-plugin) | ||||||
| 
 | 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 | ||||||
| @ -31,21 +28,17 @@ 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} | ||||||
| @ -58,21 +51,57 @@ rm src/test/java/org/apache/commons/net/time/TimeTCPClientTest.java | |||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| %files -f .mfiles | %files -f .mfiles | ||||||
| %doc LICENSE.txt NOTICE.txt README RELEASE-NOTES.txt | %doc README.md RELEASE-NOTES.txt | ||||||
|  | %license LICENSE.txt NOTICE.txt | ||||||
| 
 | 
 | ||||||
| %files javadoc -f .mfiles-javadoc | %files javadoc -f .mfiles-javadoc | ||||||
| %doc LICENSE.txt NOTICE.txt | %license LICENSE.txt NOTICE.txt | ||||||
| 
 | 
 | ||||||
| %changelog | %changelog | ||||||
| * Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 3.2-8 | * Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.6-3 | ||||||
| - Mass rebuild 2013-12-27 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild | ||||||
| 
 | 
 | ||||||
| * Fri Sep 20 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.2-7 | * Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.6-2 | ||||||
| - Add BuildRequires on apache-commons-parent >= 26-7 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild | ||||||
| 
 | 
 | ||||||
| * Fri Jun 28 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.2-6 | * Tue Mar 28 2017 Michael Simacek <msimacek@redhat.com> - 3.6-1 | ||||||
| - Rebuild to regenerate API documentation | - Update to upstream version 3.6 | ||||||
| - 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