diff --git a/typst.spec b/typst.spec index 8adfbb7..5abe6b8 100644 --- a/typst.spec +++ b/typst.spec @@ -19,6 +19,7 @@ BuildRequires: curl %endif BuildRequires: upx BuildRequires: pkgconfig(openssl) +BuildRequires: openssl1.1-devel %description Typst is a new markup-based typesetting system that is @@ -47,6 +48,8 @@ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs |\ source "$HOME/.cargo/env" %endif +export OPENSSL_DIR=/opt/openssl1.1/ + cargo build --release upx target/release/%{name}