diff --git a/0001-fix-pyproject.toml-license-format.patch b/0001-fix-pyproject.toml-license-format.patch new file mode 100644 index 0000000..d0a0110 --- /dev/null +++ b/0001-fix-pyproject.toml-license-format.patch @@ -0,0 +1,25 @@ +From b241c705251b245257ad2c8bdd99cecf0c1d731f Mon Sep 17 00:00:00 2001 +From: Stuart Henderson +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 + diff --git a/_service b/_service index 2d9ce07..ca62db4 100644 --- a/_service +++ b/_service @@ -1,14 +1,14 @@ - + https://github.com/delimitry/compressed_rtf.git git - ad93a504ca6a09aff9561eac586ff6d91861d147 - 1.0.6 - enable + 1.0.7 + 1.0.7 + disable - + *.tar xz - + diff --git a/compressed_rtf-1.0.6.tar.xz b/compressed_rtf-1.0.6.tar.xz deleted file mode 100644 index 10d5d58..0000000 --- a/compressed_rtf-1.0.6.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9be5a6380904ef07ad7ea1326c87d0ac56f49a3f2a81b5ff37051099dc5c4e73 -size 6564 diff --git a/compressed_rtf-1.0.7.tar.xz b/compressed_rtf-1.0.7.tar.xz new file mode 100644 index 0000000..7ff8f08 --- /dev/null +++ b/compressed_rtf-1.0.7.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:aef5fee67a7e8b961d3523c29be25de67fb54bf309091f9345cd310c8b682eef +size 6992 diff --git a/python-compressed_rtf.changes b/python-compressed_rtf.changes index c4f4b37..a98a8b3 100644 --- a/python-compressed_rtf.changes +++ b/python-compressed_rtf.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Tue Mar 25 19:16:40 UTC 2025 - Martin Hauke + +- 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 diff --git a/python-compressed_rtf.spec b/python-compressed_rtf.spec index 80f8154..d0a8954 100644 --- a/python-compressed_rtf.spec +++ b/python-compressed_rtf.spec @@ -1,8 +1,8 @@ # # spec file for package python-compressed_rtf # -# Copyright (c) 2024 SUSE LLC -# Copyright (c) 2021, Martin Hauke +# Copyright (c) 2025 SUSE LLC +# Copyright (c) 2021-2025, Martin Hauke # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,12 +19,13 @@ %{?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 +Patch0: 0001-fix-pyproject.toml-license-format.patch BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -35,8 +36,7 @@ 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