diff --git a/.gitignore b/.gitignore index 76ccc63..3ea4577 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ html2text-2.38.py /html2text-2020.1.16.tar.gz /html2text-2024.2.25.tar.gz /html2text-2024.2.26.tar.gz +/html2text-2025.4.15.tar.gz diff --git a/python-html2text.spec b/python-html2text.spec index f60b47f..45f9598 100644 --- a/python-html2text.spec +++ b/python-html2text.spec @@ -6,13 +6,12 @@ also happens to be valid Markdown (a text-to-HTML format). Name: python-%{upname} -Version: 2024.2.26 -Release: 4%{?dist} +Version: 2025.4.15 +Release: 5%{?dist} Summary: %{common_sum} -# Automatically converted from old format: GPLv3 - review is highly recommended. -License: GPL-3.0-only -URL: http://alir3z4.github.io/%{upname} +License: GPL-3.0-or-later +URL: https://github.com/Alir3z4/%{upname}/ Source0: https://files.pythonhosted.org/packages/source/h/%{upname}/%{upname}-%{version}.tar.gz BuildArch: noarch @@ -38,17 +37,21 @@ Obsoletes: python2-%{upname} <= %{version}-%{release} %prep %autosetup -n %{upname}-%{version} -%{__rm} -fr *.egg-info + +%generate_buildrequires +%pyproject_buildrequires %build -%py3_build +%pyproject_wheel %install +%pyproject_install +%pyproject_save_files html2text + %{__mkdir} -p %{buildroot}%{_mandir}/man1 -%py3_install %{__mv} -f %{buildroot}%{_bindir}/%{upname} %{buildroot}%{_bindir}/python3-%{upname} export PYTHONPATH="%{buildroot}%{python3_sitelib}" help2man --no-discard-stderr -s 1 -N -o %{buildroot}%{_mandir}/man1/python3-%{upname}.1 %{buildroot}%{_bindir}/python3-%{upname} @@ -63,10 +66,12 @@ popd %check +%pyproject_check_import %{__python3} -m pytest +%pytest %{_builddir} -%files -n python3-%{upname} +%files -n python3-%{upname} -f %{pyproject_files} %license AUTHORS.* COPYING %doc README.* ChangeLog.* PKG-INFO %{_bindir}/python3-%{upname} @@ -75,11 +80,27 @@ popd %{_mandir}/man1/python3-%{upname}.1* %{_mandir}/man1/%{upname}.1* %{_mandir}/man1/%{name}.1* -%{python3_sitelib}/%{upname} -%{python3_sitelib}/%{upname}-%{version}-py%{python3_version}.egg-info %changelog +* Fri Sep 19 2025 Python Maint - 2025.4.15-5 +- Rebuilt for Python 3.14.0rc3 bytecode + +* Fri Aug 15 2025 Python Maint - 2025.4.15-4 +- Rebuilt for Python 3.14.0rc2 bytecode + +* Fri Jul 25 2025 Fedora Release Engineering - 2025.4.15-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + +* Mon Jun 02 2025 Python Maint - 2025.4.15-2 +- Rebuilt for Python 3.14 + +* Wed May 21 2025 David Kaufmann - 2025.4.15-1 +- Update to 2025.4.15 + +* Sat Jan 18 2025 Fedora Release Engineering - 2024.2.26-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Mon Jul 29 2024 Miroslav Suchý - 2024.2.26-4 - convert license to SPDX diff --git a/sources b/sources index c2e523f..03c28dc 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (html2text-2024.2.26.tar.gz) = 8304dbc0a8d06ea1bbed4edccbbcb817423bab7acbaa9db84c6c9c3e74a8d1daec148cb591b76b7d5865224ea424b388316c867bda4b07b19ed91272b7beff88 +SHA512 (html2text-2025.4.15.tar.gz) = 2f12e293bb8aa87b4d03d3ec4698e8e8bf013acc9f69b25a2c7a1aacca9a8aaf646747c56a47bc15dae0601ecdc119ba4818daca933d4be7fa52f234c672d9f3