Fix build with OpenJDK 17
This commit is contained in:
parent
0a5d1145d9
commit
6af10b4210
@ -1,6 +1,6 @@
|
|||||||
Name: jakarta-mail
|
Name: jakarta-mail
|
||||||
Version: 1.6.5
|
Version: 1.6.5
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
Summary: Jakarta Mail API
|
Summary: Jakarta Mail API
|
||||||
License: EPL-2.0 or GPLv2 with exceptions
|
License: EPL-2.0 or GPLv2 with exceptions
|
||||||
URL: https://github.com/eclipse-ee4j/mail
|
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" mail/pom.xml
|
||||||
sed -i "s/\${mail\.osgiversion}/%{version}/g" mailapi/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
|
# add aliases for old maven artifact coordinates
|
||||||
%mvn_alias com.sun.mail:mailapi \
|
%mvn_alias com.sun.mail:mailapi \
|
||||||
javax.mail:mailapi
|
javax.mail:mailapi
|
||||||
@ -76,6 +79,9 @@ sed -i "s/\${mail\.osgiversion}/%{version}/g" mailapi/pom.xml
|
|||||||
%doc README.md
|
%doc README.md
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.5-4
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user