Commit Graph

303 Commits

Author SHA1 Message Date
Thomas Fitzsimmons
be3905d4aa Consistently end scriptlets with exit 0
- Consistently end scriptlets with exit 0
- Resolves: RHEL-68848
2024-12-20 10:42:07 -05:00
Thomas Fitzsimmons
4c454ba831 Document priority_for
- Document priority_for
- Related: RHEL-68848
2024-12-20 10:41:55 -05:00
Thomas Fitzsimmons
cc3867b376 Remove unused family macros
- Remove unused family macros
- Related: RHEL-68848
2024-12-20 10:41:42 -05:00
Thomas Fitzsimmons
4b8ef12507 Comment on alternatives removal in preun and RPM scriptlet idiom
- Comment on alternatives removal in preun and RPM scriptlet idiom
- Related: RHEL-68848
2024-12-20 10:41:31 -05:00
Thomas Fitzsimmons
13fc325237 Use RPM global macro for man page file extension and unwrap --slave lines
- Use RPM global macro for man page file extension and unwrap --slave lines
- Resolves: RHEL-71924
2024-12-20 10:40:56 -05:00
Thomas Fitzsimmons
a989b20da6 Do not overwrite slowdebug __provides_exclude_from
- Do not overwrite slowdebug __provides_exclude_from and __requires_exclude_from regexps
- Resolves: RHEL-69995
2024-12-20 10:40:45 -05:00
Thomas Fitzsimmons
fb87846300 Use compatiblename not name in uniquejavadocdir and uniquesuffix
- Use compatiblename not name in uniquejavadocdir and uniquesuffix
- Related: RHEL-68848

%{name} is not defined until Name is specified later in the file.  Use
compatible name in early macros.  __provides_exclude_from and
__requires_exclude_from in particular need this change, otherwise the
regular expression expanded from %{uniquesuffix ...} contains a
literal %{name} and does not match libraries that are intended to be
excluded.
2024-12-20 10:40:22 -05:00
Thomas Fitzsimmons
0d40b6cf94 Delete old conflicting links in pretrans for headless, javadoc and javadoc-zip
- Delete old conflicting links in pretrans for headless, javadoc and javadoc-zip
- Related: RHEL-68848
2024-12-20 10:40:09 -05:00
Thomas Fitzsimmons
02fa1f2d05 Make javadoc-zip own /usr/share/javadoc/java-21-openjdk
- Make javadoc-zip own /usr/share/javadoc/java-21-openjdk
- Resolves: RHEL-69321
2024-12-20 10:39:50 -05:00
Thomas Fitzsimmons
a1d5028148 Make headless own /usr/share/doc/java-21-openjdk
- Make headless own /usr/share/doc/java-21-openjdk
- Related: RHEL-69321
2024-12-20 10:39:30 -05:00
Thomas Fitzsimmons
7c62525356 Take ownership of versioned jvmdir in javadoc, javadoc-zip subpackages
- Take ownership of versioned jvmdir in javadoc, javadoc-zip subpackages
- Resolves: RHEL-71954
2024-12-20 10:39:04 -05:00
Thomas Fitzsimmons
bf763b07ad Eliminate javadoc "failed to link ... exists and it is not a symlink" warning
- Eliminate javadoc "failed to link [/usr/share/javadoc/java-21-openjdk] exists and it is not a symlink" warning
- Related: RHEL-68848
2024-12-20 10:38:48 -05:00
Thomas Fitzsimmons
dd8226be97 Eliminate javadoc-zip "failed to link ... exists and it is not a symlink" warning
- Eliminate javadoc-zip "failed to link [/usr/share/javadoc/java-21-openjdk.zip] exists and it is not a symlink" warning
- Related: RHEL-68848
2024-12-20 10:38:32 -05:00
Thomas Fitzsimmons
66ba625ecf Eliminate devel "failed to link ... exists and it is not a symlink" warning
- Eliminate devel "failed to link [/usr/lib/jvm/java-21-openjdk] exists and it is not a symlink" warning
- Related: RHEL-68848
2024-12-20 10:38:15 -05:00
Thomas Fitzsimmons
979772ebf9 Fix classes.jsa and classes_nocoops.jsa file-listed-twice warnings
- Fix classes.jsa and classes_nocoops.jsa file-listed-twice warnings
- Resolves: RHEL-71920
2024-12-20 10:37:51 -05:00
Thomas Fitzsimmons
d0e6801e15 Remove full version from uniquesuffix
- Remove full version from uniquesuffix
- Related: RHEL-68848
2024-12-20 10:30:18 -05:00
Thomas Fitzsimmons
5b0a7267f6 Remove full version from uniquejavadocdir
- Remove full version from uniquejavadocdir
- Related: RHEL-68848
2024-12-20 10:30:18 -05:00
Thomas Fitzsimmons
c5e1dc484f Replace jrelnk alternative with sdkdir
- Replace jrelnk alternative with sdkdir
- Related: RHEL-68848
2024-12-20 10:30:18 -05:00
Thomas Fitzsimmons
bad655b906 Move alternatives installation from posttrans to post
- Move alternatives installation from posttrans to post
- Related: RHEL-68848
2024-12-20 10:30:18 -05:00
Thomas Fitzsimmons
3523fc4a64 Remove exit 0 from alternatives scriptlets
- Remove exit 0 from alternatives scriptlets
- Related: RHEL-68848
2024-12-20 10:30:18 -05:00
Thomas Fitzsimmons
bbb8d622ae Unroll alternatives --install loops
- Unroll alternatives --install loops
- Related: RHEL-68848
2024-12-20 10:30:18 -05:00
Thomas Fitzsimmons
768613be8c Remove set_if_needed_alternatives
- Remove set_if_needed_alternatives
- Related: RHEL-68848
2024-12-20 10:30:18 -05:00
Thomas Fitzsimmons
938f10155b Unwrap alternatives --install lines
- Unwrap alternatives --install lines
- Related: RHEL-68848

The idea with this and the next few patches is that one can use Emacs
Occur mode or grep on the command line to list all alternative masters
by searching for "alternatives --install".
2024-12-20 10:30:18 -05:00
Thomas Fitzsimmons
fb379dff95 Inline .gz for alternatives slave man pages
- Inline .gz for alternatives slave man pages
- Related: RHEL-68848
2024-12-20 10:30:18 -05:00
Thomas Fitzsimmons
66b975535a Remove extra newlines
- Remove extra newlines
- Related: RHEL-68848
2024-12-20 10:30:18 -05:00
Thomas Fitzsimmons
2e945c75c3 Precompute alternative priorities at build time
- Precompute alternative priorities at build time
- Related: RHEL-68848
2024-12-20 10:30:18 -05:00
Thomas Fitzsimmons
41185b81bf Remove --family arguments to alternatives --install
- Remove --family arguments to alternatives --install
- Related: RHEL-68848
2024-12-20 10:30:18 -05:00
Thomas Fitzsimmons
86b20e17d5 Move postun alternatives logic to preun
- Move postun alternatives logic to preun
- Related: RHEL-68848
2024-12-20 10:30:02 -05:00
Thomas Fitzsimmons
adf8faf24f Remove alternatives removal special handling
- Remove alternatives removal special handling
- Related: RHEL-68848
2024-12-20 10:03:33 -05:00
Thomas Fitzsimmons
7e5968585a Remove copy-jdk-configs logic
- Remove copy-jdk-configs logic
- Related: RHEL-68848
2024-12-20 10:02:29 -05:00
Thomas Fitzsimmons
51a8a9c81f Revert incorrect automated Release change from 1:21.0.5.0.11-2.1
- Revert incorrect automated Release change from 1:21.0.5.0.11-2.1
- Set rpmrelease to 4
- Related: RHEL-68848
2024-12-20 10:01:42 -05:00
Troy Dawson
6b12656d1f Bump release for October 2024 mass rebuild:
Resolves: RHEL-64018
2024-10-29 08:37:31 -07:00
Andrew Hughes
812250b5c9 Sync the copy of the portable specfile with the latest update
- Related: RHEL-61276
2024-10-23 20:46:11 +01:00
Andrew Hughes
74a098ef73 Update to jdk-21.0.5+11 (GA)
- Update release notes to 21.0.5+11
- Remove local JDK-8327501 & JDK-8328366 backport as this is now upstream.

- Related: RHEL-61276
2024-10-23 20:45:44 +01:00
Andrew Hughes
7b1e0a26ce Sync the copy of the portable specfile with the latest update
** This tarball is embargoed until 2024-10-15 @ 1pm PT. **

- Related: RHEL-61276
2024-10-23 20:45:18 +01:00
Andrew Hughes
0134e00f77 Update to jdk-21.0.5+10 (GA)
- Update release notes to 21.0.5+10
- Switch to GA mode.
- Revert JDK-8327501 & JDK-8328366 backport until more mature.

** This tarball is embargoed until 2024-10-15 @ 1pm PT. **

- Resolves: RHEL-61276
2024-10-23 20:44:05 +01:00
Andrew Hughes
704ef99843 pkgos definition needs to be early enough to be used in portablesuffix
- Related: RHEL-62239
2024-10-11 22:47:15 +01:00
Andrew Hughes
7c5b900a61 Sync the copy of the portable specfile with the latest update
- Related: RHEL-62239
2024-10-11 21:16:30 +01:00
Andrew Hughes
a5ce9b0a6c Update to jdk-21.0.5+9 (EA)
- Update release notes to 21.0.5+9

- Resolves: RHEL-62239
2024-10-11 21:15:47 +01:00
Andrew Hughes
5fd29db358 Update to jdk-21.0.5+5 (EA)
- Update release notes to 21.0.5+5

- Related: RHEL-62239
2024-10-11 20:32:20 +01:00
Andrew Hughes
4f77af492e Make build scripts executable
- Related: RHEL-62239
2024-10-11 20:31:09 +01:00
Andrew Hughes
0de3d06119 Add build scripts to repository to ease remembering all CentOS & RHEL targets and options
Related: RHEL-62239
2024-10-11 20:30:01 +01:00
Andrew Hughes
a79156e35a Update to jdk-21.0.5+1 (EA)
- Update release notes to 21.0.5+1
- Switch to EA mode
- Bump giflib version to 5.2.2 following JDK-8328999
- Bump libpng version to 1.6.43 following JDK-8329004

- Related: RHEL-62239
- Resolves: RHEL-62241
2024-10-11 20:27:33 +01:00
Andrew Hughes
ecd52634b9 Sync with RHEL 7 portable build
- Use ExclusiveArch over ExcludeArch

- Related: RHEL-62239
2024-10-11 20:03:19 +01:00
Andrew Hughes
871818d536 Vary portablesuffix depending on whether we are on RHEL ('el8') or CentOS ('el9')
Related: RHEL-47024
2024-08-04 23:16:41 +01:00
Andrew Hughes
9a948b5006 Add missing section headers in NEWS
Related: RHEL-47024
2024-08-04 23:10:41 +01:00
Andrew Hughes
17de638368 Sync the copy of the portable specfile with the latest update
Related: RHEL-47024
2024-08-04 23:10:04 +01:00
Andrew Hughes
aa9d2e9de0 Update to jdk-21.0.4+7 (GA)
Update release notes to 21.0.4+7
Switch to GA mode.

** This tarball is embargoed until 2024-07-16 @ 1pm PT. **

Resolves: RHEL-47024
2024-08-04 23:08:26 +01:00
Andrew Hughes
8d72e8a1f4 Actually require tzdata 2024a now it is available in the buildroot
Related: RHEL-52723
2024-08-04 23:07:15 +01:00
Andrew Hughes
9ee37c00b6 Limit Java only tests to one architecture using jdk_test_arch
Resolves: RHEL-52735
2024-08-04 23:04:23 +01:00