From e4dbe0caab65c518fe00de64be2a3cc6e1753a8a Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Nov 12 2020 09:26:14 +0000 Subject: import apache-commons-compress-1.20-3.module+el8.2.1+7436+4afdca1f --- diff --git a/SPECS/apache-commons-compress.spec b/SPECS/apache-commons-compress.spec index 5c6b52c..714e907 100644 --- a/SPECS/apache-commons-compress.spec +++ b/SPECS/apache-commons-compress.spec @@ -3,7 +3,7 @@ Name: apache-%{short_name} Version: 1.20 -Release: 1%{?dist} +Release: 3%{?dist} Summary: Java API for working with compressed files and archivers License: ASL 2.0 URL: http://commons.apache.org/proper/commons-compress/ @@ -68,6 +68,9 @@ rm src/test/java/org/apache/commons/compress/OsgiITest.java %pom_add_dep org.mockito:mockito-core::test rm src/test/java/org/apache/commons/compress/compressors/z/ZCompressorInputStreamTest.java +# Generate Java 8 level bytecode when built on Java 11 +%pom_xpath_replace "pom:maven.compiler.release" "8" + %build %mvn_file : %{short_name} %{name} %mvn_alias : commons: @@ -83,6 +86,12 @@ rm src/test/java/org/apache/commons/compress/compressors/z/ZCompressorInputStrea %doc LICENSE.txt NOTICE.txt %changelog +* Thu Jul 16 2020 Mat Booth - 1.20-3 +- Ensure Java 8 level bytecode when built on Java 11 + +* Fri Jul 10 2020 Jiri Vanek - 1.20-2 +- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11 + * Mon Mar 02 2020 Fabio Valentini - 1.20-1 - Update to version 1.20.