From b2b01059b9a63a8e253a97b7d75355c124e0792b Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 11:00:53 +0100 Subject: [PATCH] automatic version update by autodist [release 2.3.0-1mamba;Tue Jan 11 2022] --- python-cssutils.spec | 51 ++++++++++++++++++-------------------------- 1 file changed, 21 insertions(+), 30 deletions(-) diff --git a/python-cssutils.spec b/python-cssutils.spec index 74e833b..48c949e 100644 --- a/python-cssutils.spec +++ b/python-cssutils.spec @@ -1,25 +1,29 @@ Name: python-cssutils -Version: 1.0.2 +Version: 2.3.0 Release: 1mamba Summary: A Python package to parse and build CSS Cascading Style Sheets. Group: System/Libraries Vendor: openmamba Distribution: openmamba -Packager: Ercole 'ercolinux' Carpanetto -URL: http://cthedot.de/cssutils/ +Packager: Silvan Calarco +URL: https://cthedot.de/cssutils/ Source: https://pypi.debian.net/cssutils/cssutils-%{version}.tar.gz License: LGPL ## AUTOBUILDREQ-BEGIN +BuildRequires: libpython3-devel +BuildRequires: python3.7dist(importlib-metadata) +BuildRequires: python3.7dist(setuptools) ## AUTOBUILDREQ-END -BuildRequires: libpython-devel -Requires: python >= %python_version Provides: cssutils -Obsoletes: cssutils -BuildRoot: %{_tmppath}/%{name}-%{version}-root +Obsoletes: cssutils < 2.3.0 %description A Python package to parse and build CSS Cascading Style Sheets. Currently a DOM only, no rendering options. +%if 0%{?with_pyver} +%pyver_package +%endif + %prep %setup -q -n cssutils-%{version} @@ -31,36 +35,23 @@ CFLAGS="%{optflags}" %{__python} setup.py build %{__python} setup.py install \ -O1 --skip-build \ --root="%{buildroot}" \ - --install-headers=%{_includedir}/python \ + --install-headers=%{python_inc} \ --install-lib=%{python_sitearch} \ - --single-version-externally-managed + --record=%{name}.filelist + +sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist rm -rf %{buildroot}%{python_sitearch}/tests -%files +%files %{?pyappend} -f %{name}.filelist %defattr(-,root,root) -%{_bindir}/csscapture -%{_bindir}/csscombine -%{_bindir}/cssparse -%dir %{python_sitearch}/cssutils-%{version}-py%{python_version}.egg-info -%{python_sitearch}/cssutils-%{version}-py%{python_version}.egg-info/PKG-INFO -%{python_sitearch}/cssutils-%{version}-py%{python_version}.egg-info/*.txt -%dir %{python_sitearch}/cssutils -%{python_sitearch}/cssutils/*.py* -%dir %{python_sitearch}/cssutils/css -%{python_sitearch}/cssutils/css/*.py* -%dir %{python_sitearch}/cssutils/scripts -%{python_sitearch}/cssutils/scripts/*.py* -%dir %{python_sitearch}/cssutils/stylesheets -%{python_sitearch}/cssutils/stylesheets/*.py* -%dir %{python_sitearch}/cssutils/tests -%{python_sitearch}/cssutils/tests/* -%dir %{python_sitearch}/encutils -%{python_sitearch}/encutils/*.py -%{python_sitearch}/encutils/*.pyc -%{python_sitearch}/encutils/*.pyo +%dir %{python_sitearch}/cssutils-%{version}-py*.egg-info +%{python_sitearch}/cssutils-%{version}-py*.egg-info/* %changelog +* Tue Jan 11 2022 Automatic Build System 2.3.0-1mamba +- automatic version update by autodist + * Sat Mar 18 2017 Automatic Build System 1.0.2-1mamba - automatic version update by autodist