15
0

- Switch to pyproject macros.

- No more greedy globs in %files.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp-theme?expand=0&rev=14
This commit is contained in:
2025-06-13 05:39:57 +00:00
committed by Git OBS Bridge
parent 81782e44ad
commit c8741334a0
2 changed files with 13 additions and 5 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Jun 13 05:35:39 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
- No more greedy globs in %files.
-------------------------------------------------------------------
Fri Oct 11 10:44:46 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-aiohttp-theme
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -22,10 +22,11 @@ Version: 0.1.7
Release: 0
Summary: A configurable sidebar-enabled Sphinx theme
License: BSD-3-Clause
Group: Development/Languages/Python
URL: https://github.com/aio-libs/aiohttp-theme
Source: https://files.pythonhosted.org/packages/source/a/aiohttp_theme/aiohttp_theme-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
@@ -38,15 +39,16 @@ A configurable sidebar-enabled Sphinx theme used by aiohttp
%setup -q -n aiohttp_theme-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %{python_files}
%license LICENSE
%doc README.rst
%{python_sitelib}/*
%{python_sitelib}/aiohttp_theme
%{python_sitelib}/aiohttp_theme-%{version}.dist-info
%changelog