15
0

Accepting request 1285956 from devel:languages:python

- Switch to pyroject macros.

OBS-URL: https://build.opensuse.org/request/show/1285956
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-compressed_rtf?expand=0&rev=4
This commit is contained in:
2025-06-16 09:13:04 +00:00
committed by Git OBS Bridge
2 changed files with 11 additions and 3 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jun 16 06:12:18 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyroject macros.
-------------------------------------------------------------------
Tue Mar 25 19:16:40 UTC 2025 - Martin Hauke <mardnh@gmx.de>

View File

@@ -26,7 +26,9 @@ License: MIT
URL: https://github.com/delimitry/compressed_rtf
Source: compressed_rtf-%{version}.tar.xz
Patch0: 0001-fix-pyproject.toml-license-format.patch
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
@@ -39,10 +41,10 @@ Compressed Rich Text Format (RTF) compression and decompression package
%autosetup -p1 -n compressed_rtf-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -51,6 +53,7 @@ Compressed Rich Text Format (RTF) compression and decompression package
%files %{python_files}
%license LICENSE
%doc README.md
%{python_sitelib}/compressed_rtf*
%{python_sitelib}/compressed_rtf
%{python_sitelib}/compressed_rtf-%{version}.dist-info
%changelog