automatic version update by autodist [release 2.3.0-1mamba;Tue Jan 11 2022]

This commit is contained in:
Automatic Build System 2024-01-06 11:00:53 +01:00
parent 05051d932d
commit b2b01059b9

View File

@ -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 <ercole69@gmail.com>
URL: http://cthedot.de/cssutils/
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
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 <autodist@mambasoft.it> 2.3.0-1mamba
- automatic version update by autodist
* Sat Mar 18 2017 Automatic Build System <autodist@mambasoft.it> 1.0.2-1mamba
- automatic version update by autodist