From cf2812886474f9f351dfb50f3f624285f639a524 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 16:45:37 +0100 Subject: [PATCH] rebuilt with distdeps [release 4.2.2-2mamba;Sun Feb 13 2022] --- python-textdistance.spec | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/python-textdistance.spec b/python-textdistance.spec index 6e2a693..689ddcc 100644 --- a/python-textdistance.spec +++ b/python-textdistance.spec @@ -1,6 +1,7 @@ +%define pkgname %(echo %name | cut -d- -f2- | tr - _) Name: python-textdistance Version: 4.2.2 -Release: 1mamba +Release: 2mamba Summary: Python library for comparing distance between two or more sequences by many algorithms Group: System/Libraries Vendor: openmamba @@ -10,6 +11,7 @@ URL: https://pypi.org/project/textdistance/ Source: https://pypi.debian.net/textdistance/textdistance-%{version}.tar.gz License: MIT ## AUTOBUILDREQ-BEGIN +BuildRequires: libpython3-devel ## AUTOBUILDREQ-END BuildRequires: libpython-devel Requires: python >= %python_version @@ -36,13 +38,18 @@ CFLAGS="%{optflags}" %{__python} setup.py build --install-lib=%{python_sitearch} \ --record=%{name}.filelist -sed -i "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}/%{pkgname}-%{version}-py*.egg-info +%{python_sitearch}/%{pkgname}-%{version}-py*.egg-info/* %doc LICENSE %changelog +* Sun Feb 13 2022 Silvan Calarco 4.2.2-2mamba +- rebuilt with distdeps + * Thu Oct 28 2021 Automatic Build System 4.2.2-1mamba - automatic version update by autodist