From: Tomas Mraz Date: Fri, 5 Sep 2025 07:20:11 +0000 (+0200) Subject: interop-tests.yml: Fix also the soversion in the RPM spec file X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bf73efee81e7ca1355a5b990aaa26eb3ad1323a2;p=thirdparty%2Fopenssl.git interop-tests.yml: Fix also the soversion in the RPM spec file Reviewed-by: Matt Caswell Reviewed-by: Neil Horman (Merged from https://github.com/openssl/openssl/pull/28451) --- diff --git a/.github/workflows/interop-tests.yml b/.github/workflows/interop-tests.yml index 147bd25d361..575fc12282b 100644 --- a/.github/workflows/interop-tests.yml +++ b/.github/workflows/interop-tests.yml @@ -39,7 +39,7 @@ jobs: mkdir -p /build/SPECS && cd /build && echo -e "%_topdir /build\n%_lto_cflags %{nil}" >~/.rpmmacros && rpmdev-setuptree cd /build && cp ${GITHUB_WORKSPACE}/interop/openssl/openssl.spec SPECS/ && \ cd SPECS/ && source ${GITHUB_WORKSPACE}/VERSION.dat && \ - sed -i "s/^Version: .*\$/Version: $MAJOR.$MINOR.$PATCH/" openssl.spec && \ + sed -i "s/soversion 3/soversion $SHLIB_VERSION/;s/^Version: .*\$/Version: $MAJOR.$MINOR.$PATCH/" openssl.spec && \ sed -i 's/^Release: .*$/Release: dev/' openssl.spec yum-builddep -y /build/SPECS/openssl.spec # just for sure nothing is missing mkdir -p /build/SOURCES