Accepting request 656822 from devel:languages:python

- Fix %pycache_only in %files

- Remove wrong BR on python-sphinxcontrib

- Remove superfluous devel dependency for noarch package

OBS-URL: https://build.opensuse.org/request/show/656822
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sphinxcontrib-httpdomain?expand=0&rev=13
This commit is contained in:
2019-01-03 17:06:17 +00:00
committed by Git OBS Bridge
2 changed files with 25 additions and 14 deletions

View File

@@ -1,3 +1,18 @@
-------------------------------------------------------------------
Mon Dec 10 12:19:24 UTC 2018 - Matej Cepl <mcepl@suse.com>
- Fix %pycache_only in %files
-------------------------------------------------------------------
Fri Dec 7 21:05:21 UTC 2018 - Matej Cepl <mcepl@suse.com>
- Remove wrong BR on python-sphinxcontrib
-------------------------------------------------------------------
Tue Dec 4 12:54:42 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 Mon Sep 18 22:29:06 UTC 2017 - toddrme2178@gmail.com

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-sphinxcontrib-httpdomain # spec file for package python-sphinxcontrib-httpdomain
# #
# 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # 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) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # 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/
# #
@@ -24,24 +24,20 @@ Release: 0
Summary: Sphinx domain for HTTP APIs Summary: Sphinx domain for HTTP APIs
License: BSD-2-Clause License: BSD-2-Clause
Group: Development/Languages/Python Group: Development/Languages/Python
Url: http://bitbucket.org/birkenfeld/sphinx-contrib URL: http://bitbucket.org/birkenfeld/sphinx-contrib
Source: https://files.pythonhosted.org/packages/source/s/sphinxcontrib-httpdomain/sphinxcontrib-httpdomain-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/s/sphinxcontrib-httpdomain/sphinxcontrib-httpdomain-%{version}.tar.gz
# PATCH-FIX-UPSTREAM newer-sphinx.patch -- https://bitbucket.org/birkenfeld/sphinx-contrib/pull-requests/152/fix-182-by-moving-around-initialization/diff # PATCH-FIX-UPSTREAM newer-sphinx.patch -- https://bitbucket.org/birkenfeld/sphinx-contrib/pull-requests/152/fix-182-by-moving-around-initialization/diff
Patch1: newer-sphinx.patch Patch1: newer-sphinx.patch
BuildRequires: %{python_module devel} BuildRequires: %{python_module Sphinx}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module sphinxcontrib}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
%if %{with test}
BuildRequires: %{python_module Sphinx}
BuildRequires: %{python_module six}
%endif
Requires: python-Sphinx Requires: python-Sphinx
Requires: python-six Requires: python-six
Requires: python-sphinxcontrib
BuildArch: noarch BuildArch: noarch
%if %{with test}
BuildRequires: %{python_module six}
%endif
%python_subpackages %python_subpackages
%description %description
@@ -64,11 +60,11 @@ http://packages.python.org/sphinxcontrib-httpdomain/
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %{python_files} %files %{python_files}
%defattr(-,root,root,-) %license LICENSE
%doc LICENSE README.rst %doc README.rst
%{python_sitelib}/sphinxcontrib/autohttp/ %{python_sitelib}/sphinxcontrib/autohttp/
%{python_sitelib}/sphinxcontrib/httpdomain.py* %{python_sitelib}/sphinxcontrib/httpdomain.py*
%pycache_only %{python_sitelib}/sphinxcontrib/__pycache__/httpdomain*.py* %pycache_only %{python_sitelib}/sphinxcontrib/__pycache__
%{python_sitelib}/sphinxcontrib_httpdomain-%{version}-py*-nspkg.pth %{python_sitelib}/sphinxcontrib_httpdomain-%{version}-py*-nspkg.pth
%{python_sitelib}/sphinxcontrib_httpdomain-%{version}-py*.egg-info %{python_sitelib}/sphinxcontrib_httpdomain-%{version}-py*.egg-info