Skip to content

Commit

Permalink
fix: tdlib (#2456)
Browse files Browse the repository at this point in the history
* fix: tdlib

Signed-off-by: madomado <[email protected]>

* Update tdlib-nightly.spec

Signed-off-by: madomado <[email protected]>

* Update tdlib-nightly.spec

Signed-off-by: madomado <[email protected]>

---------

Signed-off-by: madomado <[email protected]>
(cherry picked from commit 903f9b6)
  • Loading branch information
madonuko authored and raboneko committed Dec 10, 2024
1 parent 8da4df8 commit a8b5188
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions anda/lib/tdlib/tdlib-nightly.spec
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit a8b5188

Please sign in to comment.