powershell-bin: 7.0.0 bump

This commit is contained in:
blshkv 2020-03-21 10:38:38 +08:00
parent 20cbcb94c3
commit 03e0d1f84f
No known key found for this signature in database
GPG key ID: 273E3E90D1A6294F
2 changed files with 5 additions and 5 deletions

View file

@ -1,2 +1,2 @@
DIST powershell-6.2.3-1.rhel.7.x86_64.rpm 57013496 BLAKE2B c3fd9aa246590305d54beb1ab704f7f7f4258a4b64bdee8a159c31e4f1ebcd5ed83b0bde0ca94b7a5cc3f7e7490b0fe85467c099ca71e8b9cddd65146a02986c SHA512 c17e7e22a7893d90dfcca91b461020e02c90aadffda939e08a203f9cb9eb4079fddf1b02ae0fa2d1a3024a1c3b9d2259f3eed58c5fe16ae2356835b9dd2eb3fb
DIST powershell-6.2.4-1.rhel.7.x86_64.rpm 57019819 BLAKE2B 1baa51915f7daabd87dd0f970b240116ed810123a3cb7cd056d8f87754f32e2e8006f3c190055f532f21381044b37c91ec8d74a763cb2c5d0ec15bab2290c576 SHA512 a079df4b7bf98e1ed3a02357ba5562faa2f358093ac25ecbdc649661bb2fc04eef1f9082be67951bb4d269f68dd68fdf54f4cf4e3258e7197004b498f63edfa2
DIST powershell-7.0.0-1.rhel.7.x86_64.rpm 57857849 BLAKE2B e51caaa6fabd6b94aba003c12b013ffe1cd8524e75a0924112caf79c88f7c83a5da8690201fa753249376087fd581c333cefb8b78a3332eb068b610e5a756b3d SHA512 b69bb5df4ef7b37840f2a3bdc673bc726ba9345d347b15a2e57c2fd4834926b85970d461e9d57346777094c988e5734a5d53189af774fe18b430456c2808947d

View file

@ -1,4 +1,4 @@
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@ -28,13 +28,13 @@ S="${WORKDIR}"
src_prepare() {
#fix symlinks
rm opt/microsoft/powershell/6/{libcrypto.so.1.0.0,libssl.so.1.0.0}
rm opt/microsoft/powershell/7/{libcrypto.so.1.0.0,libssl.so.1.0.0}
default
}
src_install() {
# Using doins -r would strip executable bits from all binaries
cp -pPR "${S}"/{opt,usr/bin} "${D}"/ || die "Failed to copy files"
dosym "${EPREFIX}/usr/$(get_libdir)/libcrypto.so.1.0.0" /opt/microsoft/powershell/6/libcrypto.so.1.0.0
dosym "${EPREFIX}/usr/$(get_libdir)/libssl.so.1.0.0" /opt/microsoft/powershell/6/libssl.so.1.0.0
dosym "${EPREFIX}/usr/$(get_libdir)/libcrypto.so.1.0.0" /opt/microsoft/powershell/7/libcrypto.so.1.0.0
dosym "${EPREFIX}/usr/$(get_libdir)/libssl.so.1.0.0" /opt/microsoft/powershell/7/libssl.so.1.0.0
}