diff --git a/.gitignore b/.gitignore index 3ea4577..76ccc63 100644 --- a/.gitignore +++ b/.gitignore @@ -9,4 +9,3 @@ 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 45f9598..c6e6528 100644 --- a/python-html2text.spec +++ b/python-html2text.spec @@ -6,12 +6,13 @@ also happens to be valid Markdown (a text-to-HTML format). Name: python-%{upname} -Version: 2025.4.15 +Version: 2024.2.26 Release: 5%{?dist} Summary: %{common_sum} -License: GPL-3.0-or-later -URL: https://github.com/Alir3z4/%{upname}/ +# Automatically converted from old format: GPLv3 - review is highly recommended. +License: GPL-3.0-only +URL: http://alir3z4.github.io/%{upname} Source0: https://files.pythonhosted.org/packages/source/h/%{upname}/%{upname}-%{version}.tar.gz BuildArch: noarch @@ -37,21 +38,17 @@ Obsoletes: python2-%{upname} <= %{version}-%{release} %prep %autosetup -n %{upname}-%{version} - -%generate_buildrequires -%pyproject_buildrequires +%{__rm} -fr *.egg-info %build -%pyproject_wheel +%py3_build %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} @@ -66,12 +63,10 @@ popd %check -%pyproject_check_import %{__python3} -m pytest -%pytest %{_builddir} -%files -n python3-%{upname} -f %{pyproject_files} +%files -n python3-%{upname} %license AUTHORS.* COPYING %doc README.* ChangeLog.* PKG-INFO %{_bindir}/python3-%{upname} @@ -80,24 +75,11 @@ 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 diff --git a/sources b/sources index 03c28dc..c2e523f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (html2text-2025.4.15.tar.gz) = 2f12e293bb8aa87b4d03d3ec4698e8e8bf013acc9f69b25a2c7a1aacca9a8aaf646747c56a47bc15dae0601ecdc119ba4818daca933d4be7fa52f234c672d9f3 +SHA512 (html2text-2024.2.26.tar.gz) = 8304dbc0a8d06ea1bbed4edccbbcb817423bab7acbaa9db84c6c9c3e74a8d1daec148cb591b76b7d5865224ea424b388316c867bda4b07b19ed91272b7beff88