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