From 898150771c750e8c6a9faa4882f625f2ce767415 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 16:48:24 +0100 Subject: [PATCH] rebuilt with python3 == 3.11 [release 1.19.6-2mamba;Sun Oct 01 2023] --- python-twitter.spec | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/python-twitter.spec b/python-twitter.spec index 177bd58..e528670 100644 --- a/python-twitter.spec +++ b/python-twitter.spec @@ -1,7 +1,7 @@ %define pkgname %(echo %name | cut -d- -f2- | tr - _) Name: python-twitter Version: 1.19.6 -Release: 1mamba +Release: 2mamba Summary: An API and command-line toolset for Twitter (twitter.com) Group: System/Libraries Vendor: openmamba @@ -12,15 +12,18 @@ Source: https://pypi.debian.net/twitter/twitter-%{version}.tar.gz #Patch0: %{name}--.patch License: MIT ## AUTOBUILDREQ-BEGIN -BuildRequires: libpython3-devel -BuildRequires: python3.7dist(certifi) -BuildRequires: python3.7dist(setuptools) +BuildRequires: libpython311-devel +BuildRequires: python3.11dist(certifi) +BuildRequires: python3.11dist(setuptools) ## AUTOBUILDREQ-END +BuildRequires: python3-devel >= 3.11.5-3mamba %description An API and command-line toolset for Twitter (twitter.com). %if 0%{?with_pyver} +%define py_requires_append \ +Obsoletes: python-twitter < 1.19.6-2mamba %pyver_package %endif @@ -42,13 +45,16 @@ CFLAGS="%{optflags}" %{__python} setup.py build sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist -%files -f %{name}.filelist +%files %{?pyappend} -f %{name}.filelist %defattr(-,root,root) %dir %{python_sitearch}/%{pkgname}-%{version}-py*.egg-info %{python_sitearch}/%{pkgname}-%{version}-py*.egg-info/* %doc LICENSE %changelog +* Sun Oct 01 2023 Silvan Calarco 1.19.6-2mamba +- rebuilt with python3 == 3.11 + * Sat Oct 08 2022 Silvan Calarco 1.19.6-1mamba - update to 1.19.6