From b8094f3355e4c7f5c2d2746bd445e26f874d5b4b89268e7a450d0448b204a792 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Fri, 28 Feb 2020 14:15:41 +0000 Subject: [PATCH] - Format with spec-cleaner - Add missing runtime dependencies OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Telethon?expand=0&rev=2 --- python-Telethon.changes | 6 ++++++ python-Telethon.spec | 22 +++++++++++----------- 2 files changed, 17 insertions(+), 11 deletions(-) diff --git a/python-Telethon.changes b/python-Telethon.changes index 44511a3..e205e2f 100644 --- a/python-Telethon.changes +++ b/python-Telethon.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Feb 28 14:15:21 UTC 2020 - Tomáš Chvátal + +- Format with spec-cleaner +- Add missing runtime dependencies + ------------------------------------------------------------------- Thu Feb 27 13:15:34 UTC 2020 - Dead Mozay diff --git a/python-Telethon.spec b/python-Telethon.spec index d666f98..5288ec2 100644 --- a/python-Telethon.spec +++ b/python-Telethon.spec @@ -1,7 +1,7 @@ # # spec file for package python-Telethon # -# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,8 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# %{?!python_module:%define python_module() python-%{**} python3-%{**}} @@ -21,22 +22,21 @@ Name: python-Telethon Version: 1.11.3 Release: 0 -License: MIT Summary: Full-featured Telegram client library for Python 3 -Url: https://github.com/LonamiWebs/Telethon -Group: Development/Languages/Python -Source: https://files.pythonhosted.org/packages/source/t/telethon/Telethon-%{version}.tar.gz -BuildRequires: python-rpm-macros -BuildRequires: %{python_module rsa} +License: MIT +URL: https://github.com/LonamiWebs/Telethon +Source: https://files.pythonhosted.org/packages/source/T/Telethon/Telethon-%{version}.tar.gz BuildRequires: %{python_module pyaes} -BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest-asyncio} -BuildRequires: %{python_module pytest-trio} BuildRequires: %{python_module pytest-tornasync} +BuildRequires: %{python_module pytest-trio} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module rsa} BuildRequires: %{python_module setuptools} BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-rsa BuildArch: noarch - %python_subpackages %description