Commit Graph

67 Commits

Author SHA1 Message Date
Severin Gehwolf
69d957a5dd 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 19:19:04 +02:00
Jiri
359dc9f851 bumped buildjdkver to build by itself - 16 2021-04-25 19:19:04 +02:00
Jiri
c48a04efa6 fixed suggests of wrong pcsc-lite-devel%{?_isa} to correct pcsc-lite-libs%{?_isa} 2021-03-11 08:28:50 +01:00
Andrew John Hughes
2a0960d263 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:28:47 +01:00
Andrew John Hughes
c693943226 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:28:44 +01:00
Fedora Release Engineering
599faf3ea8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-03-11 08:28:41 +01:00
Jiri Vanek
64b9b2511d Backport of recent changes from master and update to jdk-15.0.2.0+7
Fixed typo in variable
Use -march=i686 for x86 builds if -fcf-protection is detected (needs CMOV)
Update to jdk-15.0.2.0+7
2021-01-25 11:43:25 +01:00
Jiri
e1545e59b6 fixed missing condition for fastdebug packages being counted as debug ones 2020-12-22 11:43:05 +01:00
Jiri
530bdecff8 removed lib-style provides for fastdebug_suffix_unquoted 2020-12-22 07:58:52 +01:00
Jiri
e9ca0d5d8f Added few missing majorver into descriptions 2020-12-22 07:58:52 +01:00
Jiri
1b0c4d9b6b 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:58:52 +01:00
Jiri Vanek
d1671f2538 Added checks and restrictions around alt-java 2020-12-19 14:54:44 +01:00
Jiri Vanek
506d9db2ce Fixed not-including fastdebugbuild in case of --without fastdebug 2020-12-19 14:54:44 +01:00
Jiri Vanek
c437856433 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:54:44 +01:00
Jiri
57733f0ff9 Redeffined linux -> __linux__ and __x86_64 -> __x86_64__; should be backported to jdk11 and jdk8 2020-12-19 14:54:44 +01:00
Jiri
ee22bacd6a Fixes comment for speculative store bypass patch 2020-12-19 14:54:44 +01:00
Jiri
28b9ba1b65 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:54:44 +01:00
Jiri
2b3ed0edee 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:49:56 +01:00
Petra Mikova
ce6bf8b5af October CPU 2020 update 2020-11-01 16:38:35 +01:00
Severin Gehwolf
01e1d81aed Fix directory ownership of static-libs sub-package 2020-11-01 16:38:29 +01:00
Jiri Vanek
dcf0dad9d1 Build static-libs-image and add resulting files via -static-libs sub-package. 2020-11-01 16:38:19 +01:00
Petra Mikova
b0185ffb04 Add support for fastdebug builds on 64 bit architectures 2020-10-12 12:56:36 +02:00
Severin Gehwolf
b5bb50fc8f Update for JDK 15 GA 2020-09-16 12:22:36 +02:00
Petra Mikova
194eadfb57 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:30:45 +02:00
Petra Mikova
d60452d8e2 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-23 13:12:36 +02:00
Petra Mikova
4978d42c4f 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-10 10:24:08 +02:00
Petra Mikova
3ddf46ed94 Update generate_source_tarball script to new icedtea patch 2020-07-10 10:22:05 +02:00
Jiri
d5d4b39c4c Moved vendor_version_string to better place 2020-04-29 10:30:38 +02:00
Petra Mikova
34b7acba5b Bump buildjdkver to 14 2020-04-29 10:30:36 +02:00
Severin Gehwolf
c26880acd8 Fix vendor version string 2020-04-23 13:58:01 +02:00
Petra Mikova
82798ef790 CPU update to OpenJDK 14.0.1+7 2020-04-22 18:19:26 +02:00
Jiri
0313620e0e Fxing build failure caused by "," in value of vendor property
Removing the comma is fixing the build, trying with $(COMMA)
2020-04-20 13:57:38 +02:00
Jiri
c819146128 Added --with-vendor id and url family of switches 2020-04-20 13:55:29 +02:00
Petra Mikova
ebff1ebd14 Uploaded new src tarball 2020-04-08 15:43:06 +02:00
Petra Mikova
552a6c4924 Remove s390x workaround
The bug was fixed in new release of gcc10
2020-04-08 15:42:00 +02:00
Jiri
bee5ae1670 Fix devel postinstall script
Removed a whitespace, causing failure of postinstall script
2020-03-24 18:28:49 +01:00
Petra Mikova
37c42c1f0f 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 16:47:43 +01:00
Petra Mikova
e4cf39bf47 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-12 16:04:11 +01:00
Petra Mikova
76e4b4f5dd Fix release broken by last rpmdev-specbump 2020-02-04 09:53:36 +01:00
Fedora Release Engineering
c26a916edf - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-29 05:55:24 +00:00
Petra Mikova
82e5b342fd CPU sources update to 13.0.2+8 tag
Removed obsoleted patches and uploaded new tarball
2020-01-18 13:38:53 +01:00
Petra Mikova
a6c61be805 Renamed patches according to the convention 2019-10-25 14:36:08 +02:00
Petra Mikova
20d8edbf09 Create new section for the patches that will be upstreamed in 13.0.2 2019-10-25 14:00:33 +02:00
Petra Mikova
2c7ed40a2c Add shenandoah patches that did not make it to 13.0.1.9
Also changed hardcoded version of source for macro
2019-10-25 13:12:18 +02:00
Petra Mikova
b473268bb0 Updated to October 2019 CPU sources 2019-10-22 20:45:42 +02:00
Petra Mikova
3a77472506 Changed rpmrelease to 3, replaced previously missed occurences of PR3681 with PR3755 2019-10-21 08:38:32 +02:00
Petra Mikova
2fc99891cd Synced up patches and generate tarball script
Removed pr2126 and regenerated sources with the updated script
2019-10-16 15:49:17 +02:00
Andrew Hughes
8c42f42635 Switch to in-tree SunEC code, dropping NSS runtime dependencies and patches to link against it. 2019-10-16 15:47:28 +02:00
Andrew Hughes
da8c46f7d3 Drop unnecessary build requirement on gtk3-devel, as OpenJDK searches for Gtk+ at runtime.
Add missing build requirement for libXrender-devel, previously masked by Gtk3+ dependency
Add missing build requirement for libXrandr-devel, previously masked by Gtk3+ dependency
fontconfig build requirement should be fontconfig-devel, previously masked by Gtk3+ dependency
2019-10-16 15:45:14 +02:00
Andrew Hughes
d38ad1131f Obsolete javadoc-slowdebug and javadoc-slowdebug-zip packages via javadoc and javadoc-zip respectively. 2019-10-16 15:43:13 +02:00