Compare commits
6 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 7764908d96 | |||
| 96f5243cd0 | |||
| 0891304026 | |||
| 94521ebb92 | |||
| 226906e206 | |||
| 509381116f |
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:93cf92a350b1c123b17feff042e212f94d960975a3ed145743d84ebe8ccec7ab
|
|
||||||
size 723055
|
|
||||||
3
cssutils-2.11.1.tar.gz
Normal file
3
cssutils-2.11.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:0563a76513b6af6eebbe788c3bf3d01c920e46b3f90c8416738c5cfc773ff8e2
|
||||||
|
size 711657
|
||||||
@@ -1,3 +1,19 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jul 8 08:07:18 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Convert to libalternatives
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jun 26 08:45:49 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Update to 2.11.1
|
||||||
|
* Consolidated license to simply LGPL 3. (#52)
|
||||||
|
- from version 2.11.0
|
||||||
|
* Reduced cyclomatic complexity in selector module. (#47)
|
||||||
|
- from version 2.10.3
|
||||||
|
* Fixed DeprecationWarning with cgi module.
|
||||||
|
- Replace COPYING and COPYING.LESSER with LICENSE in %license field
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Apr 20 13:26:58 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
Sat Apr 20 13:26:58 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-cssutils
|
# spec file for package python-cssutils
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -16,9 +16,10 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%bcond_without libalternatives
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-cssutils
|
Name: python-cssutils
|
||||||
Version: 2.10.2
|
Version: 2.11.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A CSS Cascading Style Sheets library for Python
|
Summary: A CSS Cascading Style Sheets library for Python
|
||||||
License: LGPL-3.0-or-later
|
License: LGPL-3.0-or-later
|
||||||
@@ -31,10 +32,11 @@ BuildRequires: %{python_module pip}
|
|||||||
BuildRequires: %{python_module setuptools_scm}
|
BuildRequires: %{python_module setuptools_scm}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module wheel}
|
BuildRequires: %{python_module wheel}
|
||||||
|
BuildRequires: alts
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires(post): update-alternatives
|
Requires: alts
|
||||||
Requires(postun): update-alternatives
|
Requires: python-more-itertools
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
@@ -52,17 +54,15 @@ A Python package to parse and build CSS Cascading Style Sheets. DOM only, not an
|
|||||||
%python_clone -a %{buildroot}%{_bindir}/csscapture
|
%python_clone -a %{buildroot}%{_bindir}/csscapture
|
||||||
%python_clone -a %{buildroot}%{_bindir}/csscombine
|
%python_clone -a %{buildroot}%{_bindir}/csscombine
|
||||||
%python_clone -a %{buildroot}%{_bindir}/cssparse
|
%python_clone -a %{buildroot}%{_bindir}/cssparse
|
||||||
|
%python_group_libalternatives csscapture csscombine cssparse
|
||||||
|
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}/
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}/
|
||||||
|
|
||||||
%post
|
%pre
|
||||||
%{python_install_alternative csscapture csscombine cssparse}
|
%python_libalternatives_reset_alternative csscapture
|
||||||
|
|
||||||
%postun
|
|
||||||
%python_uninstall_alternative csscapture
|
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license COPYING COPYING.LESSER
|
%license LICENSE
|
||||||
%doc README.rst examples
|
%doc README.rst examples
|
||||||
%python_alternative %{_bindir}/csscapture
|
%python_alternative %{_bindir}/csscapture
|
||||||
%python_alternative %{_bindir}/csscombine
|
%python_alternative %{_bindir}/csscombine
|
||||||
|
|||||||
Reference in New Issue
Block a user