automatic version update by autodist [release 2.6.0-1mamba;Fri Oct 07 2022]
This commit is contained in:
parent
b2b01059b9
commit
a42ddbabe6
@ -1,5 +1,6 @@
|
|||||||
|
%define pkgname %(echo %name | cut -d- -f2- | tr - _)
|
||||||
Name: python-cssutils
|
Name: python-cssutils
|
||||||
Version: 2.3.0
|
Version: 2.6.0
|
||||||
Release: 1mamba
|
Release: 1mamba
|
||||||
Summary: A Python package to parse and build CSS Cascading Style Sheets.
|
Summary: A Python package to parse and build CSS Cascading Style Sheets.
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
@ -12,10 +13,7 @@ License: LGPL
|
|||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: libpython3-devel
|
BuildRequires: libpython3-devel
|
||||||
BuildRequires: python3.7dist(importlib-metadata)
|
BuildRequires: python3.7dist(importlib-metadata)
|
||||||
BuildRequires: python3.7dist(setuptools)
|
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
Provides: cssutils
|
|
||||||
Obsoletes: cssutils < 2.3.0
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
A Python package to parse and build CSS Cascading Style Sheets. Currently a DOM only, no rendering options.
|
A Python package to parse and build CSS Cascading Style Sheets. Currently a DOM only, no rendering options.
|
||||||
@ -28,27 +26,34 @@ A Python package to parse and build CSS Cascading Style Sheets. Currently a DOM
|
|||||||
%setup -q -n cssutils-%{version}
|
%setup -q -n cssutils-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="%{optflags}" %{__python} setup.py build
|
CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
%{__python} setup.py install \
|
%{__python} -m installer --destdir=%{buildroot} dist/*.whl
|
||||||
-O1 --skip-build \
|
|
||||||
--root="%{buildroot}" \
|
|
||||||
--install-headers=%{python_inc} \
|
|
||||||
--install-lib=%{python_sitearch} \
|
|
||||||
--record=%{name}.filelist
|
|
||||||
|
|
||||||
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
%if "%{?with_pyver}" != "3"
|
||||||
|
mv %{buildroot}%{_bindir}/csscapture{,-%{?pyappend}}
|
||||||
|
mv %{buildroot}%{_bindir}/csscombine{,-%{?pyappend}}
|
||||||
|
mv %{buildroot}%{_bindir}/cssparse{,-%{?pyappend}}
|
||||||
|
%endif
|
||||||
|
|
||||||
rm -rf %{buildroot}%{python_sitearch}/tests
|
%files %{?pyappend}
|
||||||
|
|
||||||
%files %{?pyappend} -f %{name}.filelist
|
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%dir %{python_sitearch}/cssutils-%{version}-py*.egg-info
|
%{_bindir}/csscapture
|
||||||
%{python_sitearch}/cssutils-%{version}-py*.egg-info/*
|
%{_bindir}/csscombine
|
||||||
|
%{_bindir}/cssparse
|
||||||
|
%dir %{python_sitelib}/%{pkgname}-%{version}.dist-info
|
||||||
|
%{python_sitelib}/%{pkgname}-%{version}.dist-info/*
|
||||||
|
%dir %{python_sitelib}/%{pkgname}
|
||||||
|
%{python_sitelib}/%{pkgname}/*
|
||||||
|
%dir %{python_sitelib}/encutils
|
||||||
|
%{python_sitelib}/encutils/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Oct 07 2022 Automatic Build System <autodist@mambasoft.it> 2.6.0-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
* Tue Jan 11 2022 Automatic Build System <autodist@mambasoft.it> 2.3.0-1mamba
|
* Tue Jan 11 2022 Automatic Build System <autodist@mambasoft.it> 2.3.0-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user