From d9bf82d7b7d2856c3f6a55d1fdc63f2656a1e37752937f67056cfe0d3d8b2355 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 14:06:25 +0000 Subject: [PATCH 1/4] Remove superfluous devel dependency for noarch package OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinxcontrib-httpdomain?expand=0&rev=20 --- python-sphinxcontrib-httpdomain.changes | 5 +++++ python-sphinxcontrib-httpdomain.spec | 5 ++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/python-sphinxcontrib-httpdomain.changes b/python-sphinxcontrib-httpdomain.changes index 94248ad..e716fbc 100644 --- a/python-sphinxcontrib-httpdomain.changes +++ b/python-sphinxcontrib-httpdomain.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Dec 4 12:54:42 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + -------------------------------------------------------------------- Mon Sep 18 22:29:06 UTC 2017 - toddrme2178@gmail.com diff --git a/python-sphinxcontrib-httpdomain.spec b/python-sphinxcontrib-httpdomain.spec index 8a71c6c..1bf840d 100644 --- a/python-sphinxcontrib-httpdomain.spec +++ b/python-sphinxcontrib-httpdomain.spec @@ -1,7 +1,7 @@ # # 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 # 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/ # @@ -28,7 +28,6 @@ Url: http://bitbucket.org/birkenfeld/sphinx-contrib 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 Patch1: newer-sphinx.patch -BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module sphinxcontrib} BuildRequires: fdupes From 14c9333bccfe5c01045439e02f4b752cb4f23cba1b1307a46fea348b0aa63fe2 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 17:23:25 +0000 Subject: [PATCH 2/4] Clean up the SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinxcontrib-httpdomain?expand=0&rev=21 --- python-sphinxcontrib-httpdomain.spec | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/python-sphinxcontrib-httpdomain.spec b/python-sphinxcontrib-httpdomain.spec index 1bf840d..d0f5b25 100644 --- a/python-sphinxcontrib-httpdomain.spec +++ b/python-sphinxcontrib-httpdomain.spec @@ -24,7 +24,7 @@ Release: 0 Summary: Sphinx domain for HTTP APIs License: BSD-2-Clause 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 # 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 @@ -32,15 +32,14 @@ BuildRequires: %{python_module setuptools} BuildRequires: %{python_module sphinxcontrib} BuildRequires: fdupes BuildRequires: python-rpm-macros -%if %{with test} -BuildRequires: %{python_module Sphinx} -BuildRequires: %{python_module six} -%endif Requires: python-Sphinx Requires: python-six Requires: python-sphinxcontrib BuildArch: noarch - +%if %{with test} +BuildRequires: %{python_module Sphinx} +BuildRequires: %{python_module six} +%endif %python_subpackages %description @@ -63,8 +62,8 @@ http://packages.python.org/sphinxcontrib-httpdomain/ %python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files} -%defattr(-,root,root,-) -%doc LICENSE README.rst +%license LICENSE +%doc README.rst %{python_sitelib}/sphinxcontrib/autohttp/ %{python_sitelib}/sphinxcontrib/httpdomain.py* %pycache_only %{python_sitelib}/sphinxcontrib/__pycache__/httpdomain*.py* From a54cd1f87b0461446601cb5443b22bb5161102b7a1afb3ef6c86f7d826e6e84f Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Fri, 7 Dec 2018 21:05:28 +0000 Subject: [PATCH 3/4] Remove wrong BR on python-sphinxcontrib OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinxcontrib-httpdomain?expand=0&rev=22 --- python-sphinxcontrib-httpdomain.changes | 5 +++++ python-sphinxcontrib-httpdomain.spec | 4 +--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/python-sphinxcontrib-httpdomain.changes b/python-sphinxcontrib-httpdomain.changes index e716fbc..d42f9db 100644 --- a/python-sphinxcontrib-httpdomain.changes +++ b/python-sphinxcontrib-httpdomain.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Dec 7 21:05:21 UTC 2018 - Matej Cepl + +- Remove wrong BR on python-sphinxcontrib + ------------------------------------------------------------------- Tue Dec 4 12:54:42 UTC 2018 - Matej Cepl diff --git a/python-sphinxcontrib-httpdomain.spec b/python-sphinxcontrib-httpdomain.spec index d0f5b25..45fb0b5 100644 --- a/python-sphinxcontrib-httpdomain.spec +++ b/python-sphinxcontrib-httpdomain.spec @@ -28,16 +28,14 @@ URL: http://bitbucket.org/birkenfeld/sphinx-contrib 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 Patch1: newer-sphinx.patch +BuildRequires: %{python_module Sphinx} BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module sphinxcontrib} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-Sphinx Requires: python-six -Requires: python-sphinxcontrib BuildArch: noarch %if %{with test} -BuildRequires: %{python_module Sphinx} BuildRequires: %{python_module six} %endif %python_subpackages From 53ea581930c984c4c0c08470cca1e2c3fd5000b12ccb2de04fd1d7f40e4b4b6f Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 10 Dec 2018 12:19:32 +0000 Subject: [PATCH 4/4] Fix %pycache_only in %files OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinxcontrib-httpdomain?expand=0&rev=23 --- python-sphinxcontrib-httpdomain.changes | 5 +++++ python-sphinxcontrib-httpdomain.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/python-sphinxcontrib-httpdomain.changes b/python-sphinxcontrib-httpdomain.changes index d42f9db..5294602 100644 --- a/python-sphinxcontrib-httpdomain.changes +++ b/python-sphinxcontrib-httpdomain.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Dec 10 12:19:24 UTC 2018 - Matej Cepl + +- Fix %pycache_only in %files + ------------------------------------------------------------------- Fri Dec 7 21:05:21 UTC 2018 - Matej Cepl diff --git a/python-sphinxcontrib-httpdomain.spec b/python-sphinxcontrib-httpdomain.spec index 45fb0b5..eb142f5 100644 --- a/python-sphinxcontrib-httpdomain.spec +++ b/python-sphinxcontrib-httpdomain.spec @@ -64,7 +64,7 @@ http://packages.python.org/sphinxcontrib-httpdomain/ %doc README.rst %{python_sitelib}/sphinxcontrib/autohttp/ %{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*.egg-info