Commit Graph

271 Commits

Author SHA1 Message Date
Andrew Hughes
7997be64b6 Hardcode /usr/sbin/alternatives for Flatpak builds
/usr/sbin/alternatives is not under the Flatpak build's %{_prefix},
which is set to /app.

(See <https://pagure.io/packaging-committee/issue/848> "Clarify the
use of path macros with respect to build dependencies").

Found when trying to do a LibreOffice Flatpak build from RHEL RPM
specs, which includes java-1.8.0-openjdk among its components.
2021-02-19 03:15:08 +00:00
Andrew Hughes
affa8f56ef Perform static library build on a separate source tree with bundled image libraries
Make static library build optional
Based on initial work by Severin Gehwolf
2021-02-17 18:10:13 +00:00
Andrew Hughes
dd24375015 Update to jdk-11.0.10.0+9
Update release notes to 11.0.10.0+9
Switch to GA mode for final release.
2021-02-01 01:25:32 +00:00
Fedora Release Engineering
3102f36e5f - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 14:42:31 +00:00
Andrew Hughes
6f7c0e716b Fix location and comment differences from RHEL. 2021-01-25 03:52:16 +00:00
Andrew Hughes
96d9c80a21 Following JDK-8005165, class data sharing can be enabled on all JIT architectures 2021-01-25 03:42:49 +00:00
Andrew Hughes
3fa84eff00 Include a test in the RPM to check the build has the correct vendor information. 2021-01-24 18:17:53 +00:00
Andrew Hughes
0b8fc9968d Update build documentation to reflect this is java-11-openjdk, not java-1.8.0-openjdk
Remove redundant closure and immediate reopening of include_normal_build block.
2021-01-24 17:20:20 +00:00
Andrew Hughes
214b0d1ac4 Use RSA as default for keytool, as DSA is disabled in all crypto policies except LEGACY
Adjust RH1842572 patch due to context change from JDK-8213400
2021-01-24 03:24:41 +00:00
Andrew Hughes
4581efb916 Need to support noarch for creating source RPMs for non-scratch builds. 2021-01-23 22:53:38 +00:00
Andrew Hughes
10631d6261 Introduce stapinstall variable to set SystemTap arch directory correctly (e.g. arm64 on aarch64) 2021-01-23 05:07:29 +00:00
Andrew Hughes
876286a0d4 Use -march=i686 for x86 builds if -fcf-protection is detected (needs CMOV) 2021-01-19 03:59:55 +00:00
Andrew Hughes
7f58eb6adf Update to jdk-11.0.10.0+8
Update release notes to 11.0.10.0+8.
Update tarball generation script to use PR3818 which handles JDK-8171279 changes
Drop JDK-8250861 as applied upstream.
2021-01-15 05:18:00 +00:00
Tom Stellard
4824868f52 Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2021-01-05 15:32:46 +00:00
Jiri Vanek
452185ed63 Fixed typo in variable 2021-01-04 12:06:40 +01:00
Andrew Hughes
e474513f04 Update to jdk-11.0.10.0+1
Update release notes to 11.0.10.0+1
Use JEP-322 Time-Based Versioning so we can handle a future 11.0.9.1-like release correctly.
Still use 11.0.x rather than 11.0.x.0 for file naming, as the trailing zero is omitted from tags.
Revert configure and built_doc_archive hacks to build 11.0.9.1 from 11.0.9.0 sources, and synced with RHEL version.
Cleanup debug package descriptions and version number placement.
Switch to EA mode for 11.0.10 pre-release builds.
Drop JDK-8222286 & JDK-8254177 as applied upstream
Use system harfbuzz now this is supported.
2020-12-23 08:18:45 +00:00
Jiri
3343ca44a4 fixed missing condition for fastdebug packages being counted as debug ones 2020-12-22 11:02:28 +01:00
Jiri
2e2947560c removed lib-style provides for fastdebug_suffix_unquoted 2020-12-20 16:16:23 +01:00
Jiri
4327dc9b52 Added few missing majorver into descriptions 2020-12-20 12:53:09 +01:00
Jiri
edadb626bc Introduced fastdebug build cycle and subpackages 2020-12-20 09:40:12 +01:00
Jiri Vanek
cef412cef7 Added checks and restrictions around alt-java 2020-12-18 15:25:39 +01:00
Jiri Vanek
252933827c Redeffined linux -> __linux__ and __x86_64 -> __x86_64__ 2020-12-17 13:33:05 +01:00
Jiri
9dd85aba4b Fixes comment for speculative store bypass patch 2020-12-07 20:05:31 +01:00
Jiri
3ad7305a74 Replaced alt-java palceholder by real pathced alt-java 2020-12-01 14:13:12 +01:00
Jiri
b1fa8704ee Create a copy of java as alt-java with alternatives and man pages
- java-11-openjdk doesn't have a JRE tree, so don't try and copy alt-java there...
2020-11-23 22:00:42 +01:00
Andrew Hughes
fadbaad5b8 Update release notes for 11.0.9.1 release. 2020-11-06 07:07:24 +00:00
Severin Gehwolf
a0e5d76a58 Update to jdk-11.0.9.1+1
This adds a single patch for JDK-8250861. A regression introduced
with 11.0.9+11.

RPM version stays as-is. Release bump only.
2020-11-05 10:14:02 +01:00
Andrew Hughes
bc920b44c4 Move all license files to NVR-specific JVM directory.
This bad placement was killing parallel installability and thus having a bad impact on leapp, if used.
2020-10-30 05:56:45 +00:00
Andrew Hughes
9bdfe49371 Add missed patch file. 2020-10-21 01:07:42 +00:00
Andrew Hughes
5f592b0eda Update to jdk-11.0.9+11
Update release notes for 11.0.9 release.
Add backport of JDK-8254177 to update to tzdata 2020b
Require tzdata 2020b due to resource changes in JDK-8254177
Fix directory ownership of static-libs package
2020-10-21 00:49:38 +00:00
Andrew Hughes
6b7cad5e57 Update to jdk-11.0.9+10 (EA) 2020-10-05 05:38:49 +00:00
Andrew Hughes
67ffad42bc Update to jdk-11.0.9+9 (EA) 2020-10-05 03:03:08 +00:00
Andrew Hughes
3559b479ed Update to jdk-11.0.9+8 (EA) 2020-10-01 02:22:15 +00:00
Andrew Hughes
e2ed7be248 Update to jdk-11.0.9+7 (EA) 2020-09-28 05:25:28 +00:00
Severin Gehwolf
74b1906293 Update static-libs packaging to new layout 2020-09-15 15:42:26 +02:00
Andrew Hughes
2a70366ba7 Update to jdk-11.0.9+6 (EA)
Update tarball generation script to use PR3802, handling JDK-8233228 & JDK-8177334

Resolves: rhbz#1869017
2020-09-15 13:07:43 +00:00
Andrew Hughes
2243b9c568 Update to jdk-11.0.9+5 (EA) 2020-09-15 03:11:11 +00:00
Andrew Hughes
3216606134 Update to jdk-11.0.9+4 (EA) 2020-09-04 16:36:26 +00:00
Andrew Hughes
a9d34fe47e Update to jdk-11.0.9+3 (EA) 2020-08-28 06:15:16 +00:00
Andrew Hughes
b981579504 Update to jdk-11.0.9+2 (EA)
With Shenandoah now upstream in OpenJDK 11, we can use jdk-updates/jdk11 directly
2020-08-13 20:08:18 +00:00
Andrew Hughes
d76f241e65 Cleanup architecture and JVM feature handling in preparation for using upstreamed Shenandoah. 2020-08-11 19:00:36 +00:00
Andrew Hughes
952bfa78b2 Update to shenandoah-jdk-11.0.9+1 (EA)
Switch to EA mode for 11.0.9 pre-release builds.
Drop JDK-8247874 backport now applied upstream.
JDK-8245832 increases the set of static libraries, so try and include them all with a wildcard.
2020-08-09 21:41:08 +00:00
Severin Gehwolf
b6bbc18e98 Disable LTO for a working f33 build 2020-07-29 18:16:23 +02:00
Fedora Release Engineering
2e6db5f90c - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-28 02:10:21 +00:00
Andrew Hughes
36133df273 Update to shenandoah-jdk-11.0.8+10 (GA)
Switch to GA mode for final release.
Update release notes with last minute fix (JDK-8248505).
2020-07-17 14:10:43 +00:00
Andrew Hughes
e718225bd1 Update to shenandoah-jdk-11.0.8+9 (EA)
Update release notes for 11.0.8 release.
2020-07-17 01:16:04 +00:00
Jiri
a3184a2c71 Revert "Rebuilt for JDK-11"
This reverts commit af4e2ba63d.
2020-07-10 13:15:45 +02:00
Jiri
af4e2ba63d Rebuilt for JDK-11 2020-07-10 11:39:48 +02:00
Jiri
0ba272cf22 Moving to BECOME system JDK 2020-07-09 17:05:45 +02:00
Andrew Hughes
61d486f627 Fix changes in Provides from system_jdk support.
Re-introduce java-openjdk-src & java-openjdk-demo for system_jdk builds.
Fix accidental renaming of java-openjdk-devel to java-devel-openjdk.
2020-07-09 14:22:52 +00:00