diff --git a/python-telegram-bot.spec b/python-telegram-bot.spec index eae3fa5..de9d87e 100644 --- a/python-telegram-bot.spec +++ b/python-telegram-bot.spec @@ -1,5 +1,5 @@ Name: python-telegram-bot -Version: 12.8 +Version: 13.0 Release: 1mamba Summary: A pure Python interface for the Telegram Bot API Group: System/Libraries @@ -13,16 +13,35 @@ License: LGPL BuildRequires: libpython-devel ## AUTOBUILDREQ-END Requires: python >= %python_version -Requires: python-certifi -Requires: python-urllib3 -Requires: python-future +#Requires: python-future BuildRoot: %{_tmppath}/%{name}-%{version}-root %description %{summary}. %if 0%{?with_pyver} -%pyver_package +%define pyver %{with_pyver} +%define pyappend py%{with_pyver} +%define __python %(rpm --eval %{__python%{with_pyver}}) +%define python_sitearch %(rpm --eval %{python%{with_pyver}_sitearch}) +%define python_sitelib %(rpm --eval %{python%{with_pyver}_sitelib}) +%define python_inc %(rpm --eval %{python%{with_pyver}_inc}) +%define python_version %(rpm --eval %{python%{with_pyver}_version}) +%define python_provides %(rpm --eval %{python%{with_pyver}_provides}) +%define python_requires %(rpm --eval %{python%{with_pyver}_requires}) +%define py_requires %(rpm --eval %{py%{with_pyver}_requires}) + +%package py%{pyver} +Group: System/Libraries/Python +Summary: %{summary}. +Requires: python-certifi-%{?pyappend} +Requires: python-urllib3-%{?pyappend} +Requires: python-APScheduler-%{?pyappend} +Requires: python-tornado-%{?pyappend} +%py_requires + +%description py%{pyver} +%{summary}. %endif %prep @@ -47,6 +66,9 @@ CFLAGS="%{optflags}" %{__python} setup.py build %doc LICENSE %changelog +* Thu Nov 19 2020 Silvan Calarco 13.0-1mamba +- update to 13.0 + * Sat Sep 12 2020 Automatic Build System 12.8-1mamba - automatic update by autodist