From 32bb90bc3f9ce929c2697e98183cd52c22539a07 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 16:53:34 +0100 Subject: [PATCH] rebuilt with python 3.10 [release 3.1.0-3mamba;Mon Jul 31 2023] --- python-wheezy-template.spec | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/python-wheezy-template.spec b/python-wheezy-template.spec index ce21e2d..07cdc47 100644 --- a/python-wheezy-template.spec +++ b/python-wheezy-template.spec @@ -1,6 +1,7 @@ +%define pkgname %(echo %name | cut -d- -f2- | tr - .) Name: python-wheezy-template Version: 3.1.0 -Release: 1mamba +Release: 3mamba Summary: A lightweight template library Group: System/Libraries Vendor: openmamba @@ -12,9 +13,8 @@ License: MIT ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libpython3-devel +BuildRequires: python3.7dist(setuptools) ## AUTOBUILDREQ-END -BuildRequires: libpython-devel -Requires: python >= %python_version %description %{summary}. @@ -38,18 +38,21 @@ 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) -## note: this list is just an example; modify as required -# %{python_sitearch}/%{name}.py* -# %{python_sitearch}/%{name}.so +%dir %{python_sitearch}/%{pkgname}-%{version}-py*.egg-info +%{python_sitearch}/%{pkgname}-%{version}-py*.egg-info/* %doc LICENSE -## note: add extra documentation (if any) -# %doc README.rst %changelog +* Mon Jul 31 2023 Silvan Calarco 3.1.0-3mamba +- rebuilt with python 3.10 + +* Mon Feb 14 2022 Silvan Calarco 3.1.0-2mamba +- rebuilt with distdeps + * Tue May 04 2021 Automatic Build System 3.1.0-1mamba - automatic version update by autodist