17
0

Accepting request 653999 from devel:languages:python

Remove superfluous devel dependency for noarch package

OBS-URL: https://build.opensuse.org/request/show/653999
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cssutils?expand=0&rev=31
This commit is contained in:
2018-12-13 18:42:13 +00:00
committed by Git OBS Bridge
2 changed files with 13 additions and 9 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Dec 4 12:47:04 UTC 2018 - Matej Cepl <mcepl@suse.com>
- Remove superfluous devel dependency for noarch package
-------------------------------------------------------------------
Thu Aug 24 13:35:14 UTC 2017 - jmatejek@suse.com

View File

@@ -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