public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Sun Haiyong <sunhaiyong@zdbr.net>
To: git-commits@fedoraproject.org
Subject: [rpms/openssl] rawhide: Add loongarch64 support.
Date: Mon, 22 Jun 2026 07:34:06 GMT	[thread overview]
Message-ID: <178211364610.1.11624132504283319480.rpms-openssl-4fd22a7ec96e@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/openssl
            Branch : rawhide
            Commit : 4fd22a7ec96e7c88e792754cab14aaf347c74208
            Author : Sun Haiyong <sunhaiyong@zdbr.net>
            Date   : 2026-06-22T10:28:43+08:00
            Stats  : +10/-2 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/openssl/c/4fd22a7ec96e7c88e792754cab14aaf347c74208?branch=rawhide

            Log:
            Add loongarch64 support.

sslarch use linux64-loongarch64 for loongarch64
add --libdir=%{_lib} for loongarch64

Signed-off-by: Sun Haiyong <sunhaiyong@zdbr.net>

---
diff --git a/openssl.spec b/openssl.spec
index f9f6bc8..08a89ed 100644
--- a/openssl.spec
+++ b/openssl.spec
@@ -30,7 +30,7 @@ print(string.sub(hash, 0, 16))
 Summary: Utilities from the general purpose cryptography library with TLS implementation
 Name: openssl
 Version: 4.0.1
-Release: 1%{?dist}
+Release: 2%{?dist}
 Epoch: 1
 Source0: openssl-%{version}.tar.gz
 Source1: fips-hmacify.sh
@@ -214,6 +214,10 @@ ktlsopt=enable-ktls
 %ifarch armv7hl
 ktlsopt=disable-ktls
 %endif
+%ifarch loongarch64
+sslarch=linux64-loongarch64
+%endif
+
 
 # Add -Wa,--noexecstack here so that libcrypto's assembler modules will be
 # marked as not requiring an executable stack.
@@ -230,7 +234,7 @@ export HASHBANGPERL=/usr/bin/perl
 # RPM_OPT_FLAGS, so we can skip specifiying them here.
 ./Configure \
 	--prefix=%{_prefix} --openssldir=%{_sysconfdir}/pki/tls ${sslflags} \
-%ifarch riscv64
+%ifarch riscv64 loongarch64
         --libdir=%{_lib} \
 %endif
 	--system-ciphers-file=%{_sysconfdir}/crypto-policies/back-ends/opensslcnf.config \
@@ -434,6 +438,10 @@ ln -s /etc/crypto-policies/back-ends/openssl_fips.config $RPM_BUILD_ROOT%{_sysco
 %ldconfig_scriptlets libs
 
 %changelog
+* Mon Jun 22 2026 Sun Haiyong <sunhaiyong@zdbr.net> - 1:4.0.1-2
+- Add sslarch use linux64-loongarch64 for loongarch64
+- Add --libdir=%{_lib} for loongarch64
+
 * Tue Jun 09 2026 Dmitry Belyavskiy <dbelyavs@redhat.com> - 1:4.0.1-1
 - Rebase to OpenSSL 4.0.1
 

                 reply	other threads:[~2026-06-22  7:34 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178211364610.1.11624132504283319480.rpms-openssl-4fd22a7ec96e@fedoraproject.org \
    --to=sunhaiyong@zdbr.net \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox