Accepting request 656164 from devel:languages:python

- Remove wrong BR on python-sphinxcontrib

- Remove superfluous devel dependency for noarch package

OBS-URL: https://build.opensuse.org/request/show/656164
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sphinxcontrib-blockdiag?expand=0&rev=2
This commit is contained in:
2018-12-10 11:29:13 +00:00
committed by Git OBS Bridge
2 changed files with 21 additions and 14 deletions

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Fri Dec 7 21:04:16 UTC 2018 - Matej Cepl <mcepl@suse.com>
- Remove wrong BR on python-sphinxcontrib
-------------------------------------------------------------------
Tue Dec 4 12:54:39 UTC 2018 - Matej Cepl <mcepl@suse.com>
- Remove superfluous devel dependency for noarch package
-------------------------------------------------------------------
Mon Sep 18 22:29:06 UTC 2017 - toddrme2178@gmail.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-sphinxcontrib-blockdiag
#
# 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,8 @@
# 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/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
@@ -21,28 +22,24 @@
Name: python-sphinxcontrib-blockdiag
Version: 1.5.5
Release: 0
License: BSD-2-Clause
Summary: Sphinx "blockdiag" extension
Url: https://github.com/blockdiag/sphinxcontrib-blockdiag
License: BSD-2-Clause
Group: Development/Languages/Python
URL: https://github.com/blockdiag/sphinxcontrib-blockdiag
Source: https://files.pythonhosted.org/packages/source/s/sphinxcontrib-blockdiag/sphinxcontrib-blockdiag-%{version}.tar.gz
BuildRequires: %{python_module Sphinx >= 0.6}
BuildRequires: %{python_module blockdiag >= 1.5.0}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module sphinxcontrib}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-Sphinx >= 0.6
Requires: python-blockdiag >= 1.5.0
BuildArch: noarch
%if %{with test}
BuildRequires: %{python_module Sphinx >= 0.6}
BuildRequires: %{python_module funcparserlib}
BuildRequires: %{python_module sphinx-testing}
BuildRequires: python-mock
%endif
Requires: python-Sphinx >= 0.6
Requires: python-blockdiag >= 1.5.0
Requires: python-sphinxcontrib
BuildArch: noarch
%python_subpackages
%description
@@ -64,8 +61,8 @@ A sphinx extension for embedding block diagram using blockdiag.
%endif
%files %{python_files}
%defattr(-,root,root,-)
%doc AUTHORS LICENSE README.rst
%license LICENSE
%doc AUTHORS README.rst
%{python_sitelib}/sphinxcontrib/blockdiag.py*
%pycache_only %{python_sitelib}/sphinxcontrib/__pycache__/blockdiag*.py*
%{python_sitelib}/sphinxcontrib_blockdiag-%{version}-py*-nspkg.pth