Commit Graph

175 Commits

Author SHA1 Message Date
Jiri Vanek 3f192f7986 Enable CDS on power64 2023-05-10 17:56:59 +02:00
Jiri Vanek 3a08aff87f Fix packaging of CDS archives
The JDK build includes CDS archives, classes.jsa and classes_nocoops.jsa
already since JEP 341. Executing -Xshare:dump in the headless post
script breaks AppCDS workflows using dynamic dumps since that relies
on the base CDS archive from the JDK to be unchanged.
2023-05-10 17:50:31 +02:00
Jiri af4ddd0260 lib/libjsvml.so now have fake build id only on svml arches 2023-05-05 09:36:25 +02:00
Jiri Vanek c92cdeadf2 faking build-id in libjsvml.so 2023-05-04 16:05:33 +02:00
Jiri 8e0a39897f returned news 2023-04-29 14:01:51 +02:00
Jiri 94ed5ba576 added unzip
required by javadoc processing, minor formatting
2023-04-29 12:08:43 +02:00
Jiri 2dfa613d22 now expecting the exact version in portbale filename 2023-04-28 18:04:06 +02:00
Jiri ea10c278ec updated to 20.0.1.0.9 underlying portables 2023-04-28 17:10:22 +02:00
Jiri Vanek 3e3e1e8816 enabled system crypto tests 2023-04-20 13:26:54 +02:00
Jiri Vanek 6ffc3d6f81 Added comment about nss-devel dep 2023-04-20 13:25:03 +02:00
Jiri Vanek a5c9491c87 Removed trailing spaces 2023-04-20 13:23:59 +02:00
Jiri Vanek 9cc67f9d89 Fixed typo 2023-04-20 13:21:00 +02:00
Jiri Vanek e0f2fd85ea Added missing url 2023-04-20 13:17:08 +02:00
Jiri Vanek d5caa5ca0e removed empty line 2023-04-20 13:07:55 +02:00
Jiri Vanek fc66e2b516 returned libsystemconf.so 2023-04-19 19:28:50 +02:00
Jiri Vanek a0ed8a27a6 repacking full sources tarball and using icons from it 2023-04-19 18:33:23 +02:00
Jiri Vanek 08be1ea25e Now requiring full version.release portables
before was only version
2023-04-19 18:32:39 +02:00
Jiri Vanek 05fbb08537 bumed to jdk20
- removed no loger existing libsystemconf.so
- commented out usage if Source15 TestSecurityProperties.java test, as honoring of
-- system crypto policies comes from fips aptch which is not yet adapted
2023-04-03 11:09:55 +02:00
Jiri Vanek 156863f742 Using proepr icons from repacked portables 2023-03-24 11:24:38 +01:00
Jiri ada4aba7f8 Added changelog and bumped release for versioned requires 2023-01-31 15:03:14 +01:00
Jiri a970b5fbcc Repacked portable now requires CPU patched portbales 2023-01-31 13:10:20 +01:00
Jiri 8ff925a5d7 Removed unnecessary comments 2023-01-31 13:03:47 +01:00
Petra Mikova 229b61db93 Return libfreetype.so to resoluve requires during install
Remove BuildRequires: java-latest-openjdk to avoid transitive dependency
with java-latest-openjdk
2023-01-30 15:48:31 +01:00
Jiri 407a489293 inital repacking
Remvoed many pre steps, build requires and patching. Removed build.
added dependencies on portables
extracted portabels to BUILD
keep systemtap
todo, repack it properly

removed nss setup, enabled buildr and tuned "install"

check debuginfo for jre only

Print release

repacked portables

Remove javadoc.zip only for release build
2023-01-27 08:57:27 +01:00
Andrew Hughes edf5c072b3 Update to jdk-19.0.2 release
Update release notes to 19.0.2
Drop JDK-8293834 (CLDR update for Kyiv) which is now upstream
Drop JDK-8294357 (tzdata2022d), JDK-8295173 (tzdata2022e) & JDK-8296108 (tzdata2022f) local patches which are now upstream
Drop JDK-8296715 (CLDR update for 2022f) which is now upstream
Add local patch JDK-8295447 (javac NPE) which was accepted into 19u upstream but not in the GA tag
Add local patches for JDK-8296239 & JDK-8299439 (Croatia Euro update) which are present in 8u, 11u & 17u releases
2023-01-26 01:49:35 +00:00
Andrew Hughes 76d35fb69c Revert "Revert "Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild""
This reverts commit 86a61307c6.
2023-01-26 01:23:00 +00:00
Jiri 86a61307c6 Revert "Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild"
This reverts commit ba05b2fee5.
2023-01-20 19:21:42 +01:00
Fedora Release Engineering ba05b2fee5 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-19 13:36:17 +00:00
Andrew Hughes 68f80a98bf Update in-tree tzdata & CLDR to 2022g with JDK-8296108, JDK-8296715 & JDK-8297804
Update TestTranslations.java to test the new America/Ciudad_Juarez zone
2022-12-16 01:33:39 +00:00
Stephan Bergmann 899fd56af2 Fix flatpak builds
...after
<6eee73b250>
"Update to jdk-11.0.16.1+1" added the TestTranslations.java "test to ensure
timezones can be translated":  Similar to the previous
<1ac4052b44>
"Fix flatpak builds", during a flatpak build of java-11-openjdk its
.../images/jdk/lib/tzdb.dat is a dangling symlink to
/app/share/javazi-1.8/tzdb.dat (but which will be a working symlink in at least
the assembled LibreOffice flatpak).  That causes execution of
TestTranslations.java during the build to fail due to a
java.io.FileNotFoundException when trying to access that tzdb.dat.  The easiest
fix appears to be to just not run that specific test for a flatpak build.
2022-12-16 01:33:04 +00:00
Jiri Vanek f94304807a Bumped release to rebuild 2022-12-07 15:46:17 +01:00
Andrew Hughes 2f0e5bd821 Update in-tree tzdata to 2022e with JDK-8294357 & JDK-8295173
Update CLDR data with Europe/Kyiv (JDK-8293834)
Drop JDK-8292223 patch which we found to be unnecessary
Update TestTranslations.java to use public API based on TimeZoneNamesTest upstream
2022-10-26 18:44:13 +01:00
Andrew Hughes 69b27c2585 Update to jdk-19.0.1 release
Update release notes to 19.0.1
2022-10-20 02:51:58 +01:00
Andrew Hughes c9c7c0aecd The stdc++lib, zlib & freetype options should always be set from the global, so they are not altered for staticlibs builds
Remove freetype sources along with zlib sources
2022-10-03 03:43:42 +01:00
Andrew Hughes 3b7a64c61c Switch buildjdkver back to being featurever, now java-19-openjdk is available in the buildroot 2022-08-30 04:44:18 +01:00
Andrew John Hughes f7ce8c82a3 Switch to static builds, reducing system dependencies and making build more portable 2022-08-29 20:47:29 +01:00
Andrew Hughes b4e6a520f9 Update to RC version of OpenJDK 19
Update release notes to 19.0.0
Rebase FIPS patches from fips-19u branch
Need to include the '.S' suffix in debuginfo checks after JDK-8284661
Add patch to provide translations for Europe/Kyiv added in tzdata2022b
Add test to ensure timezones can be translated
Remove references to sample directory removed by JDK-8284999
2022-08-29 14:23:46 +01:00
Andrew Hughes c9b6c1b9f0 Update to jdk-18.0.2 release
Update release notes to 18.0.2
Drop JDK-8282004 patch which is now upstreamed under JDK-8282231
Exclude x86 where java_arches is undefined, in order to unbreak build
2022-07-22 16:05:26 +01:00
Jiri e7bdf2e86c moved to build only on %%{java_arches}
-- https://fedoraproject.org/wiki/Changes/Drop_i686_JDKs
- reverted :
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild (always mess up release)
-- Try to build on x86 again by creating a husk of a JDK which does not depend on itself
-- Exclude x86 from builds as the bootstrap JDK is now completely broken and unusable
-- Replaced binaries and .so files with bash-stubs on i686
- added ExclusiveArch:  %%{java_arches}
-- this now excludes i686
-- this is safely backport-able to older fedoras, as the macro was  backported proeprly (with i686 included)
- https://bugzilla.redhat.com/show_bug.cgi?id=2104125
2022-07-22 12:27:35 +02:00
Fedora Release Engineering 6e7911be34 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-21 15:06:36 +00:00
Andrew Hughes d66bf86c49 Try to build on x86 again by creating a husk of a JDK which does not depend on itself 2022-07-19 01:30:25 +01:00
Andrew Hughes 3f2f52a2a3 Exclude x86 from builds as the bootstrap JDK is now completely broken and unusable 2022-07-17 02:42:37 +01:00
Andrew Hughes 08334d8ce1 Explicitly require crypto-policies during build and runtime for system security properties 2022-07-14 01:11:57 +01:00
Jiri f4dcf6aa0f Replaced binaries and .so files with bash-stubs on i686
in preparation of the removal on that architecture
https://fedoraproject.org/wiki/Changes/Drop_i686_JDKs
2022-07-13 20:07:30 +02:00
Andrew Hughes 79f3eb8ebc Make use of the vendor version string to store our version & release rather than an upstream release date 2022-07-13 18:16:33 +01:00
FeRD (Frank Dana) 33f0849565 Add additional javadoc & javadoczip alternatives
Create additional alternatives linked from the javadocdir, named:
  * java-%{origin} / java-%{origin}.zip
  * java-%{javaver} / java-%{javaver}.zip
  * java-%{javaver}-%{origin} / java-%{javaver}-%{origin}.zip
2022-07-12 08:12:54 -04:00
Andrew Hughes fa0aa4658c Update to jdk-18.0.1.1 interim release
Update release notes to actually reflect OpenJDK 18 and subsequent releases 18.0.1 & 18.0.1.1
Print release file during build, which should now include a correct SOURCE value from .src-rev
Update tarball script with IcedTea GitHub URL and .src-rev generation
Include script to generate bug list for release notes
Update tzdata requirement to 2022a to match JDK-8283350
2022-07-11 15:19:26 +01:00
Andrew Hughes c2d24ea271 Include a test in the RPM to check the build has the correct vendor information.
Fix issue where CheckVendor.java test erroneously passes when it should fail.
Add proper quoting so '&' is not treated as a special character by the shell.
2022-07-09 02:13:33 +01:00
Andrew Hughes 47c2f1ddce Fix whitespace in spec file 2022-07-08 02:44:46 +01:00
Andrew Hughes f94bceceab Sequence spec file sections as they are run by rpmbuild (build, install then test) 2022-07-08 02:41:34 +01:00