Fix build with OpenJDK 17
This commit is contained in:
parent
0a5d1145d9
commit
6af10b4210
@ -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 @@ protocol-independent framework to build mail and messaging applications.
|
||||
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 @@ sed -i "s/\${mail\.osgiversion}/%{version}/g" mailapi/pom.xml
|
||||
%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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user