rebuilt with python3 == 3.11 [release 1.19.6-2mamba;Sun Oct 01 2023]

This commit is contained in:
Silvan Calarco 2024-01-05 16:48:24 +01:00
parent ad818dfd9f
commit 898150771c

View File

@ -1,7 +1,7 @@
%define pkgname %(echo %name | cut -d- -f2- | tr - _) %define pkgname %(echo %name | cut -d- -f2- | tr - _)
Name: python-twitter Name: python-twitter
Version: 1.19.6 Version: 1.19.6
Release: 1mamba Release: 2mamba
Summary: An API and command-line toolset for Twitter (twitter.com) Summary: An API and command-line toolset for Twitter (twitter.com)
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
@ -12,15 +12,18 @@ Source: https://pypi.debian.net/twitter/twitter-%{version}.tar.gz
#Patch0: %{name}-<pck-version>-<patch-description>.patch #Patch0: %{name}-<pck-version>-<patch-description>.patch
License: MIT License: MIT
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: libpython3-devel BuildRequires: libpython311-devel
BuildRequires: python3.7dist(certifi) BuildRequires: python3.11dist(certifi)
BuildRequires: python3.7dist(setuptools) BuildRequires: python3.11dist(setuptools)
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: python3-devel >= 3.11.5-3mamba
%description %description
An API and command-line toolset for Twitter (twitter.com). An API and command-line toolset for Twitter (twitter.com).
%if 0%{?with_pyver} %if 0%{?with_pyver}
%define py_requires_append \
Obsoletes: python-twitter < 1.19.6-2mamba
%pyver_package %pyver_package
%endif %endif
@ -42,13 +45,16 @@ CFLAGS="%{optflags}" %{__python} setup.py build
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
%files -f %{name}.filelist %files %{?pyappend} -f %{name}.filelist
%defattr(-,root,root) %defattr(-,root,root)
%dir %{python_sitearch}/%{pkgname}-%{version}-py*.egg-info %dir %{python_sitearch}/%{pkgname}-%{version}-py*.egg-info
%{python_sitearch}/%{pkgname}-%{version}-py*.egg-info/* %{python_sitearch}/%{pkgname}-%{version}-py*.egg-info/*
%doc LICENSE %doc LICENSE
%changelog %changelog
* Sun Oct 01 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.19.6-2mamba
- rebuilt with python3 == 3.11
* Sat Oct 08 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.19.6-1mamba * Sat Oct 08 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.19.6-1mamba
- update to 1.19.6 - update to 1.19.6