Commit Graph

79 Commits

Author SHA1 Message Date
Jiri
d6438d977f Adapted patches to jdk16
- added pr3695-toggle_system_crypto_policy.patch ; missing prerequisity
- removed rh1655466-global_crypto_and_fips.patch; jdk16 do not have
  default algorithm, it throws exception
- adapted rh1655466-global_crypto_and_fips.patch
- adapted rh1860986-disable_tlsv1.3_in_fips_mode.patch (?)
- adapted rh1915071-always_initialise_configurator_access.patch
2021-06-30 18:38:40 +02:00
Jiri
680e1acb05 Added fips pathces and adapted specfile 2021-06-30 18:38:40 +02:00
Petra Mikova
6eadba01e7 Fix bogus date in changelog to get rid of the warning 2021-06-24 10:48:51 +02:00
Petra Mikova
fe87f55d67 Fix patch rh1648249-add_commented_out_nss_cfg_provider_to_java_security.patch
It makes the SunPKCS provider show up again
Resolves: rhbz#1971120
2021-06-24 10:48:51 +02:00
Jiri Vanek
0b693ee02b removed cjc backward comaptiblity, to fix when both rpm 4.16 and 4.17 are in transaction 2021-05-10 16:49:00 +02:00
Jiri
e4b8afc785 Disable copy-jdk-configs for Flatpak builds 2021-05-04 10:01:35 +02:00
Jiri
921ff9bba6 adapted to debug handling in newer cjc
The rest of the "rpm 4.17" patch must NOT be backported, as on rpm 4.16 and down, it would casue double execution
2021-05-04 10:00:20 +02:00
Petra Mikova
6069fcb198 Add forgotten changelog 2021-04-26 12:46:28 +02:00
Petra Mikova
c4f65b09a1 April CPU update
Generated new sources and removed obsoleted patch
2021-04-25 12:56:14 +02:00
Severin Gehwolf
145f513b98 Perform static library build on a separate source tree with bundled image libraries
Make static library build optional
Ported from java-11-openjdk. Work of Andrew Hughes.
2021-04-25 12:56:14 +02:00
Jiri
5995adcda5 bumped buildjdkver to build by itself - 16 2021-04-25 12:56:00 +02:00
Jiri
c27aa9f364 fixed suggests of wrong pcsc-lite-devel%{?_isa} to correct pcsc-lite-libs%{?_isa} 2021-03-11 08:23:47 +01:00
Andrew John Hughes
a487c73622 Update to jdk-16.0.0.0+36
Update tarball generation script to use git following OpenJDK's move to github
Update tarball generation script to use PR3823 which handles JDK-8235710 changes
Use upstream default for version-pre rather than setting it to "ea" or ""
Drop libsunec.so which is no longer generated, thanks to JDK-8235710
Drop unnecessary compiler flags, dating back to work on GCC 6 & 10
Adapt RH1750419 alt-java patch to still apply after some variable re-naming in the makefiles
Update filever to remove any trailing zeros, as in the OpenJDK build, and use for source filename
Use system harfbuzz now this is supported.
Pass SOURCE_DATE_EPOCH to build for reproducible builds
2021-03-11 08:23:36 +01:00
Andrew John Hughes
db7c86a12e 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-03-11 08:23:28 +01:00
Fedora Release Engineering
bfdeb40bb4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-03-11 08:23:18 +01:00
Jiri Vanek
383ed4f978 Backport of recent changes from master and update to jdk-15.0.2.0+7
Included commits:
Fixed typo in variable
Add BuildRequires: make
Use -march=i686 for x86 builds if -fcf-protection is detected (needs CMOV)
Update to jdk-15.0.2.0+7
2021-01-25 10:14:15 +01:00
Jiri
54ec9bd9fc fixed missing condition for fastdebug packages being counted as debug ones 2020-12-22 11:42:45 +01:00
Jiri
692c6aeb30 removed lib-style provides for fastdebug_suffix_unquoted 2020-12-22 07:57:49 +01:00
Jiri
adc3dfca6c Added few missing majorver into descriptions 2020-12-22 07:57:49 +01:00
Jiri
ba44abe729 many cosmetic changes taken from more maintained jdk11
- introduced debug_arches, bootstrap_arches, systemtap_arches, fastdebug_arches, sa_arches, share_arches, shenandoah_arches, zgc_arches
  instead of various hardcoded ifarches
- updated systemtap
- added requires excludes for debug pkgs
- removed redundant logic around jsa files
- added runtime requires of lksctp-tools and libXcomposite%
- added and used Source15 TestSecurityProperties.java, but is made always positive as jdk15 now does not honor system policies
- s390x excluded form fastdebug build
2020-12-22 07:57:49 +01:00
Jiri Vanek
dd485dcd4e Added checks and restrictions around alt-java 2020-12-19 14:53:55 +01:00
Jiri Vanek
c2143101b0 Fixed not-including fastdebugbuild in case of --without fastdebug 2020-12-19 14:53:55 +01:00
Jiri Vanek
bc6ed4dabe moved wrongly placed icenses to acompany other ones
this bad placement was killng parallel-installability and thus having bad impact to leapp if used
2020-12-19 14:53:55 +01:00
Jiri
81ad8a3a4d Redeffined linux -> __linux__ and __x86_64 -> __x86_64__; should be backported to jdk11 and jdk8 2020-12-19 14:53:55 +01:00
Jiri
20d245ecd7 Fixes comment for speculative store bypass patch 2020-12-19 14:53:55 +01:00
Jiri
faca292328 Replaced alt-java palceholder by real pathced alt-java
- added patch600, rh1750419-redhat_alt_java.patch, suprassing removed patch
- no longer copying of java->alt-java as it is created by  patch600
2020-12-19 14:53:55 +01:00
Jiri
ffd7bb2927 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-24 10:48:59 +01:00
Petra Mikova
6174c4b1e0 October CPU 2020 update 2020-11-01 15:21:08 +01:00
Severin Gehwolf
2fe44f457e Fix directory ownership of static-libs sub-package 2020-11-01 15:20:47 +01:00
Jiri Vanek
33cac71abd Build static-libs-image and add resulting files via -static-libs sub-package. 2020-11-01 15:20:27 +01:00
Petra Mikova
f4cd97b8db Add support for fastdebug builds on 64 bit architectures 2020-10-12 12:38:12 +02:00
Severin Gehwolf
874ffcc633 Update for JDK 15 GA 2020-09-16 12:22:27 +02:00
Petra Mikova
9d68467bef Update to OpenJDK 15
- Update to jdk 15.0.0.36 tag
- Modify rh1648249-add_commented_out_nss_cfg_provider_to_java_security.patch
- Update vendor version string to 20.9
- Remove jjs binaries from files after JEP 372: Nashorn removal
- Remove rmic binaries from files after JDK-8225319
2020-09-16 08:28:19 +02:00
Severin Gehwolf
05a8506fe4 Disable LTO for passing debuginfo check 2020-07-27 15:19:12 +02:00
Petra Mikova
a3e31f598f July 2020 CPU
Update to 14.0.2+12 sources
Remove upstreamed patches jdk8237879-make_4_3_build_fixes.patch, jdk8235833-posixplatform_cpp_should_not_include_sysctl_h.patch, jdk8243059-build_fails_when_with_vendor_contains_comma.patch
2020-07-22 17:02:04 +02:00
Petra Mikova
f8b9b4d90e 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 17:40:06 +02:00
Petra Mikova
02b4241e50 Update generate_source_tarball script to new icedtea patch 2020-05-26 13:03:07 +02:00
Petra Mikova
e63e26c813 Add patch for jdk8235833 to fix build issues in rawhide 2020-05-20 10:34:01 +02:00
Jiri
ad7e0b66c9 Moved vendor_version_string to better place 2020-04-23 16:45:29 +02:00
Severin Gehwolf
c45e4e4277 Fix vendor version string 2020-04-23 11:49:13 +02:00
Petra Mikova
ed5ef5c69e CPU update to OpenJDK 14.0.1+7 2020-04-20 14:02:15 +02:00
Jiri
e0187b47d0 Fxing build failure caused by "," in value of vendor property
Removing the comma is fixing the build, trying with $(COMMA)
2020-04-17 20:33:28 +02:00
Jiri
9d47beb6f3 Added --with-vendor id and url family of switches 2020-04-08 19:07:33 +02:00
Petra Mikova
eb30299f93 Uploaded new src tarball 2020-04-08 13:42:33 +02:00
Petra Mikova
d252fc5a16 Bump buildjdkver to 14 2020-03-31 12:10:25 +02:00
Petra Mikova
8fe8ade02f Remove s390x workaround
The bug was fixed in new release of gcc10
2020-03-27 10:54:32 +01:00
Petra Mikova
e810d7e2c4 Fix devel postinstall script
Removed a whitespace, causing failure of postinstall script
2020-03-24 10:34:19 +01:00
Petra Mikova
a7734237a6 Update to OpenJDK 14
- update to jdk 14+36 ea build
- remove JDK-8224851 patch, as OpenJDK 14 already contains it
- removed pack200 and unpack200 binaries, slaves, manpages and libunpack.so library
- added listings for jpackage binary, manpages and added slave records to alternatives

Replace pr3755 patch with pr3782 from icedtea14

Replace all occurences in the generate_source_tarball.sh script.

Mark the builds as ga, as OpenJDK 14 was released today
2020-03-19 10:43:21 +01:00
Petra Mikova
a12c2576b2 Fix make 4.3 build issues
JDK-8237879 causes build issues because of changes in make
2020-03-13 07:26:59 +01:00
Petra Mikova
0f4f0ca435 Fix build issues with GCC10
Added workaround for build failure on s390x
Added patch from jdk14 for build issues with aarch64
Added -fcommon switch to be able to build with GCC10
2020-03-02 13:58:39 +01:00