[Bug 2138915] Review Request: java-17-openjdk-portable - reusable OpenJDK 17 tarball

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=2138915



--- Comment #6 from jiri vanek <jvanek@xxxxxxxxxx> ---
@@ -423,9 +425,15 @@
 %define uniquesuffix()        %{expand:%{fullversion}.%{_arch}%{?1}}
 # portable only declarations
 %global jreimage                jre
+%if (0%{?rhel} > 0 && 0%{?rhel} < 8)
 %define jreportablenameimpl() %(echo %{uniquesuffix ""} | sed
"s;el7\\(_[0-9]\\)*;portable%{1}.jre.;g" | sed "s;openjdkportable;el;g")
 %define jdkportablenameimpl() %(echo %{uniquesuffix ""} | sed
"s;el7\\(_[0-9]\\)*;portable%{1}.jdk.;g" | sed "s;openjdkportable;el;g")
 %define staticlibsportablenameimpl() %(echo %{uniquesuffix ""} | sed
"s;el7\\(_[0-9]\\)*;portable%{1}.static-libs.;g" | sed
"s;openjdkportable;el;g")
+%else
+%define jreportablenameimpl() %(echo %{uniquesuffix ""} | sed
"s;fc\\([0-9]\\)*;\\0.portable%{1}.jre;g" | sed "s;openjdkportable;el;g")
+%define jdkportablenameimpl() %(echo %{uniquesuffix ""} | sed
"s;fc\\([0-9]\\)*;\\0.portable%{1}.jdk;g" | sed "s;openjdkportable;el;g")
+%define staticlibsportablenameimpl() %(echo %{uniquesuffix ""} | sed
"s;fc\\(_[0-9]\\)*;\\0.portable%{1}.static-libs;g" | sed
"s;openjdkportable;el;g")
+%endif
 %define jreportablearchive()  %{expand:%{jreportablenameimpl -- %%{1}}.tar.xz}
 %define jdkportablearchive()  %{expand:%{jdkportablenameimpl -- %%{1}}.tar.xz}
 %define staticlibsportablearchive()  %{expand:%{staticlibsportablenameimpl --
%%{1}}.tar.xz}


for x in `ls` ; do echo $x ; rpm -ql $x; done
java-17-openjdk-portable-17.0.5.0.8-2.fc36.x86_64.rpm
/usr/lib/jvm/java-17-openjdk-17.0.5.0.8-2.fc36.portable.jre.x86_64.tar.xz
/usr/lib/jvm/java-17-openjdk-17.0.5.0.8-2.fc36.portable.jre.x86_64.tar.xz.sha256sum
java-17-openjdk-portable-devel-17.0.5.0.8-2.fc36.x86_64.rpm
/usr/lib/jvm/java-17-openjdk-17.0.5.0.8-2.fc36.portable.debuginfo.jdk.x86_64.tar.xz
/usr/lib/jvm/java-17-openjdk-17.0.5.0.8-2.fc36.portable.debuginfo.jdk.x86_64.tar.xz.sha256sum
/usr/lib/jvm/java-17-openjdk-17.0.5.0.8-2.fc36.portable.jdk.x86_64.tar.xz
/usr/lib/jvm/java-17-openjdk-17.0.5.0.8-2.fc36.portable.jdk.x86_64.tar.xz.sha256sum
java-17-openjdk-portable-static-libs-17.0.5.0.8-2.fc36.x86_64.rpm
/usr/lib/jvm/java-17-openjdk-17.0.5.0.8-2.fc.portable.static-libs36.x86_64.tar.xz
/usr/lib/jvm/java-17-openjdk-17.0.5.0.8-2.fc.portable.static-libs36.x86_64.tar.xz.sha256sum


still not best... spec and srpm udpated


-- 
You are receiving this mail because:
You are always notified about changes to this product and component
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2138915
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/package-review@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux