forked from pool/python-sphinxcontrib-plantuml
- Switch to autosetup macro.
- Slightly less mess in %files. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinxcontrib-plantuml?expand=0&rev=16
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Mar 7 04:50:00 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Switch to autosetup macro.
|
||||||
|
- Slightly less mess in %files.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Dec 29 09:49:50 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
Fri Dec 29 09:49:50 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-sphinxcontrib-plantuml
|
# spec file for package python-sphinxcontrib-plantuml
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2024 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
|
||||||
@@ -22,7 +22,6 @@ Version: 0.27
|
|||||||
Release: 0
|
Release: 0
|
||||||
Summary: Sphinx API for Web Apps
|
Summary: Sphinx API for Web Apps
|
||||||
License: BSD-2-Clause
|
License: BSD-2-Clause
|
||||||
Group: Development/Languages/Python
|
|
||||||
URL: https://github.com/sphinx-contrib/plantuml/
|
URL: https://github.com/sphinx-contrib/plantuml/
|
||||||
Source: https://github.com/sphinx-contrib/plantuml/archive/%{version}.tar.gz#/sphinxcontrib-plantuml-%{version}.tar.gz
|
Source: https://github.com/sphinx-contrib/plantuml/archive/%{version}.tar.gz#/sphinxcontrib-plantuml-%{version}.tar.gz
|
||||||
Patch0: py3-for-tests.patch
|
Patch0: py3-for-tests.patch
|
||||||
@@ -35,7 +34,6 @@ BuildRequires: fdupes
|
|||||||
BuildRequires: ghostscript
|
BuildRequires: ghostscript
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: texlive-epstopdf
|
BuildRequires: texlive-epstopdf
|
||||||
BuildRequires: tox
|
|
||||||
Requires: plantuml
|
Requires: plantuml
|
||||||
Requires: python-Sphinx >= 2
|
Requires: python-Sphinx >= 2
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@@ -49,8 +47,7 @@ Once you enable this extension, a very simple string like this:
|
|||||||
will create a nice UML schema. WIth PlantUML, you can specify things like height, width, scale, caption and so on. For details, please see PlantUML documentation at: http://plantuml.sourceforge.net/.
|
will create a nice UML schema. WIth PlantUML, you can specify things like height, width, scale, caption and so on. For details, please see PlantUML documentation at: http://plantuml.sourceforge.net/.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n plantuml-%{version}
|
%autosetup -p1 -n plantuml-%{version}
|
||||||
%patch0 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%pyproject_wheel
|
%pyproject_wheel
|
||||||
@@ -67,10 +64,10 @@ will create a nice UML schema. WIth PlantUML, you can specify things like height
|
|||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%dir %{python_sitelib}/sphinxcontrib/
|
%{python_sitelib}/sphinxcontrib/plantuml.py
|
||||||
%pycache_only %{python_sitelib}/sphinxcontrib/__pycache__
|
%dir %{python_sitelib}/sphinxcontrib/__pycache__
|
||||||
%{python_sitelib}/sphinxcontrib/plantuml.*
|
%pycache_only %{python_sitelib}/sphinxcontrib/__pycache__/plantuml.*.py*
|
||||||
%{python_sitelib}/sphinxcontrib_plantuml-%{version}-py*-nspkg.pth
|
|
||||||
%{python_sitelib}/sphinxcontrib_plantuml-%{version}.dist-info
|
%{python_sitelib}/sphinxcontrib_plantuml-%{version}.dist-info
|
||||||
|
%{python_sitelib}/sphinxcontrib_plantuml-%{version}-py3.*-nspkg.pth
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user