From a8b518818be4ae391c3f7017c614355d90548e71 Mon Sep 17 00:00:00 2001 From: madomado Date: Wed, 11 Dec 2024 01:36:58 +0800 Subject: [PATCH] fix: tdlib (#2456) * fix: tdlib Signed-off-by: madomado * Update tdlib-nightly.spec Signed-off-by: madomado * Update tdlib-nightly.spec Signed-off-by: madomado --------- Signed-off-by: madomado (cherry picked from commit 903f9b68ba738e4fecb1678b8ca791ccca2e9bca) --- anda/lib/tdlib/tdlib-nightly.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/anda/lib/tdlib/tdlib-nightly.spec b/anda/lib/tdlib/tdlib-nightly.spec index 8d28faadd1..f24fbe3131 100644 --- a/anda/lib/tdlib/tdlib-nightly.spec +++ b/anda/lib/tdlib/tdlib-nightly.spec @@ -49,6 +49,7 @@ Requires: %name-devel%?_isa = %{?epoch:%epoch:}%version-%release %prep %autosetup -n td-%commit -p1 +rm %SOURCE0 sed -e 's/"DEFAULT"/"PROFILE=SYSTEM"/g' -i tdnet/td/net/SslStream.cpp %build @@ -62,6 +63,10 @@ sed -e 's/"DEFAULT"/"PROFILE=SYSTEM"/g' -i tdnet/td/net/SslStream.cpp %install %cmake_install +mv LICENSE_1_0.txt *.md .. +rm -rf * +mv ../LICENSE_1_0.txt ../*.md . + %files %license LICENSE_1_0.txt %doc README.md CHANGELOG.md