forked from pool/python-sphinx-jsonschema
Compare commits
3 Commits
Author | SHA256 | Date | |
---|---|---|---|
c485b16c69 | |||
d2fc9fe1e5 | |||
53b6a7de00 |
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jun 12 12:21:13 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Convert to pip-based build
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Jan 14 10:36:35 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
Sun Jan 14 10:36:35 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-sphinx-jsonschema
|
# spec file for package python-sphinx-jsonschema
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# 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
|
||||||
@@ -16,7 +16,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%define info_version 1.19.0
|
||||||
Name: python-sphinx-jsonschema
|
Name: python-sphinx-jsonschema
|
||||||
Version: 1.19.1
|
Version: 1.19.1
|
||||||
Release: 0
|
Release: 0
|
||||||
@@ -25,7 +25,9 @@ License: GPL-3.0-only
|
|||||||
URL: https://github.com/lnoor/sphinx-jsonschema
|
URL: https://github.com/lnoor/sphinx-jsonschema
|
||||||
# Tarballs from pypi.org are missing license files
|
# Tarballs from pypi.org are missing license files
|
||||||
Source: https://github.com/lnoor/sphinx-jsonschema/archive/refs/tags/v.%{version}.tar.gz#/sphinx-jsonschema-%{version}.tar.gz
|
Source: https://github.com/lnoor/sphinx-jsonschema/archive/refs/tags/v.%{version}.tar.gz#/sphinx-jsonschema-%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-PyYAML
|
Requires: python-PyYAML
|
||||||
@@ -49,10 +51,10 @@ Sphinx extension to display JSON Schema.
|
|||||||
%setup -q -n sphinx-jsonschema-v.%{version}
|
%setup -q -n sphinx-jsonschema-v.%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@@ -63,6 +65,7 @@ Sphinx extension to display JSON Schema.
|
|||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/sphinx[-_]jsonschema
|
||||||
|
%{python_sitelib}/sphinx[-_]jsonschema-%{info_version}*-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user