rebuilt with distdeps [release 13.10-2mamba;Tue Jan 25 2022]

This commit is contained in:
Silvan Calarco 2024-01-05 16:45:10 +01:00
parent d1a36d8405
commit 0913bb99bd
1 changed files with 15 additions and 26 deletions

View File

@ -1,6 +1,6 @@
Name: python-telegram-bot
Version: 13.10
Release: 1mamba
Release: 2mamba
Summary: A pure Python interface for the Telegram Bot API
Group: System/Libraries
Vendor: openmamba
@ -10,40 +10,24 @@ URL: https://pypi.org/project/python-telegram-bot/
Source: http://pypi.debian.net/python-telegram-bot/python-telegram-bot-%{version}.tar.gz
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython3-devel
BuildRequires: python3.7dist(apscheduler)
BuildRequires: python3.7dist(cachetools)
BuildRequires: python3.7dist(certifi)
BuildRequires: python3.7dist(pytz)
BuildRequires: python3.7dist(tornado)
## AUTOBUILDREQ-END
Requires: python >= %python_version
#Requires: python-future
%description
%{summary}.
%if 0%{?with_pyver}
%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}.
%pyver_package
%endif
%prep
%setup -q
sed -i "s|APScheduler==3.6.3|APScheduler>=3.6.3|" requirements.txt python_telegram_bot.egg-info/requires.txt
%build
CFLAGS="%{optflags}" %{__python} setup.py build
@ -57,13 +41,18 @@ CFLAGS="%{optflags}" %{__python} setup.py build
--install-lib=%{python_sitearch} \
--record=%{name}.filelist
#sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
%files %{?pyappend} -f %{name}.filelist
%defattr(-,root,root)
%dir %{python_sitearch}/python_telegram_bot-%{version}-py*.egg-info
%{python_sitearch}/python_telegram_bot-%{version}-py*.egg-info/*
%doc LICENSE
%changelog
* Tue Jan 25 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 13.10-2mamba
- rebuilt with distdeps
* Thu Jan 06 2022 Automatic Build System <autodist@mambasoft.it> 13.10-1mamba
- automatic version update by autodist