From cf878d4fe80c7b8af3636cb44aa7b5a83b3ccf5b Mon Sep 17 00:00:00 2001 From: Gwyn Ciesla Date: Fri, 15 Nov 2019 08:33:45 -0600 Subject: [PATCH 01/34] "Adding package.cfg file" --- package.cfg | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 package.cfg diff --git a/package.cfg b/package.cfg new file mode 100644 index 0000000..66ea79d --- /dev/null +++ b/package.cfg @@ -0,0 +1,2 @@ +[koji] +targets = epel8 epel8-playground \ No newline at end of file From e21b9ada513bfab190f23423df82c4ddc8520c51 Mon Sep 17 00:00:00 2001 From: David Kaufmann Date: Tue, 17 Mar 2020 11:33:19 +0100 Subject: [PATCH 02/34] add files from master --- .gitignore | 8 ++ python-html2text.spec | 246 ++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 255 insertions(+) create mode 100644 .gitignore create mode 100644 python-html2text.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..93a5d7e --- /dev/null +++ b/.gitignore @@ -0,0 +1,8 @@ +html2text-2.38.py +/python-html2text-3.02.tar.gz +/aaronsw-html2text-3.02-77-gc368b14.tar.gz +/html2text-2015.6.6.tar.gz +/html2text-2016.9.19.tar.gz +/html2text-2018.1.9.tar.gz +/html2text-2019.8.11.tar.gz +/html2text-2019.9.26.tar.gz diff --git a/python-html2text.spec b/python-html2text.spec new file mode 100644 index 0000000..9919b7f --- /dev/null +++ b/python-html2text.spec @@ -0,0 +1,246 @@ +%global upname html2text +%global common_sum Convert HTML to Markdown-formatted text +%global common_desc %{upname} is a Python script that converts a page \ +of HTML into clean, easy-to-read plain ASCII text. Better yet, that ASCII \ +also happens to be valid Markdown (a text-to-HTML format). + + +Name: python-%{upname} +Version: 2019.9.26 +Release: 3%{?dist} +Summary: %{common_sum} + +License: GPLv3 +URL: http://alir3z4.github.io/%{upname} +Source0: https://files.pythonhosted.org/packages/source/h/%{upname}/%{upname}-%{version}.tar.gz + +BuildArch: noarch + +BuildRequires: help2man +BuildRequires: python%{python3_pkgversion}-devel +BuildRequires: python%{python3_pkgversion}-setuptools +BuildRequires: python3-pytest + +%description +%{common_desc} + + +%package -n python3-%{upname} +Summary: %{common_sum} +Provides: %{upname} = %{version}-%{release} +Obsoletes: python2-%{upname} <= %{version}-%{release} +%{?python_provide:%python_provide python3-%{upname}} + +%description -n python3-%{upname} +%{common_desc} + + +%prep +%autosetup -n %{upname}-%{version} +%{__rm} -fr *.egg-info + + +%build +%py3_build + + +%install +%{__mkdir} -p %{buildroot}%{_mandir}/man1 + +%py3_install +%{__mv} -f %{buildroot}%{_bindir}/%{upname} %{buildroot}%{_bindir}/python3-%{upname} +export PYTHONPATH="%{buildroot}%{python3_sitelib}" +%{_bindir}/help2man --no-discard-stderr -s 1 -N -o %{buildroot}%{_mandir}/man1/python3-%{upname}.1 %{buildroot}%{_bindir}/python3-%{upname} +pushd %{buildroot}%{_bindir} +ln -s python3-%{upname} %{upname} +ln -s python3-%{upname} %{name} +popd +pushd %{buildroot}%{_mandir}/man1/ +ln -s python3-%{upname}.1 %{upname}.1 +ln -s python3-%{upname}.1 %{name}.1 +popd + + +%check +%{__python3} -m pytest + + +%files -n python3-%{upname} +%license AUTHORS.* COPYING +%doc README.* ChangeLog.* PKG-INFO +%{_bindir}/python3-%{upname} +%{_bindir}/%{upname} +%{_bindir}/%{name} +%{_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 +* Thu Jan 30 2020 Fedora Release Engineering - 2019.9.26-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Tue Oct 29 2019 Sérgio Basto - 2019.9.26-2 +- Python3 only this version remove support for Python <= 3.4 + +* Tue Oct 29 2019 Sérgio Basto - 2019.9.26-1 +- Update to 2019.9.26 +- Python3 only this version remove support for Python <= 3.4 + +* Mon Oct 21 2019 Miro Hrončok - 2019.8.11-2 +- Do not bring Python 2 BuildRequires when not building the Python 2 package + +* Mon Sep 09 2019 Sérgio Basto - 2019.8.11-1 +- Update to 2019.8.11 +- Build python3-html2text on epel 7 (#1740322) +- Drop python2 on Fedora >= 31 (#1741010) +- Remove Obsoletes: html2text (#1314105) + +* Mon Aug 19 2019 Miro Hrončok - 2018.1.9-3 +- Rebuilt for Python 3.8 + +* Fri Jul 26 2019 Fedora Release Engineering - 2018.1.9-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Thu Mar 28 2019 Sérgio Basto - 2018.1.9-1 +- Update to 2018.1.9 +- Some cleanups, simplify spec and use symbol links +- Fix Obsoletes/Provides + +* Sat Feb 02 2019 Fedora Release Engineering - 2016.9.19-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Sat Jul 14 2018 Fedora Release Engineering - 2016.9.19-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Tue Jun 19 2018 Miro Hrončok - 2016.9.19-6 +- Rebuilt for Python 3.7 + +* Mon Feb 12 2018 Iryna Shcherbina - 2016.9.19-5 +- Update Python 2 dependency declarations to new packaging standards + (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) + +* Fri Feb 09 2018 Fedora Release Engineering - 2016.9.19-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 2016.9.19-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 2016.9.19-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Wed Jan 25 2017 Björn Esser - 2016.9.19-1 +- Update to latest upstream +- Package license and documentation +- Adapt to recent guidelines +- Fix other packaging issues + +* Mon Dec 19 2016 Miro Hrončok - 2015.6.6-7 +- Rebuild for Python 3.6 + +* Tue Jul 19 2016 Fedora Release Engineering - 2015.6.6-6 +- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages + +* Thu Feb 04 2016 Fedora Release Engineering - 2015.6.6-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Mon Dec 07 2015 Matěj Cepl - 2015.6.6-4 +- Provide/Obsolete html2text package. (#1288748) +- Temporarily switch off tests. + +* Tue Nov 10 2015 Fedora Release Engineering - 2015.6.6-3 +- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 + +* Thu Jun 18 2015 Fedora Release Engineering - 2015.6.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Tue Jun 09 2015 Matej Cepl - 2015.6.6-1 +- Upgrade to the latest upstream (RHBZ #1229552) + +* Mon Jun 30 2014 Toshio Kuratomi - 3.200.3-7 +- Replace python-setuptools-devel BR with python-setuptools + +* Sat Jun 07 2014 Fedora Release Engineering - 3.200.3-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sun Aug 04 2013 Fedora Release Engineering - 3.200.3-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Tue Feb 19 2013 Michael Schwendt - 3.200.3-4 +- Merge "remove-newlines" (from alt tags) patch (Debian #299027). +- Include html2text script as python-html2script. +- Minor spec cleanup. + +* Thu Feb 14 2013 Fedora Release Engineering - 3.200.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Sat Jul 21 2012 Fedora Release Engineering - 3.200.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Fri Jan 13 2012 Michael Schwendt - 3.200.3-1 +- TODO: decide on the new /usr/bin/html2text this one wants to install +- update to 3.200.3 + +* Tue Apr 12 2011 Thorsten Leemhuis - 3.02-2 +- add disttag + +* Mon Apr 11 2011 Thorsten Leemhuis - 3.02-1 +- update to 3.02 +- download tarball from github +- use setuptools + +* Tue Feb 08 2011 Fedora Release Engineering - 2.38-3.1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Thu Jul 22 2010 David Malcolm - 2.38-2.1 +- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild + +* Sun Jul 04 2010 Thorsten Leemhuis - 2.38-1 +- update to 2.38 + +* Sun Jul 26 2009 Fedora Release Engineering - 2.35-3.1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Thu Feb 26 2009 Fedora Release Engineering - 2.35-2.1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Sat Dec 13 2008 Thorsten Leemhuis - 2.35-1 +- update to 2.35 + +* Sat Nov 29 2008 Ignacio Vazquez-Abrams - 2.34-2.1 +- Rebuild for Python 2.6 + +* Sat Oct 11 2008 Thorsten Leemhuis - 2.34-1 +- update to 2.34 + +* Sat Sep 27 2008 Thorsten Leemhuis - 2.33-1 +- update to 2.33 + +* Fri Aug 01 2008 Thorsten Leemhuis - 2.32-1 +- update to 2.32 + +* Sun Jul 27 2008 Thorsten Leemhuis - 2.31-1 +- update to 2.31 + +* Fri Jul 04 2008 Thorsten Leemhuis - 2.30-1 +- update to 2.30 (GPLv3 now) + +* Fri Nov 02 2007 Thorsten Leemhuis - 2.29-1 +- update to 2.29 + +* Thu Oct 04 2007 Thorsten Leemhuis - 2.28-1 +- update to 2.28 (just one line actually different) + +* Thu Oct 04 2007 Thorsten Leemhuis - 2.26-3 +- BR python (fixes #317211) + +* Fri Aug 03 2007 Thorsten Leemhuis +- Update License field due to the "Licensing guidelines changes" + +* Sat Mar 24 2007 Thorsten Leemhuis - 2.26-2 +- Use sed instead of dos2unix + +* Sat Mar 24 2007 Thorsten Leemhuis - 2.26-1 +- Initial package diff --git a/sources b/sources index e69de29..68fac4b 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +SHA512 (html2text-2019.9.26.tar.gz) = 4c6a52e96d3997a6ebe41c2955e2f6bd5189f49aadd7d7afbe67b85a2f61a0aafd0fc09fef184cb9407b9ab26f120ef235294e4e9d8f41e3b6b8f6fc29aa386d From 3dd797b54f8d771264ae63aa8db41e443231ed2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 26 May 2020 03:19:12 +0200 Subject: [PATCH 03/34] Rebuilt for Python 3.9 --- python-html2text.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-html2text.spec b/python-html2text.spec index 9919b7f..3cdbbad 100644 --- a/python-html2text.spec +++ b/python-html2text.spec @@ -7,7 +7,7 @@ also happens to be valid Markdown (a text-to-HTML format). Name: python-%{upname} Version: 2019.9.26 -Release: 3%{?dist} +Release: 4%{?dist} Summary: %{common_sum} License: GPLv3 @@ -79,6 +79,9 @@ popd %changelog +* Tue May 26 2020 Miro Hrončok - 2019.9.26-4 +- Rebuilt for Python 3.9 + * Thu Jan 30 2020 Fedora Release Engineering - 2019.9.26-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild From 6708fc5595d0c0d2063251258a75c5278879bd1c Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 29 Jul 2020 01:27:59 +0000 Subject: [PATCH 04/34] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-html2text.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-html2text.spec b/python-html2text.spec index 3cdbbad..4257d1c 100644 --- a/python-html2text.spec +++ b/python-html2text.spec @@ -7,7 +7,7 @@ also happens to be valid Markdown (a text-to-HTML format). Name: python-%{upname} Version: 2019.9.26 -Release: 4%{?dist} +Release: 5%{?dist} Summary: %{common_sum} License: GPLv3 @@ -79,6 +79,9 @@ popd %changelog +* Wed Jul 29 2020 Fedora Release Engineering - 2019.9.26-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Tue May 26 2020 Miro Hrončok - 2019.9.26-4 - Rebuilt for Python 3.9 From 3ddff799419baa6dd4c14e9c1d0e612923399e6d Mon Sep 17 00:00:00 2001 From: David Kaufmann Date: Mon, 10 Aug 2020 00:44:36 +0200 Subject: [PATCH 05/34] update to v2020.1.16 --- .gitignore | 1 + python-html2text.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 93a5d7e..9351604 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ html2text-2.38.py /html2text-2018.1.9.tar.gz /html2text-2019.8.11.tar.gz /html2text-2019.9.26.tar.gz +/html2text-2020.1.16.tar.gz diff --git a/python-html2text.spec b/python-html2text.spec index 4257d1c..67328ae 100644 --- a/python-html2text.spec +++ b/python-html2text.spec @@ -6,8 +6,8 @@ also happens to be valid Markdown (a text-to-HTML format). Name: python-%{upname} -Version: 2019.9.26 -Release: 5%{?dist} +Version: 2020.1.16 +Release: 1%{?dist} Summary: %{common_sum} License: GPLv3 @@ -79,6 +79,9 @@ popd %changelog +* Fr Aug 07 2020 David Kaufmann - 2020.1.16-1 +- Update to 2020.1.16 + * Wed Jul 29 2020 Fedora Release Engineering - 2019.9.26-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild diff --git a/sources b/sources index 68fac4b..bb8e7f3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (html2text-2019.9.26.tar.gz) = 4c6a52e96d3997a6ebe41c2955e2f6bd5189f49aadd7d7afbe67b85a2f61a0aafd0fc09fef184cb9407b9ab26f120ef235294e4e9d8f41e3b6b8f6fc29aa386d +SHA512 (html2text-2020.1.16.tar.gz) = 14453c98e81d05afb3241b04a9e50caf63e4b6f857337b4bd9f53e6b8fa7146aa6a1f4f64777db9fa350316b19fe62a0033dce5748191ca9fbd17a8757002855 From f40addd64873b800cfec1826b80267010b6bdcd3 Mon Sep 17 00:00:00 2001 From: David Kaufmann Date: Mon, 10 Aug 2020 00:48:39 +0200 Subject: [PATCH 06/34] fix cl date --- python-html2text.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-html2text.spec b/python-html2text.spec index 67328ae..5d8f938 100644 --- a/python-html2text.spec +++ b/python-html2text.spec @@ -79,7 +79,7 @@ popd %changelog -* Fr Aug 07 2020 David Kaufmann - 2020.1.16-1 +* Fri Aug 07 2020 David Kaufmann - 2020.1.16-1 - Update to 2020.1.16 * Wed Jul 29 2020 Fedora Release Engineering - 2019.9.26-5 From 47c461239b0d4288d21204c36d6fc8e437f0bb4f Mon Sep 17 00:00:00 2001 From: Troy Dawson Date: Thu, 24 Sep 2020 18:53:16 +0000 Subject: [PATCH 07/34] remove package.cfg per new epel-playground policy --- package.cfg | 2 -- 1 file changed, 2 deletions(-) delete mode 100644 package.cfg diff --git a/package.cfg b/package.cfg deleted file mode 100644 index 66ea79d..0000000 --- a/package.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[koji] -targets = epel8 epel8-playground \ No newline at end of file From 1ab41f4cc55439d59158747927bb867a1b0f9a4c Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 27 Jan 2021 11:04:18 +0000 Subject: [PATCH 08/34] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-html2text.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-html2text.spec b/python-html2text.spec index 5d8f938..31f4fe2 100644 --- a/python-html2text.spec +++ b/python-html2text.spec @@ -7,7 +7,7 @@ also happens to be valid Markdown (a text-to-HTML format). Name: python-%{upname} Version: 2020.1.16 -Release: 1%{?dist} +Release: 2%{?dist} Summary: %{common_sum} License: GPLv3 @@ -79,6 +79,9 @@ popd %changelog +* Wed Jan 27 2021 Fedora Release Engineering - 2020.1.16-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Fri Aug 07 2020 David Kaufmann - 2020.1.16-1 - Update to 2020.1.16 From 39fd9c58c1e058b67fb2ba865f9e230662a53357 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 4 Jun 2021 20:38:02 +0200 Subject: [PATCH 09/34] Rebuilt for Python 3.10 --- python-html2text.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-html2text.spec b/python-html2text.spec index 31f4fe2..cb6e94c 100644 --- a/python-html2text.spec +++ b/python-html2text.spec @@ -7,7 +7,7 @@ also happens to be valid Markdown (a text-to-HTML format). Name: python-%{upname} Version: 2020.1.16 -Release: 2%{?dist} +Release: 3%{?dist} Summary: %{common_sum} License: GPLv3 @@ -79,6 +79,9 @@ popd %changelog +* Fri Jun 04 2021 Python Maint - 2020.1.16-3 +- Rebuilt for Python 3.10 + * Wed Jan 27 2021 Fedora Release Engineering - 2020.1.16-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From ec7d2aeb2add2a3bf0b2dd6158b4ea81dd39ea13 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 23 Jul 2021 06:45:47 +0000 Subject: [PATCH 10/34] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-html2text.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-html2text.spec b/python-html2text.spec index cb6e94c..082e6d4 100644 --- a/python-html2text.spec +++ b/python-html2text.spec @@ -7,7 +7,7 @@ also happens to be valid Markdown (a text-to-HTML format). Name: python-%{upname} Version: 2020.1.16 -Release: 3%{?dist} +Release: 4%{?dist} Summary: %{common_sum} License: GPLv3 @@ -79,6 +79,9 @@ popd %changelog +* Fri Jul 23 2021 Fedora Release Engineering - 2020.1.16-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Fri Jun 04 2021 Python Maint - 2020.1.16-3 - Rebuilt for Python 3.10 From d94fbdd7a09a0e67badad12d1da0a1fb6afa4974 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 21 Jan 2022 12:40:24 +0000 Subject: [PATCH 11/34] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-html2text.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-html2text.spec b/python-html2text.spec index 082e6d4..72513ac 100644 --- a/python-html2text.spec +++ b/python-html2text.spec @@ -7,7 +7,7 @@ also happens to be valid Markdown (a text-to-HTML format). Name: python-%{upname} Version: 2020.1.16 -Release: 4%{?dist} +Release: 5%{?dist} Summary: %{common_sum} License: GPLv3 @@ -79,6 +79,9 @@ popd %changelog +* Fri Jan 21 2022 Fedora Release Engineering - 2020.1.16-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Fri Jul 23 2021 Fedora Release Engineering - 2020.1.16-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild From 037c72dcb2885c88b5ad311103889fea26f0cfa5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0pl=C3=ADchal?= Date: Mon, 14 Mar 2022 10:42:18 +0100 Subject: [PATCH 12/34] Enable basic test coverage in the CI Run a simple smoke test and the upstream test suite. Use `tmt run` to safely execute tests from your laptop. See also: https://tmt.readthedocs.io/en/latest/guide.html --- .fmf/version | 1 + plans/basic.fmf | 11 +++++++++++ tests/smoke.fmf | 2 ++ tests/smoke.py | 24 ++++++++++++++++++++++++ tests/unit.fmf | 3 +++ 5 files changed, 41 insertions(+) create mode 100644 .fmf/version create mode 100644 plans/basic.fmf create mode 100644 tests/smoke.fmf create mode 100755 tests/smoke.py create mode 100644 tests/unit.fmf diff --git a/.fmf/version b/.fmf/version new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/.fmf/version @@ -0,0 +1 @@ +1 diff --git a/plans/basic.fmf b/plans/basic.fmf new file mode 100644 index 0000000..0ec1948 --- /dev/null +++ b/plans/basic.fmf @@ -0,0 +1,11 @@ +summary: + Check basic functionality +discover: + how: fmf + dist-git-source: true + dist-git-init: false +prepare: + how: install + package: python3-html2text +execute: + how: tmt diff --git a/tests/smoke.fmf b/tests/smoke.fmf new file mode 100644 index 0000000..efee66a --- /dev/null +++ b/tests/smoke.fmf @@ -0,0 +1,2 @@ +summary: A simple smoke test +test: ./smoke.py diff --git a/tests/smoke.py b/tests/smoke.py new file mode 100755 index 0000000..7c65c2e --- /dev/null +++ b/tests/smoke.py @@ -0,0 +1,24 @@ +#!/usr/bin/python3 + +import html2text + +html = """ + + +

heading

+
  • item
+ + +""" + +text = html2text.html2text(html) + +print(text) + +if "### heading" not in text: + print("Heading not converted.") + raise SystemExit(1) + +if "* item" not in text: + print("List item not converted.") + raise SystemExit(1) diff --git a/tests/unit.fmf b/tests/unit.fmf new file mode 100644 index 0000000..fe58d22 --- /dev/null +++ b/tests/unit.fmf @@ -0,0 +1,3 @@ +summary: Run the upstream test suite +test: cd ../html2text-*/ && python3 -m pytest +require: python3-pytest From 545980ba9c7204422f7103be24cb602cb84fccea Mon Sep 17 00:00:00 2001 From: Python Maint Date: Mon, 13 Jun 2022 17:11:21 +0200 Subject: [PATCH 13/34] Rebuilt for Python 3.11 --- python-html2text.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-html2text.spec b/python-html2text.spec index 72513ac..794b345 100644 --- a/python-html2text.spec +++ b/python-html2text.spec @@ -7,7 +7,7 @@ also happens to be valid Markdown (a text-to-HTML format). Name: python-%{upname} Version: 2020.1.16 -Release: 5%{?dist} +Release: 6%{?dist} Summary: %{common_sum} License: GPLv3 @@ -79,6 +79,9 @@ popd %changelog +* Mon Jun 13 2022 Python Maint - 2020.1.16-6 +- Rebuilt for Python 3.11 + * Fri Jan 21 2022 Fedora Release Engineering - 2020.1.16-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild From 0b08ee5af51a9f198602eeee87de3d9c8a92c4df Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 22 Jul 2022 19:09:56 +0000 Subject: [PATCH 14/34] Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-html2text.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-html2text.spec b/python-html2text.spec index 794b345..5fd949f 100644 --- a/python-html2text.spec +++ b/python-html2text.spec @@ -7,7 +7,7 @@ also happens to be valid Markdown (a text-to-HTML format). Name: python-%{upname} Version: 2020.1.16 -Release: 6%{?dist} +Release: 7%{?dist} Summary: %{common_sum} License: GPLv3 @@ -79,6 +79,9 @@ popd %changelog +* Fri Jul 22 2022 Fedora Release Engineering - 2020.1.16-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + * Mon Jun 13 2022 Python Maint - 2020.1.16-6 - Rebuilt for Python 3.11 From d08288dfeeee359eaeaf4a2fcb1b259f1659182c Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 20 Jan 2023 13:49:50 +0000 Subject: [PATCH 15/34] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-html2text.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-html2text.spec b/python-html2text.spec index 5fd949f..2cb9682 100644 --- a/python-html2text.spec +++ b/python-html2text.spec @@ -7,7 +7,7 @@ also happens to be valid Markdown (a text-to-HTML format). Name: python-%{upname} Version: 2020.1.16 -Release: 7%{?dist} +Release: 8%{?dist} Summary: %{common_sum} License: GPLv3 @@ -79,6 +79,9 @@ popd %changelog +* Fri Jan 20 2023 Fedora Release Engineering - 2020.1.16-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Fri Jul 22 2022 Fedora Release Engineering - 2020.1.16-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild From fdfaa0429c0e1ef15febd919bfd7fe9a82674f6a Mon Sep 17 00:00:00 2001 From: Python Maint Date: Tue, 13 Jun 2023 22:50:58 +0200 Subject: [PATCH 16/34] Rebuilt for Python 3.12 --- python-html2text.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-html2text.spec b/python-html2text.spec index 2cb9682..6af6dd5 100644 --- a/python-html2text.spec +++ b/python-html2text.spec @@ -7,7 +7,7 @@ also happens to be valid Markdown (a text-to-HTML format). Name: python-%{upname} Version: 2020.1.16 -Release: 8%{?dist} +Release: 9%{?dist} Summary: %{common_sum} License: GPLv3 @@ -79,6 +79,9 @@ popd %changelog +* Tue Jun 13 2023 Python Maint - 2020.1.16-9 +- Rebuilt for Python 3.12 + * Fri Jan 20 2023 Fedora Release Engineering - 2020.1.16-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild From daa343031e505228d30ed85c84efcf5691a9f664 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 21 Jul 2023 10:23:08 +0000 Subject: [PATCH 17/34] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-html2text.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-html2text.spec b/python-html2text.spec index 6af6dd5..6a4c894 100644 --- a/python-html2text.spec +++ b/python-html2text.spec @@ -7,7 +7,7 @@ also happens to be valid Markdown (a text-to-HTML format). Name: python-%{upname} Version: 2020.1.16 -Release: 9%{?dist} +Release: 10%{?dist} Summary: %{common_sum} License: GPLv3 @@ -79,6 +79,9 @@ popd %changelog +* Fri Jul 21 2023 Fedora Release Engineering - 2020.1.16-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Tue Jun 13 2023 Python Maint - 2020.1.16-9 - Rebuilt for Python 3.12 From b497dda37aefb7fa176e4a6a8165ab9585ef2d7e Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Sun, 22 Oct 2023 21:41:00 -0400 Subject: [PATCH 18/34] Fix flatpak build No assumptions should be made as to the location of help2man; in the case of flatpak builds, the buildroot version in /usr is used even when building into /app. --- python-html2text.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-html2text.spec b/python-html2text.spec index 6a4c894..5899514 100644 --- a/python-html2text.spec +++ b/python-html2text.spec @@ -50,7 +50,7 @@ Obsoletes: python2-%{upname} <= %{version}-%{release} %py3_install %{__mv} -f %{buildroot}%{_bindir}/%{upname} %{buildroot}%{_bindir}/python3-%{upname} export PYTHONPATH="%{buildroot}%{python3_sitelib}" -%{_bindir}/help2man --no-discard-stderr -s 1 -N -o %{buildroot}%{_mandir}/man1/python3-%{upname}.1 %{buildroot}%{_bindir}/python3-%{upname} +help2man --no-discard-stderr -s 1 -N -o %{buildroot}%{_mandir}/man1/python3-%{upname}.1 %{buildroot}%{_bindir}/python3-%{upname} pushd %{buildroot}%{_bindir} ln -s python3-%{upname} %{upname} ln -s python3-%{upname} %{name} From 7ed9b89423e4bd34ec95b98510435262a883aa63 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Mon, 22 Jan 2024 02:16:15 +0000 Subject: [PATCH 19/34] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- python-html2text.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-html2text.spec b/python-html2text.spec index 5899514..b4a35c3 100644 --- a/python-html2text.spec +++ b/python-html2text.spec @@ -7,7 +7,7 @@ also happens to be valid Markdown (a text-to-HTML format). Name: python-%{upname} Version: 2020.1.16 -Release: 10%{?dist} +Release: 11%{?dist} Summary: %{common_sum} License: GPLv3 @@ -79,6 +79,9 @@ popd %changelog +* Mon Jan 22 2024 Fedora Release Engineering - 2020.1.16-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Fri Jul 21 2023 Fedora Release Engineering - 2020.1.16-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild From bee06a11604ea9ad7766db0fe598dee2efb04663 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 26 Jan 2024 05:13:46 +0000 Subject: [PATCH 20/34] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- python-html2text.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-html2text.spec b/python-html2text.spec index b4a35c3..19f608f 100644 --- a/python-html2text.spec +++ b/python-html2text.spec @@ -7,7 +7,7 @@ also happens to be valid Markdown (a text-to-HTML format). Name: python-%{upname} Version: 2020.1.16 -Release: 11%{?dist} +Release: 12%{?dist} Summary: %{common_sum} License: GPLv3 @@ -79,6 +79,9 @@ popd %changelog +* Fri Jan 26 2024 Fedora Release Engineering - 2020.1.16-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Mon Jan 22 2024 Fedora Release Engineering - 2020.1.16-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 1d1e4bd2fe819aa932d9834f5316bd99841b150e Mon Sep 17 00:00:00 2001 From: David Kaufmann Date: Sun, 25 Feb 2024 18:59:48 +0100 Subject: [PATCH 21/34] update to v2024.2.25 --- .gitignore | 1 + python-html2text.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 9351604..5dbfdbe 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ html2text-2.38.py /html2text-2019.8.11.tar.gz /html2text-2019.9.26.tar.gz /html2text-2020.1.16.tar.gz +/html2text-2024.2.25.tar.gz diff --git a/python-html2text.spec b/python-html2text.spec index 19f608f..3de93aa 100644 --- a/python-html2text.spec +++ b/python-html2text.spec @@ -6,8 +6,8 @@ also happens to be valid Markdown (a text-to-HTML format). Name: python-%{upname} -Version: 2020.1.16 -Release: 12%{?dist} +Version: 2024.2.25 +Release: 1%{?dist} Summary: %{common_sum} License: GPLv3 @@ -79,6 +79,9 @@ popd %changelog +* Sun Feb 25 2024 Fedora Release Monitoring - 2024.2.25-1 +- Update to 2024.2.25 (#2265896) + * Fri Jan 26 2024 Fedora Release Engineering - 2020.1.16-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild diff --git a/sources b/sources index bb8e7f3..587b5e6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (html2text-2020.1.16.tar.gz) = 14453c98e81d05afb3241b04a9e50caf63e4b6f857337b4bd9f53e6b8fa7146aa6a1f4f64777db9fa350316b19fe62a0033dce5748191ca9fbd17a8757002855 +SHA512 (html2text-2024.2.25.tar.gz) = 9adf1367b644a7dccef35ddd0041ade8a206943927585a4c1766ff76e2ffc9ab58479d285fe8eb2e18b80270f9eb50ec82855fb8b0df8525e905278abd8ddc22 From a3c804de7766837585707ee132fdf31b656bc6e0 Mon Sep 17 00:00:00 2001 From: David Kaufmann Date: Tue, 27 Feb 2024 21:40:49 +0100 Subject: [PATCH 22/34] bugfix update --- .gitignore | 1 + python-html2text.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 5dbfdbe..76ccc63 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ html2text-2.38.py /html2text-2019.9.26.tar.gz /html2text-2020.1.16.tar.gz /html2text-2024.2.25.tar.gz +/html2text-2024.2.26.tar.gz diff --git a/python-html2text.spec b/python-html2text.spec index 3de93aa..2a3ea0a 100644 --- a/python-html2text.spec +++ b/python-html2text.spec @@ -6,7 +6,7 @@ also happens to be valid Markdown (a text-to-HTML format). Name: python-%{upname} -Version: 2024.2.25 +Version: 2024.2.26 Release: 1%{?dist} Summary: %{common_sum} @@ -79,6 +79,9 @@ popd %changelog +* Tue Feb 27 2024 Fedora Release Monitoring - 2024.2.26-1 +- Update to 2024.2.26 (#2266431) + * Sun Feb 25 2024 Fedora Release Monitoring - 2024.2.25-1 - Update to 2024.2.25 (#2265896) diff --git a/sources b/sources index 587b5e6..c2e523f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (html2text-2024.2.25.tar.gz) = 9adf1367b644a7dccef35ddd0041ade8a206943927585a4c1766ff76e2ffc9ab58479d285fe8eb2e18b80270f9eb50ec82855fb8b0df8525e905278abd8ddc22 +SHA512 (html2text-2024.2.26.tar.gz) = 8304dbc0a8d06ea1bbed4edccbbcb817423bab7acbaa9db84c6c9c3e74a8d1daec148cb591b76b7d5865224ea424b388316c867bda4b07b19ed91272b7beff88 From d77422967fc588d712c877e5468a39cc21bfc3d2 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 7 Jun 2024 10:52:23 +0200 Subject: [PATCH 23/34] Rebuilt for Python 3.13 --- python-html2text.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-html2text.spec b/python-html2text.spec index 2a3ea0a..0800088 100644 --- a/python-html2text.spec +++ b/python-html2text.spec @@ -7,7 +7,7 @@ also happens to be valid Markdown (a text-to-HTML format). Name: python-%{upname} Version: 2024.2.26 -Release: 1%{?dist} +Release: 2%{?dist} Summary: %{common_sum} License: GPLv3 @@ -79,6 +79,9 @@ popd %changelog +* Fri Jun 07 2024 Python Maint - 2024.2.26-2 +- Rebuilt for Python 3.13 + * Tue Feb 27 2024 Fedora Release Monitoring - 2024.2.26-1 - Update to 2024.2.26 (#2266431) From 8b1f1dee9494063b1d507722ad561ab3cbba77dd Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 19 Jul 2024 12:10:17 +0000 Subject: [PATCH 24/34] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- python-html2text.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-html2text.spec b/python-html2text.spec index 0800088..381cd9a 100644 --- a/python-html2text.spec +++ b/python-html2text.spec @@ -7,7 +7,7 @@ also happens to be valid Markdown (a text-to-HTML format). Name: python-%{upname} Version: 2024.2.26 -Release: 2%{?dist} +Release: 3%{?dist} Summary: %{common_sum} License: GPLv3 @@ -79,6 +79,9 @@ popd %changelog +* Fri Jul 19 2024 Fedora Release Engineering - 2024.2.26-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Fri Jun 07 2024 Python Maint - 2024.2.26-2 - Rebuilt for Python 3.13 From 0bd0c3bf282c54b2a84b546a84c75819b49e0f69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Such=C3=BD?= Date: Mon, 29 Jul 2024 14:23:19 +0200 Subject: [PATCH 25/34] convert GPLv3 license to SPDX This is part of https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_4 --- python-html2text.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/python-html2text.spec b/python-html2text.spec index 381cd9a..f60b47f 100644 --- a/python-html2text.spec +++ b/python-html2text.spec @@ -7,10 +7,11 @@ also happens to be valid Markdown (a text-to-HTML format). Name: python-%{upname} Version: 2024.2.26 -Release: 3%{?dist} +Release: 4%{?dist} Summary: %{common_sum} -License: GPLv3 +# 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 @@ -79,6 +80,9 @@ popd %changelog +* Mon Jul 29 2024 Miroslav Suchý - 2024.2.26-4 +- convert license to SPDX + * Fri Jul 19 2024 Fedora Release Engineering - 2024.2.26-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From f501b0840bd1aebfbd4211551d6a129ca6aec7fa Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 18 Jan 2025 14:59:41 +0000 Subject: [PATCH 26/34] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- python-html2text.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-html2text.spec b/python-html2text.spec index f60b47f..c6e6528 100644 --- a/python-html2text.spec +++ b/python-html2text.spec @@ -7,7 +7,7 @@ also happens to be valid Markdown (a text-to-HTML format). Name: python-%{upname} Version: 2024.2.26 -Release: 4%{?dist} +Release: 5%{?dist} Summary: %{common_sum} # Automatically converted from old format: GPLv3 - review is highly recommended. @@ -80,6 +80,9 @@ popd %changelog +* 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 From c7224efcec35b985d36e4cfcf01162514a3528f8 Mon Sep 17 00:00:00 2001 From: David Kaufmann Date: Wed, 21 May 2025 00:00:27 +0200 Subject: [PATCH 27/34] update to v2025.4.15 --- .gitignore | 1 + python-html2text.spec | 24 ++++++++++++++---------- sources | 2 +- 3 files changed, 16 insertions(+), 11 deletions(-) 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 c6e6528..3e39c79 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: 5%{?dist} +Version: 2025.4.15 +Release: 1%{?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} +URL: https://github.com/Alir3z4/%{upname}/ Source0: https://files.pythonhosted.org/packages/source/h/%{upname}/%{upname}-%{version}.tar.gz BuildArch: noarch @@ -38,17 +37,22 @@ Obsoletes: python2-%{upname} <= %{version}-%{release} %prep %autosetup -n %{upname}-%{version} -%{__rm} -fr *.egg-info +#%{__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 +67,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,8 +81,6 @@ 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 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 From 4925990bc967ca8156006701018e48a90a8fb134 Mon Sep 17 00:00:00 2001 From: David Kaufmann Date: Wed, 21 May 2025 00:24:02 +0200 Subject: [PATCH 28/34] fix license --- python-html2text.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-html2text.spec b/python-html2text.spec index 3e39c79..df7b73a 100644 --- a/python-html2text.spec +++ b/python-html2text.spec @@ -10,7 +10,7 @@ Version: 2025.4.15 Release: 1%{?dist} Summary: %{common_sum} -License: GPL-3.0-only +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 From a87babb75b5b6b16e05b82ec780f752646430a40 Mon Sep 17 00:00:00 2001 From: David Kaufmann Date: Wed, 21 May 2025 00:33:12 +0200 Subject: [PATCH 29/34] cleanup --- python-html2text.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/python-html2text.spec b/python-html2text.spec index df7b73a..a71a6f8 100644 --- a/python-html2text.spec +++ b/python-html2text.spec @@ -37,7 +37,6 @@ Obsoletes: python2-%{upname} <= %{version}-%{release} %prep %autosetup -n %{upname}-%{version} -#%{__rm} -fr *.egg-info %generate_buildrequires %pyproject_buildrequires From 2d7afc8619ef9bf9bc3bf9db3d15344844169dd8 Mon Sep 17 00:00:00 2001 From: David Kaufmann Date: Wed, 21 May 2025 01:08:13 +0200 Subject: [PATCH 30/34] catch up changelog --- python-html2text.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/python-html2text.spec b/python-html2text.spec index a71a6f8..9275138 100644 --- a/python-html2text.spec +++ b/python-html2text.spec @@ -83,6 +83,9 @@ popd %changelog +* 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 From acb38288261db47577f04abf74218e3d43e364e9 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Mon, 2 Jun 2025 22:47:44 +0200 Subject: [PATCH 31/34] Rebuilt for Python 3.14 --- python-html2text.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-html2text.spec b/python-html2text.spec index 9275138..15b597f 100644 --- a/python-html2text.spec +++ b/python-html2text.spec @@ -7,7 +7,7 @@ also happens to be valid Markdown (a text-to-HTML format). Name: python-%{upname} Version: 2025.4.15 -Release: 1%{?dist} +Release: 2%{?dist} Summary: %{common_sum} License: GPL-3.0-or-later @@ -83,6 +83,9 @@ popd %changelog +* 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 From 8c8381846ee5cfa32e045d8a1b146e2fa9a67d87 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 25 Jul 2025 08:15:28 +0000 Subject: [PATCH 32/34] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- python-html2text.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-html2text.spec b/python-html2text.spec index 15b597f..6942134 100644 --- a/python-html2text.spec +++ b/python-html2text.spec @@ -7,7 +7,7 @@ also happens to be valid Markdown (a text-to-HTML format). Name: python-%{upname} Version: 2025.4.15 -Release: 2%{?dist} +Release: 3%{?dist} Summary: %{common_sum} License: GPL-3.0-or-later @@ -83,6 +83,9 @@ popd %changelog +* 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 From afe6eb6fa8e97d21c48f449f759691ce2f4f7d46 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 15 Aug 2025 13:52:44 +0200 Subject: [PATCH 33/34] Rebuilt for Python 3.14.0rc2 bytecode --- python-html2text.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-html2text.spec b/python-html2text.spec index 6942134..090b388 100644 --- a/python-html2text.spec +++ b/python-html2text.spec @@ -7,7 +7,7 @@ also happens to be valid Markdown (a text-to-HTML format). Name: python-%{upname} Version: 2025.4.15 -Release: 3%{?dist} +Release: 4%{?dist} Summary: %{common_sum} License: GPL-3.0-or-later @@ -83,6 +83,9 @@ popd %changelog +* 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 From daa7120b41ad7712a47d96260fda0a16d60ce331 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 19 Sep 2025 13:26:07 +0200 Subject: [PATCH 34/34] Rebuilt for Python 3.14.0rc3 bytecode --- python-html2text.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-html2text.spec b/python-html2text.spec index 090b388..45f9598 100644 --- a/python-html2text.spec +++ b/python-html2text.spec @@ -7,7 +7,7 @@ also happens to be valid Markdown (a text-to-HTML format). Name: python-%{upname} Version: 2025.4.15 -Release: 4%{?dist} +Release: 5%{?dist} Summary: %{common_sum} License: GPL-3.0-or-later @@ -83,6 +83,9 @@ popd %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