Clean up the SPEC file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cssutils?expand=0&rev=47
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user