@@ -245,6 +245,13 @@ Requires: %{name}-devel%{?1}%{?_isa} = %{epoch}:%{version}-%{release}
245
245
%description jmods
246
246
Amazon Corretto's packaging of the OpenJDK ${java_spec_version} jmods.
247
247
248
+ %package debugsymbols
249
+ Summary: Amazon Corretto ${java_spec_version} zipped debug symbols
250
+ Group: Development
251
+
252
+ %description debugsymbols
253
+ Amazon Corretto's packaging of the OpenJDK ${java_spec_version} debug symbols.
254
+
248
255
%prep
249
256
%setup -q -n src -c
250
257
@@ -284,7 +291,7 @@ bash ./configure \\
284
291
--with-vendor-bug-url="https://github.com/corretto/corretto-${java_spec_version}/issues/" \\
285
292
--with-vendor-vm-bug-url="https://github.com/corretto/corretto-${java_spec_version}/issues/" \\
286
293
--with-debug-level=$debug_level \\
287
- --with-native-debug-symbols=none
294
+ --with-native-debug-symbols=zipped
288
295
289
296
make images
290
297
make LOG=debug docs
431
438
%exclude %{java_lib}/libawt_xawt.so
432
439
%exclude %{java_lib}/libjawt.so
433
440
%exclude %{java_lib}/libsplashscreen.so
441
+ # Exclude debug symbol files
442
+ %exclude %{java_home}/lib/*.diz
443
+ %exclude %{java_home}/lib/server/*.diz
434
444
435
445
%files devel
436
446
%{java_home}/bin/jar
496
506
%doc %{java_imgdir}/docs/specs
497
507
%license %{java_imgdir}/docs/legal
498
508
509
+ %files debugsymbols
510
+ %{java_home}/bin/*.diz
511
+ %{java_home}/lib/*.diz
512
+ %{java_home}/lib/server/*.diz
513
+
499
514
%changelog
515
+ * Mon Aug 5 2024 Daniel Hu <
[email protected] >
516
+ - Add package debug symbols
517
+
500
518
* Mon Oct 10 2022 Dan Lutker <
[email protected] >
501
519
- Fix provides to include public shared libs
502
520
0 commit comments