17
0
2018-12-04 17:11:47 +00:00
committed by Git OBS Bridge
parent cf02f15aa3
commit 97ca25bfb8

View File

@@ -24,17 +24,17 @@ Release: 0
Summary: A CSS Cascading Style Sheets library for Python
License: LGPL-3.0-or-later
Group: Development/Languages/Python
Url: http://cthedot.de/cssutils/
URL: http://cthedot.de/cssutils/
Source: https://files.pythonhosted.org/packages/source/c/cssutils/cssutils-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: python-rpm-macros
Requires(post): update-alternatives
Requires(postun): update-alternatives
BuildArch: noarch
%ifpython2
Provides: %{oldpython}-css-utils-doc = %{version}
Obsoletes: %{oldpython}-css-utils-doc < %{version}
%endif
Requires(post): update-alternatives
Requires(postun): update-alternatives
%python_subpackages
%description
@@ -61,8 +61,8 @@ sed -i "s/\r//" src/cssutils/{sac,scripts/csscombine,tokenize2}.py COPYING COPYI
%python_uninstall_alternative csscapture
%files %{python_files}
%defattr(-,root,root,-)
%doc COPYING COPYING.LESSER README.txt examples
%license COPYING COPYING.LESSER
%doc README.txt examples
%python_alternative %{_bindir}/csscapture
%python_alternative %{_bindir}/csscombine
%python_alternative %{_bindir}/cssparse