diff --git a/python-cssutils.changes b/python-cssutils.changes index e0c7098..d89a0f0 100644 --- a/python-cssutils.changes +++ b/python-cssutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Dec 4 12:47:04 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + ------------------------------------------------------------------- Thu Aug 24 13:35:14 UTC 2017 - jmatejek@suse.com diff --git a/python-cssutils.spec b/python-cssutils.spec index f1209b7..52d2646 100644 --- a/python-cssutils.spec +++ b/python-cssutils.spec @@ -1,7 +1,7 @@ # # spec file for package python-cssutils # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -22,20 +22,19 @@ Name: python-cssutils Version: 1.0.2 Release: 0 Summary: A CSS Cascading Style Sheets library for Python -License: LGPL-3.0+ +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 devel} 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 @@ -62,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