override javac source and target versions to fix builds with Java 11
This commit is contained in:
		
							parent
							
								
									d7a9de5852
								
							
						
					
					
						commit
						bb121e3fb4
					
				| @ -2,7 +2,7 @@ | ||||
| 
 | ||||
| Name:           apache-commons-logging | ||||
| Version:        1.2 | ||||
| Release:        20%{?dist} | ||||
| Release:        21%{?dist} | ||||
| Summary:        Apache Commons Logging | ||||
| License:        ASL 2.0 | ||||
| URL:            http://commons.apache.org/logging | ||||
| @ -72,7 +72,7 @@ sed -i 's/\r//' RELEASE-NOTES.txt LICENSE.txt NOTICE.txt | ||||
| rm -rf src/test/java/org/apache/commons/logging/log4j/log4j12 | ||||
| 
 | ||||
| %build | ||||
| %mvn_build -- -Dcommons.osgi.symbolicName=org.apache.commons.logging | ||||
| %mvn_build -- -Dcommons.osgi.symbolicName=org.apache.commons.logging -Dmaven.compiler.source=1.8 -Dmaven.compiler.target=1.8 | ||||
| 
 | ||||
| # The build produces more artifacts from one pom | ||||
| %mvn_artifact %{SOURCE2} target/commons-logging-%{version}-api.jar | ||||
| @ -86,6 +86,9 @@ rm -rf src/test/java/org/apache/commons/logging/log4j/log4j12 | ||||
| %doc PROPOSAL.html RELEASE-NOTES.txt | ||||
| 
 | ||||
| %changelog | ||||
| * Thu Jun 04 2020 Fabio Valentini <decathorpe@gmail.com> - 1.2-21 | ||||
| - Override javac source and target versions to fix builds with Java 11. | ||||
| 
 | ||||
| * Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-20 | ||||
| - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild | ||||
| 
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user