diff --git a/java-21-openjdk.spec b/java-21-openjdk.spec index 7c1ad3e..dd2bc69 100644 --- a/java-21-openjdk.spec +++ b/java-21-openjdk.spec @@ -500,7 +500,6 @@ fi } - %define post_script() %{expand: update-desktop-database %{_datadir}/applications &> /dev/null || : /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : @@ -560,7 +559,6 @@ fi exit 0 } - %define preun_headless() %{expand: if [ "x$debug" == "xtrue" ] ; then set -x @@ -578,7 +576,6 @@ fi %{update_desktop_icons} } - %define alternatives_javac_install() %{expand: if [ "x$debug" == "xtrue" ] ; then set -x @@ -780,7 +777,6 @@ exit 0 %{_jvmdir}/%{sdkdir -- %{?1}}/lib/libjawt.so } - %define files_jre_headless() %{expand: %license %{_jvmdir}/%{sdkdir -- %{?1}}/legal %doc %{_defaultdocdir}/%{uniquejavadocdir -- %{?1}}/NEWS @@ -1843,7 +1839,6 @@ pushd %{top_level_dir_name} %patch -P1001 -p1 popd # openjdk - # The OpenJDK version file includes the current # upstream version information. For some reason, # configure does not automatically use the @@ -2352,7 +2347,6 @@ done # placeholder %endif - %if %{include_normal_build} %files headless %{files_jre_headless %{nil}} @@ -2444,6 +2438,7 @@ done - Move postun alternatives logic to preun - Remove --family arguments to alternatives --install - Precompute alternative priorities at build time +- Remove extra newlines * Tue Oct 29 2024 Troy Dawson - 1:21.0.5.0.11-2.1 - Bump release for October 2024 mass rebuild: