From 674df6ef44a7e2f6077163d6bdea2fc188f89b09 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 16:19:40 +0100 Subject: [PATCH] rebuilt with python 3.10 and distdeps [release 3.11-3mamba;Sat May 21 2022] --- python-ply.spec | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/python-ply.spec b/python-ply.spec index ef113b1..a871da9 100644 --- a/python-ply.spec +++ b/python-ply.spec @@ -1,6 +1,7 @@ +%define pkgname %(echo %name | cut -d- -f2- | tr - _) Name: python-ply Version: 3.11 -Release: 2mamba +Release: 3mamba Summary: Python Lex & Yacc Group: System/Libraries/Python Vendor: openmamba @@ -10,10 +11,8 @@ URL: http://www.dabeaz.com/ply/ Source: http://www.dabeaz.com/ply/ply-%{version}.tar.gz License: BSD, LGPL ## AUTOBUILDREQ-BEGIN -BuildRequires: libpython-devel +BuildRequires: libpython3-devel ## AUTOBUILDREQ-END -%py_requires -BuildRoot: %{_tmppath}/%{name}-%{version}-root %description PLY is a straightforward lex/yacc implementation. Here is a list of its essential features: @@ -45,15 +44,20 @@ chmod -x example/yply/yply.py example/newclasscalc/calc.py example/classcalc/cal --install-lib=%{python_sitearch} \ --record=%{name}.filelist -sed -i "s,.*/man/.*,&.gz," %{name}.filelist +sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files %{?pyappend} -f %{name}.filelist %defattr(-,root,root) +%dir %{python_sitearch}/%{pkgname}-%{version}-py*.egg-info +%{python_sitearch}/%{pkgname}-%{version}-py*.egg-info/* %changelog +* Sat May 21 2022 Silvan Calarco 3.11-3mamba +- rebuilt with python 3.10 and distdeps + * Fri Jan 01 2021 Silvan Calarco 3.11-2mamba - rebuilt with -py3