#1 Fix build with OpenJDK 17
Merged 2 years ago by mizdebsk. Opened 2 years ago by mizdebsk.
rpms/ mizdebsk/jakarta-mail jdk17  into  rawhide

file modified
+7 -1
@@ -1,6 +1,6 @@ 

  Name:           jakarta-mail

  Version:        1.6.5

- Release:        4%{?dist}

+ Release:        5%{?dist}

  Summary:        Jakarta Mail API

  License:        EPL-2.0 or GPLv2 with exceptions

  URL:            https://github.com/eclipse-ee4j/mail
@@ -47,6 +47,9 @@ 

  sed -i "s/\${mail\.osgiversion}/%{version}/g" mail/pom.xml

  sed -i "s/\${mail\.osgiversion}/%{version}/g" mailapi/pom.xml

  

+ # -Werror is considered harmful

+ sed -i "/-Werror/d" mail/pom.xml

+ 

  # add aliases for old maven artifact coordinates

  %mvn_alias com.sun.mail:mailapi \

      javax.mail:mailapi
@@ -76,6 +79,9 @@ 

  %doc README.md

  

  %changelog

+ * Tue Nov 02 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.6.5-5

+ - Fix build with OpenJDK 17

+ 

  * Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.5-4

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild

  

Port the package to be buildable with OpenJDK 17,
in preparation for making OpenJDK 17 default in Fedora 36.
More info: https://fedoraproject.org/wiki/Changes/Java17

Automated testing passed, the PR will be merged.

Pull-Request has been merged by mizdebsk

2 years ago
Metadata