From 845e170f5799bb6e793567fc48886e3d6e9c27ee Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 11:00:28 +0100 Subject: [PATCH] rebuilt with python 3.10 and distdeps [release 1.0.7-2mamba;Thu Jun 02 2022] --- python-css-parser.spec | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/python-css-parser.spec b/python-css-parser.spec index 55302ac..7b1b01f 100644 --- a/python-css-parser.spec +++ b/python-css-parser.spec @@ -1,6 +1,8 @@ +%define pkgname %(echo %name | cut -d- -f2- | tr - _) + Name: python-css-parser Version: 1.0.7 -Release: 1mamba +Release: 2mamba Summary: A CSS Cascading Style Sheets library for Python Group: System/Libraries Vendor: openmamba @@ -10,8 +12,8 @@ URL: https://pypi.org/project/css-parser/ Source: https://pypi.debian.net/css-parser/css-parser-%{version}.tar.gz License: LGPL, GPL ## AUTOBUILDREQ-BEGIN +BuildRequires: libpython3-devel ## AUTOBUILDREQ-END -Requires: python >= %python_version %description %{summary}. @@ -35,12 +37,17 @@ 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/* %changelog +* Thu Jun 02 2022 Silvan Calarco 1.0.7-2mamba +- rebuilt with python 3.10 and distdeps + * Sun Dec 12 2021 Automatic Build System 1.0.7-1mamba - automatic version update by autodist