]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
interop-tests.yml: Fix also the soversion in the RPM spec file
authorTomas Mraz <tomas@openssl.org>
Fri, 5 Sep 2025 07:20:11 +0000 (09:20 +0200)
committerTomas Mraz <tomas@openssl.org>
Fri, 5 Sep 2025 16:27:27 +0000 (18:27 +0200)
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/28451)

.github/workflows/interop-tests.yml

index 147bd25d36193dbde1e2c10187493f89f94da8d9..575fc12282b8fc7e2ca9f80d96008473f6e2baf7 100644 (file)
@@ -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