Compare commits
6 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| ad21ca01ca | |||
| 48b960918f | |||
| ed5ed4b37d | |||
| 0500ba7d30 | |||
| 5810810c15 | |||
| 4c253d41a2 |
25
0001-fix-pyproject.toml-license-format.patch
Normal file
25
0001-fix-pyproject.toml-license-format.patch
Normal file
@@ -0,0 +1,25 @@
|
||||
From b241c705251b245257ad2c8bdd99cecf0c1d731f Mon Sep 17 00:00:00 2001
|
||||
From: Stuart Henderson <sthen@users.noreply.github.com>
|
||||
Date: Tue, 25 Mar 2025 16:34:36 +0000
|
||||
Subject: [PATCH] fix pyproject.toml license format
|
||||
|
||||
---
|
||||
pyproject.toml | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/pyproject.toml b/pyproject.toml
|
||||
index d6728d3..0659e91 100644
|
||||
--- a/pyproject.toml
|
||||
+++ b/pyproject.toml
|
||||
@@ -7,7 +7,7 @@ name = "compressed-rtf"
|
||||
dynamic = ["version"]
|
||||
description = "Compressed Rich Text Format (RTF) compression and decompression package"
|
||||
readme = "README.md"
|
||||
-license = "MIT"
|
||||
+license = {text = "MIT"}
|
||||
authors = [
|
||||
{ name = "Dmitry Alimov" },
|
||||
]
|
||||
--
|
||||
2.49.0
|
||||
|
||||
12
_service
12
_service
@@ -1,14 +1,14 @@
|
||||
<services>
|
||||
<service mode="disabled" name="tar_scm">
|
||||
<service name="tar_scm" mode="manual">
|
||||
<param name="url">https://github.com/delimitry/compressed_rtf.git</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="revision">ad93a504ca6a09aff9561eac586ff6d91861d147</param>
|
||||
<param name="versionformat">1.0.6</param>
|
||||
<param name="changesgenerate">enable</param>
|
||||
<param name="revision">1.0.7</param>
|
||||
<param name="versionformat">1.0.7</param>
|
||||
<param name="changesgenerate">disable</param>
|
||||
</service>
|
||||
<service mode="disabled" name="recompress">
|
||||
<service name="recompress" mode="manual">
|
||||
<param name="file">*.tar</param>
|
||||
<param name="compression">xz</param>
|
||||
</service>
|
||||
<service mode="disabled" name="set_version"/>
|
||||
<service mode="manual" name="set_version"/>
|
||||
</services>
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9be5a6380904ef07ad7ea1326c87d0ac56f49a3f2a81b5ff37051099dc5c4e73
|
||||
size 6564
|
||||
3
compressed_rtf-1.0.7.tar.xz
Normal file
3
compressed_rtf-1.0.7.tar.xz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:aef5fee67a7e8b961d3523c29be25de67fb54bf309091f9345cd310c8b682eef
|
||||
size 6992
|
||||
@@ -1,3 +1,22 @@
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
- Update to version 1.0.7
|
||||
* Fix: resolve circular import in setup.py.
|
||||
* Fix url.
|
||||
- Add patch:
|
||||
* 0001-fix-pyproject.toml-license-format.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 24 19:10:37 UTC 2024 - Guang Yee <gyee@suse.com>
|
||||
|
||||
- Enable sle15_python_module_pythons.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 24 14:40:40 UTC 2021 - Martin Hauke <mardnh@gmx.de>
|
||||
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
#
|
||||
# spec file for package python-compressed_rtf
|
||||
#
|
||||
# Copyright (c) 2021, Martin Hauke <mardnh@gmx.de>
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
# Copyright (c) 2021-2025, Martin Hauke <mardnh@gmx.de>
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,17 +17,20 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-compressed_rtf
|
||||
Version: 1.0.6
|
||||
Version: 1.0.7
|
||||
Release: 0
|
||||
Summary: Compressed Rich Text Format (RTF) compression and decompression package
|
||||
License: MIT
|
||||
URL: https://github.com/delimitry/compressed_rtf
|
||||
Source: compressed_rtf-%{version}.tar.xz
|
||||
BuildRequires: python-rpm-macros
|
||||
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
|
||||
%python_subpackages
|
||||
|
||||
@@ -34,14 +38,13 @@ BuildArch: noarch
|
||||
Compressed Rich Text Format (RTF) compression and decompression package
|
||||
|
||||
%prep
|
||||
%setup -q -n compressed_rtf-%{version}
|
||||
sed -i -e '/^#!\//, 1d' compressed_rtf/{compressed_rtf.py,crc32.py}
|
||||
%autosetup -p1 -n compressed_rtf-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
@@ -50,6 +53,7 @@ sed -i -e '/^#!\//, 1d' compressed_rtf/{compressed_rtf.py,crc32.py}
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%{python_sitelib}/compressed_rtf*
|
||||
%{python_sitelib}/compressed_rtf
|
||||
%{python_sitelib}/compressed_rtf-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user