Configuring portablerhel macro value as %{msvsphere}

i9
Alexey Lyubimov 2 years ago
parent cb21302a33
commit b1123991a0

@ -376,7 +376,7 @@
%global rpmrelease 4 %global rpmrelease 4
# Settings used by the portable build # Settings used by the portable build
%global portablerelease 2 %global portablerelease 2
%global portablerhel 8 %global portablerhel %{msvsphere}
%global portablesuffix el%{portablerhel} %global portablesuffix el%{portablerhel}
%global portablebuilddir /builddir/build/BUILD %global portablebuilddir /builddir/build/BUILD
@ -1268,7 +1268,7 @@ Provides: java-%{origin}-src%{?1} = %{epoch}:%{version}-%{release}
Name: java-%{javaver}-%{origin} Name: java-%{javaver}-%{origin}
Version: %{newjavaver}.%{buildver} Version: %{newjavaver}.%{buildver}
Release: %{?eaprefix}%{rpmrelease}%{?extraver}%{?dist} Release: %{?eaprefix}%{rpmrelease}%{?extraver}%{?dist}.inferit
# java-1.5.0-ibm from jpackage.org set Epoch to 1 for unknown reasons # java-1.5.0-ibm from jpackage.org set Epoch to 1 for unknown reasons
# and this change was brought into RHEL-4. java-1.5.0-ibm packages # and this change was brought into RHEL-4. java-1.5.0-ibm packages
# also included the epoch in their virtual provides. This created a # also included the epoch in their virtual provides. This created a
@ -2479,6 +2479,9 @@ require "copy_jdk_configs.lua"
%endif %endif
%changelog %changelog
* Thu Jun 15 2023 Alexey Lyubimov <a.lyubimov@msvsphere.ru> - 11.0.19.0.7-4.inferit
- Change portablesuffix
* Wed Apr 26 2023 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.19.0.7-4 * Wed Apr 26 2023 Andrew Hughes <gnu.andrew@redhat.com> - 1:11.0.19.0.7-4
- Include the java-11-openjdk-portable.spec file with instructions on how to rebuild. - Include the java-11-openjdk-portable.spec file with instructions on how to rebuild.
- Related: rhbz#2150201 - Related: rhbz#2150201

Loading…
Cancel
Save