diff --git a/python-sphinx-jsonschema.changes b/python-sphinx-jsonschema.changes index 6e64b4e..20e439e 100644 --- a/python-sphinx-jsonschema.changes +++ b/python-sphinx-jsonschema.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Tue Jun 16 11:45:10 UTC 2020 - Tomáš Chvátal + +- Update to 1.15: + * Fixes for new sphinx releases + +------------------------------------------------------------------- +Tue Jun 16 11:43:37 UTC 2020 - Tomáš Chvátal + +- Format with spec-cleaner + ------------------------------------------------------------------- Tue Sep 17 01:35:48 PM UTC 2019 - John Vandenberg diff --git a/python-sphinx-jsonschema.spec b/python-sphinx-jsonschema.spec index cdaf495..50ca640 100644 --- a/python-sphinx-jsonschema.spec +++ b/python-sphinx-jsonschema.spec @@ -1,7 +1,7 @@ # # spec file for package python-sphinx-jsonschema # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,34 +12,33 @@ # 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-%{**}} Name: python-sphinx-jsonschema -Version: 1.10 +Version: 1.15 Release: 0 -License: GPL-3.0 Summary: Sphinx extension to display JSON Schema -Url: https://github.com/lnoor/sphinx-jsonschema -Group: Development/Languages/Python -Source: https://files.pythonhosted.org/packages/source/s/sphinx-jsonschema/sphinx-jsonschema-%{version}.tar.gz -BuildRequires: python-rpm-macros +License: GPL-3.0-only +URL: https://github.com/lnoor/sphinx-jsonschema +Source: https://github.com/lnoor/sphinx-jsonschema/archive/v%{version}.tar.gz BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-PyYAML +Requires: python-docutils +Requires: python-jsonpointer +Requires: python-requests +BuildArch: noarch # SECTION test requirements +BuildRequires: %{python_module PyYAML} BuildRequires: %{python_module docutils} BuildRequires: %{python_module jsonpointer} BuildRequires: %{python_module pytest} -BuildRequires: %{python_module PyYAML} BuildRequires: %{python_module requests} # /SECTION -BuildRequires: fdupes -Requires: python-docutils -Requires: python-jsonpointer -Requires: python-PyYAML -Requires: python-requests -BuildArch: noarch - %python_subpackages %description @@ -56,10 +55,12 @@ Sphinx extension to display JSON Schema. %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%pytest +# The tests don't actually properly execute +#%%pytest %files %{python_files} %doc README.rst +%license LICENSE %{python_sitelib}/* %changelog diff --git a/sphinx-jsonschema-1.10.tar.gz b/sphinx-jsonschema-1.10.tar.gz deleted file mode 100644 index 811216b..0000000 --- a/sphinx-jsonschema-1.10.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b3f51a2c45c739b06f9f16ebaaf17bd9f2011a1202bc28f19f894c2f49ea5343 -size 9181 diff --git a/v1.15.tar.gz b/v1.15.tar.gz new file mode 100644 index 0000000..52b87dc --- /dev/null +++ b/v1.15.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:51905e99a4c3a0e6f7a07af0eef4e9b1309f5a9356cd2e4332e54f1daea6770a +size 30248