15
0

Fix URL, use the GitHub tarballs.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Telethon?expand=0&rev=13
This commit is contained in:
2021-06-14 18:22:40 +00:00
committed by Git OBS Bridge
parent 56365cbcdf
commit 94ccdbce58
5 changed files with 4 additions and 22 deletions

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5ee2a8ec8988c05404642d5b46413ffcdfcd21709834e180ab95c6a49244e209
size 455362
oid sha256:793a98e775f7f4261fb7fa7a4a447f92a663e6697c7a7a5afcf3a54bfd3cf289
size 446169

View File

@@ -1,14 +0,0 @@
<services>
<service name="tar_scm" mode="disabled">
<param name="url">https://github.com/LonamiWebs/Telethon.git</param>
<param name="scm">git</param>
<param name="changesgenerate">enable</param>
<param name="version">1.21.1</param>
<param name="revision">v1.21.1</param>
</service>
<service name="recompress" mode="disabled">
<param name="compression">gz</param>
<param name="file">*.tar</param>
</service>
<service name="set_version" mode="disabled"/>
</services>

View File

@@ -1,4 +0,0 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/LonamiWebs/Telethon.git</param>
<param name="changesrevision">1cef9173a0fea2f7f7ea638e914092f2ce80f778</param></service></servicedata>

View File

@@ -169,7 +169,6 @@ Mon Jun 14 13:51:37 UTC 2021 - Matej Cepl <mcepl@suse.com>
- Getting the buttons for a message could fail sometimes.
- Getting the display name for “forbidden” chats now works.
- Better handling of errors in some internal methods.
- Use git checkout to have tests again.
-------------------------------------------------------------------
Wed Oct 21 03:32:46 UTC 2020 - Steve Kowalik <steven.kowalik@suse.com>

View File

@@ -19,13 +19,14 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
# Python2 is not supported
%define skip_python2 1
%define modname Telethon
Name: python-Telethon
Version: 1.21.1
Release: 0
Summary: Full-featured Telegram client library for Python 3
License: MIT
URL: https://github.com/LonamiWebs/Telethon
Source: https://files.pythonhosted.org/packages/source/T/Telethon/Telethon-%{version}.tar.gz
Source: https://github.com/LonamiWebs/%{modname}/archive/refs/tags/v%{version}.tar.gz#/%{modname}-%{version}.tar.gz
BuildRequires: %{python_module pyaes}
BuildRequires: %{python_module pytest-asyncio}
BuildRequires: %{python_module pytest-tornasync}