-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
19 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -245,6 +245,13 @@ Requires: %{name}-devel%{?1}%{?_isa} = %{epoch}:%{version}-%{release} | |
%description jmods | ||
Amazon Corretto's packaging of the OpenJDK ${java_spec_version} jmods. | ||
|
||
%package debugsymbols | ||
Summary: Amazon Corretto ${java_spec_version} zipped debug symbols | ||
Group: Development | ||
|
||
%description debugsymbols | ||
Amazon Corretto's packaging of the OpenJDK ${java_spec_version} debug symbols. | ||
|
||
%prep | ||
%setup -q -n src -c | ||
|
||
|
@@ -284,7 +291,7 @@ bash ./configure \\ | |
--with-vendor-bug-url="https://github.com/corretto/corretto-${java_spec_version}/issues/" \\ | ||
--with-vendor-vm-bug-url="https://github.com/corretto/corretto-${java_spec_version}/issues/" \\ | ||
--with-debug-level=$debug_level \\ | ||
--with-native-debug-symbols=none | ||
--with-native-debug-symbols=zipped | ||
|
||
make images | ||
make LOG=debug docs | ||
|
@@ -431,6 +438,9 @@ fi | |
%exclude %{java_lib}/libawt_xawt.so | ||
%exclude %{java_lib}/libjawt.so | ||
%exclude %{java_lib}/libsplashscreen.so | ||
# Exclude debug symbol files | ||
%exclude %{java_home}/lib/*.diz | ||
%exclude %{java_home}/lib/server/*.diz | ||
|
||
%files devel | ||
%{java_home}/bin/jar | ||
|
@@ -496,7 +506,15 @@ fi | |
%doc %{java_imgdir}/docs/specs | ||
%license %{java_imgdir}/docs/legal | ||
|
||
%files debugsymbols | ||
%{java_home}/bin/*.diz | ||
%{java_home}/lib/*.diz | ||
%{java_home}/lib/server/*.diz | ||
|
||
%changelog | ||
* Mon Aug 5 2024 Daniel Hu <[email protected]> | ||
- Add package debug symbols | ||
|
||
* Mon Oct 10 2022 Dan Lutker <[email protected]> | ||
- Fix provides to include public shared libs | ||
|
||
|