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

View File

@ -1,6 +1,6 @@
Name: python-telegram-bot Name: python-telegram-bot
Version: 13.10 Version: 13.10
Release: 1mamba Release: 2mamba
Summary: A pure Python interface for the Telegram Bot API Summary: A pure Python interface for the Telegram Bot API
Group: System/Libraries Group: System/Libraries
Vendor: openmamba 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 Source: http://pypi.debian.net/python-telegram-bot/python-telegram-bot-%{version}.tar.gz
License: LGPL License: LGPL
## AUTOBUILDREQ-BEGIN ## 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 ## AUTOBUILDREQ-END
Requires: python >= %python_version
#Requires: python-future
%description %description
%{summary}. %{summary}.
%if 0%{?with_pyver} %if 0%{?with_pyver}
%define pyver %{with_pyver} %pyver_package
%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 %endif
%prep %prep
%setup -q %setup -q
sed -i "s|APScheduler==3.6.3|APScheduler>=3.6.3|" requirements.txt python_telegram_bot.egg-info/requires.txt
%build %build
CFLAGS="%{optflags}" %{__python} setup.py build CFLAGS="%{optflags}" %{__python} setup.py build
@ -57,13 +41,18 @@ CFLAGS="%{optflags}" %{__python} setup.py build
--install-lib=%{python_sitearch} \ --install-lib=%{python_sitearch} \
--record=%{name}.filelist --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 %files %{?pyappend} -f %{name}.filelist
%defattr(-,root,root) %defattr(-,root,root)
%dir %{python_sitearch}/python_telegram_bot-%{version}-py*.egg-info
%{python_sitearch}/python_telegram_bot-%{version}-py*.egg-info/*
%doc LICENSE %doc LICENSE
%changelog %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 * Thu Jan 06 2022 Automatic Build System <autodist@mambasoft.it> 13.10-1mamba
- automatic version update by autodist - automatic version update by autodist