From 9eff5dd3a57455e5bde6ec19fcfe2a469c9a8de9 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Thu, 18 May 2023 10:17:38 +0200 Subject: [PATCH 01/22] New upstream release Switching to tomli from (dead) toml for older Python versions Version: 4.3-1 --- argparse-manpage.spec | 8 ++++++-- sources | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/argparse-manpage.spec b/argparse-manpage.spec index 4de9e16..5da6102 100644 --- a/argparse-manpage.spec +++ b/argparse-manpage.spec @@ -27,7 +27,7 @@ There is a limited support for (deprecated) optparse objects, too. Name: argparse-manpage -Version: 4.2 +Version: 4.3 Release: 1%{?dist} Summary: %{sum Python} BuildArch: noarch @@ -52,7 +52,7 @@ BuildRequires: python2-pytest %if %{with python3} BuildRequires: python3-setuptools python3-devel BuildRequires: python3-packaging -BuildRequires: python3-toml +BuildRequires: python3-tomli %if %{with check} BuildRequires: python3-pytest %endif @@ -184,6 +184,10 @@ PYTHONPATH=%buildroot%python3_sitearch %__python3 -m pytest -vv %changelog +* Thu May 18 2023 Pavel Raiskup - 4.3-1 +- new upstream release, tomli dep instead of toml + https://github.com/praiskup/argparse-manpage/releases/tag/v4.3 + * Sun May 14 2023 Pavel Raiskup - 4.2-1 - new upstream release, upport for pyproject.toml specs, and --manfile option diff --git a/sources b/sources index b768fd2..0981e4e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (argparse-manpage-4.2.tar.gz) = f5bb63a77547ad61ba41687098f29754b83f8869587647c4de37e4fb4e7ff0ebc55817094d983418b42ff28845501b9870bf67b81ebbec341df1d2544437f84e +SHA512 (argparse-manpage-4.3.tar.gz) = 4668fd4609b36172c374dbf4f398e62641fd742c369d0ca072018a6615cfccbe688db589ba51e91c7b67f987893fb165dae9646b95758755467870e2560f5d2f From fda60da6c03b3ec94f13943e472a1933837a8ff1 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Thu, 18 May 2023 10:19:23 +0200 Subject: [PATCH 02/22] releng: f36 is EOL --- build-and-update-all-branches | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-and-update-all-branches b/build-and-update-all-branches index ffb1696..fd7abfd 100755 --- a/build-and-update-all-branches +++ b/build-and-update-all-branches @@ -4,7 +4,7 @@ # script. main=main -branches="$main epel7 epel8 epel9 f36 f37 f38" +branches="$main epel7 epel8 epel9 f37 f38" exit_handler () { From 7bba18895786f7488b59a2225d3afcf93f0c804d Mon Sep 17 00:00:00 2001 From: Python Maint Date: Tue, 13 Jun 2023 22:28:04 +0200 Subject: [PATCH 03/22] Rebuilt for Python 3.12 --- argparse-manpage.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/argparse-manpage.spec b/argparse-manpage.spec index 5da6102..577b0b0 100644 --- a/argparse-manpage.spec +++ b/argparse-manpage.spec @@ -28,7 +28,7 @@ There is a limited support for (deprecated) optparse objects, too. Name: argparse-manpage Version: 4.3 -Release: 1%{?dist} +Release: 2%{?dist} Summary: %{sum Python} BuildArch: noarch @@ -184,6 +184,9 @@ PYTHONPATH=%buildroot%python3_sitearch %__python3 -m pytest -vv %changelog +* Tue Jun 13 2023 Python Maint - 4.3-2 +- Rebuilt for Python 3.12 + * Thu May 18 2023 Pavel Raiskup - 4.3-1 - new upstream release, tomli dep instead of toml https://github.com/praiskup/argparse-manpage/releases/tag/v4.3 From 17039cbb3f0b594feb4c9d923642df6480e199b2 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 19 Jul 2023 13:42:35 +0000 Subject: [PATCH 04/22] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- argparse-manpage.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/argparse-manpage.spec b/argparse-manpage.spec index 577b0b0..6d47261 100644 --- a/argparse-manpage.spec +++ b/argparse-manpage.spec @@ -28,7 +28,7 @@ There is a limited support for (deprecated) optparse objects, too. Name: argparse-manpage Version: 4.3 -Release: 2%{?dist} +Release: 3%{?dist} Summary: %{sum Python} BuildArch: noarch @@ -184,6 +184,9 @@ PYTHONPATH=%buildroot%python3_sitearch %__python3 -m pytest -vv %changelog +* Wed Jul 19 2023 Fedora Release Engineering - 4.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Tue Jun 13 2023 Python Maint - 4.3-2 - Rebuilt for Python 3.12 From 1d207c86baa4e90f12b6f5d2420fe273482c5ebb Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Wed, 2 Aug 2023 09:03:22 +0200 Subject: [PATCH 05/22] EL7 package needs to depend on python2-toml --- argparse-manpage.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/argparse-manpage.spec b/argparse-manpage.spec index 6d47261..d76a479 100644 --- a/argparse-manpage.spec +++ b/argparse-manpage.spec @@ -80,6 +80,7 @@ Requires: python2-%name = %version-%release %package -n python2-%name Summary: %{sum Python 2} Requires: python2-setuptools +Requires: python2-toml %description -n python2-%name %{desc} From c8dcc8512d261686b247c4e3d7bfc37fca96c4b6 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Mon, 4 Sep 2023 11:04:54 +0200 Subject: [PATCH 06/22] New upstream source Version: 4.4-1 --- argparse-manpage.spec | 12 ++++++++---- build-and-update-all-branches | 2 +- sources | 2 +- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/argparse-manpage.spec b/argparse-manpage.spec index d76a479..ae88b0c 100644 --- a/argparse-manpage.spec +++ b/argparse-manpage.spec @@ -27,14 +27,14 @@ There is a limited support for (deprecated) optparse objects, too. Name: argparse-manpage -Version: 4.3 -Release: 3%{?dist} +Version: 4.4 +Release: 1%{?dist} Summary: %{sum Python} BuildArch: noarch -License: ASL 2.0 +License: Apache-2.0 URL: https://github.com/praiskup/%{name} -Source0: https://github.com/praiskup/%name/releases/download/v%version/%name-%version.tar.gz +Source0: %pypi_source %if %{with python2} BuildRequires: python2-setuptools python2-devel @@ -185,6 +185,10 @@ PYTHONPATH=%buildroot%python3_sitearch %__python3 -m pytest -vv %changelog +* Mon Sep 04 2023 Pavel Raiskup - 4.4-1 +- new upstream release: https://github.com/praiskup/argparse-manpage/releases/tag/v4.4 +- license tag in SPDX format + * Wed Jul 19 2023 Fedora Release Engineering - 4.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild diff --git a/build-and-update-all-branches b/build-and-update-all-branches index fd7abfd..45ed84b 100755 --- a/build-and-update-all-branches +++ b/build-and-update-all-branches @@ -4,7 +4,7 @@ # script. main=main -branches="$main epel7 epel8 epel9 f37 f38" +branches="$main epel7 epel8 epel9 f37 f38 f39" exit_handler () { diff --git a/sources b/sources index 0981e4e..4ec0bc4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (argparse-manpage-4.3.tar.gz) = 4668fd4609b36172c374dbf4f398e62641fd742c369d0ca072018a6615cfccbe688db589ba51e91c7b67f987893fb165dae9646b95758755467870e2560f5d2f +SHA512 (argparse-manpage-4.4.tar.gz) = 129db8b2f1472f35be482dfacef2ba96d793988d4cf6af161a1fd23fa01a24fc9c1731814dee0da26f35d5c31a9353321490b140afe9586ae1dc429f023f8009 From 802e219430a5947bef4eadbb920d3d0965abc3fe Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Fri, 22 Sep 2023 22:27:10 +0200 Subject: [PATCH 07/22] New upstream release Version: 4.5-1 --- argparse-manpage.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/argparse-manpage.spec b/argparse-manpage.spec index ae88b0c..04e9021 100644 --- a/argparse-manpage.spec +++ b/argparse-manpage.spec @@ -27,7 +27,7 @@ There is a limited support for (deprecated) optparse objects, too. Name: argparse-manpage -Version: 4.4 +Version: 4.5 Release: 1%{?dist} Summary: %{sum Python} BuildArch: noarch @@ -185,6 +185,9 @@ PYTHONPATH=%buildroot%python3_sitearch %__python3 -m pytest -vv %changelog +* Fri Sep 22 2023 Pavel Raiskup - 4.5-1 +- new upstream release https://github.com/praiskup/argparse-manpage/releases/tag/v4.4 + * Mon Sep 04 2023 Pavel Raiskup - 4.4-1 - new upstream release: https://github.com/praiskup/argparse-manpage/releases/tag/v4.4 - license tag in SPDX format diff --git a/sources b/sources index 4ec0bc4..6d01b10 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (argparse-manpage-4.4.tar.gz) = 129db8b2f1472f35be482dfacef2ba96d793988d4cf6af161a1fd23fa01a24fc9c1731814dee0da26f35d5c31a9353321490b140afe9586ae1dc429f023f8009 +SHA512 (argparse-manpage-4.5.tar.gz) = 24d2e574b74d33b6b39826cdca2083789fa5e10b4c844a4aa3cd2559db39417f0b55a52ec807dc82103a682f13c9cf83170286d305118edc0e2529100a8f2be1 From 3f0feb38d703893d11425075c90fe569451ec436 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 19 Jan 2024 13:30:27 +0000 Subject: [PATCH 08/22] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- argparse-manpage.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/argparse-manpage.spec b/argparse-manpage.spec index 04e9021..d63cb80 100644 --- a/argparse-manpage.spec +++ b/argparse-manpage.spec @@ -28,7 +28,7 @@ There is a limited support for (deprecated) optparse objects, too. Name: argparse-manpage Version: 4.5 -Release: 1%{?dist} +Release: 2%{?dist} Summary: %{sum Python} BuildArch: noarch @@ -185,6 +185,9 @@ PYTHONPATH=%buildroot%python3_sitearch %__python3 -m pytest -vv %changelog +* Fri Jan 19 2024 Fedora Release Engineering - 4.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Fri Sep 22 2023 Pavel Raiskup - 4.5-1 - new upstream release https://github.com/praiskup/argparse-manpage/releases/tag/v4.4 From eafd1ddd405085625c4eb03adeafac51f7b21a95 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Mon, 22 Jan 2024 23:24:52 +0000 Subject: [PATCH 09/22] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- argparse-manpage.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/argparse-manpage.spec b/argparse-manpage.spec index d63cb80..1f1d780 100644 --- a/argparse-manpage.spec +++ b/argparse-manpage.spec @@ -28,7 +28,7 @@ There is a limited support for (deprecated) optparse objects, too. Name: argparse-manpage Version: 4.5 -Release: 2%{?dist} +Release: 3%{?dist} Summary: %{sum Python} BuildArch: noarch @@ -185,6 +185,9 @@ PYTHONPATH=%buildroot%python3_sitearch %__python3 -m pytest -vv %changelog +* Mon Jan 22 2024 Fedora Release Engineering - 4.5-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Fri Jan 19 2024 Fedora Release Engineering - 4.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 8aea8a9ad51049fa497cd4f4e4ac08598e05faf5 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Wed, 5 Jun 2024 13:48:23 +0200 Subject: [PATCH 10/22] New upstream release Relates: rhbz#2279987 Version: 4.6-1 --- argparse-manpage.spec | 9 ++++++--- sources | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/argparse-manpage.spec b/argparse-manpage.spec index 1f1d780..21efee2 100644 --- a/argparse-manpage.spec +++ b/argparse-manpage.spec @@ -27,8 +27,8 @@ There is a limited support for (deprecated) optparse objects, too. Name: argparse-manpage -Version: 4.5 -Release: 3%{?dist} +Version: 4.6 +Release: 1%{?dist} Summary: %{sum Python} BuildArch: noarch @@ -144,7 +144,7 @@ PYTHONPATH=%buildroot%python2_sitearch %__python2 -m pytest -vv PYTHONPATH=%buildroot%python3_sitearch %__python3 -m pytest -vv %endif %if %{with pyproject} -%pytest +%pytest -vv %endif %endif @@ -185,6 +185,9 @@ PYTHONPATH=%buildroot%python3_sitearch %__python3 -m pytest -vv %changelog +* Wed Jun 05 2024 Pavel Raiskup - 4.6-1 +- new upstream release (rhbz#2279987) + * Mon Jan 22 2024 Fedora Release Engineering - 4.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild diff --git a/sources b/sources index 6d01b10..71552b5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (argparse-manpage-4.5.tar.gz) = 24d2e574b74d33b6b39826cdca2083789fa5e10b4c844a4aa3cd2559db39417f0b55a52ec807dc82103a682f13c9cf83170286d305118edc0e2529100a8f2be1 +SHA512 (argparse-manpage-4.6.tar.gz) = ba9149609b3724811b4cb780c2ebcbfde7f0850153df679fad9e7c12a4a25f84635669ef8f6011ed023228c57e3917cb4850b2d7c395c38191a179edfc288028 From 7640a4a6f5e4ab7aa1f8bc60088119e990579306 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 7 Jun 2024 10:48:16 +0200 Subject: [PATCH 11/22] Rebuilt for Python 3.13 --- argparse-manpage.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/argparse-manpage.spec b/argparse-manpage.spec index 21efee2..0d0c3ba 100644 --- a/argparse-manpage.spec +++ b/argparse-manpage.spec @@ -28,7 +28,7 @@ There is a limited support for (deprecated) optparse objects, too. Name: argparse-manpage Version: 4.6 -Release: 1%{?dist} +Release: 2%{?dist} Summary: %{sum Python} BuildArch: noarch @@ -185,6 +185,9 @@ PYTHONPATH=%buildroot%python3_sitearch %__python3 -m pytest -vv %changelog +* Fri Jun 07 2024 Python Maint - 4.6-2 +- Rebuilt for Python 3.13 + * Wed Jun 05 2024 Pavel Raiskup - 4.6-1 - new upstream release (rhbz#2279987) From 2d2ca823547bf8616c329d6d247713733ce9fd80 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 17 Jul 2024 17:23:30 +0000 Subject: [PATCH 12/22] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- argparse-manpage.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/argparse-manpage.spec b/argparse-manpage.spec index 0d0c3ba..b793178 100644 --- a/argparse-manpage.spec +++ b/argparse-manpage.spec @@ -28,7 +28,7 @@ There is a limited support for (deprecated) optparse objects, too. Name: argparse-manpage Version: 4.6 -Release: 2%{?dist} +Release: 3%{?dist} Summary: %{sum Python} BuildArch: noarch @@ -185,6 +185,9 @@ PYTHONPATH=%buildroot%python3_sitearch %__python3 -m pytest -vv %changelog +* Wed Jul 17 2024 Fedora Release Engineering - 4.6-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Fri Jun 07 2024 Python Maint - 4.6-2 - Rebuilt for Python 3.13 From 8ef80e196cdd980e72ecc5124f486de04bdca56f Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 16 Jan 2025 11:29:57 +0000 Subject: [PATCH 13/22] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- argparse-manpage.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/argparse-manpage.spec b/argparse-manpage.spec index b793178..c28b4e3 100644 --- a/argparse-manpage.spec +++ b/argparse-manpage.spec @@ -28,7 +28,7 @@ There is a limited support for (deprecated) optparse objects, too. Name: argparse-manpage Version: 4.6 -Release: 3%{?dist} +Release: 4%{?dist} Summary: %{sum Python} BuildArch: noarch @@ -185,6 +185,9 @@ PYTHONPATH=%buildroot%python3_sitearch %__python3 -m pytest -vv %changelog +* Thu Jan 16 2025 Fedora Release Engineering - 4.6-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Wed Jul 17 2024 Fedora Release Engineering - 4.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From e93bebd56b01d20f49cf33b34763eb702bea84cc Mon Sep 17 00:00:00 2001 From: Lumir Balhar Date: Thu, 3 Apr 2025 16:08:39 +0200 Subject: [PATCH 14/22] Fix compatibility with newer setuptools New setuptools expects options to use lower_snake_case. --- argparse-manpage.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/argparse-manpage.spec b/argparse-manpage.spec index c28b4e3..b73772e 100644 --- a/argparse-manpage.spec +++ b/argparse-manpage.spec @@ -28,7 +28,7 @@ There is a limited support for (deprecated) optparse objects, too. Name: argparse-manpage Version: 4.6 -Release: 4%{?dist} +Release: 5%{?dist} Summary: %{sum Python} BuildArch: noarch @@ -104,6 +104,9 @@ Requires: python3-setuptools %prep %setup -q +# https://github.com/praiskup/argparse-manpage/pull/116 +sed -i "/parser-file/s/-/_/" examples/old_format_file_name/setup.cfg + %if %{with pyproject} %generate_buildrequires %pyproject_buildrequires @@ -185,6 +188,9 @@ PYTHONPATH=%buildroot%python3_sitearch %__python3 -m pytest -vv %changelog +* Thu Apr 03 2025 Lumír Balhar - 4.6-5 +- Fix build with newer setuptools + * Thu Jan 16 2025 Fedora Release Engineering - 4.6-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From 56c9391aea2c823e8ea6e259ecdb1651aae91a25 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Mon, 2 Jun 2025 22:43:39 +0200 Subject: [PATCH 15/22] Rebuilt for Python 3.14 --- argparse-manpage.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/argparse-manpage.spec b/argparse-manpage.spec index b73772e..9c1aa37 100644 --- a/argparse-manpage.spec +++ b/argparse-manpage.spec @@ -28,7 +28,7 @@ There is a limited support for (deprecated) optparse objects, too. Name: argparse-manpage Version: 4.6 -Release: 5%{?dist} +Release: 6%{?dist} Summary: %{sum Python} BuildArch: noarch @@ -188,6 +188,9 @@ PYTHONPATH=%buildroot%python3_sitearch %__python3 -m pytest -vv %changelog +* Mon Jun 02 2025 Python Maint - 4.6-6 +- Rebuilt for Python 3.14 + * Thu Apr 03 2025 Lumír Balhar - 4.6-5 - Fix build with newer setuptools From 4b1a814c694daebe724bab3c0f98992e6acaa4d1 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 23 Jul 2025 17:12:44 +0000 Subject: [PATCH 16/22] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- argparse-manpage.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/argparse-manpage.spec b/argparse-manpage.spec index 9c1aa37..7f2ae0b 100644 --- a/argparse-manpage.spec +++ b/argparse-manpage.spec @@ -28,7 +28,7 @@ There is a limited support for (deprecated) optparse objects, too. Name: argparse-manpage Version: 4.6 -Release: 6%{?dist} +Release: 7%{?dist} Summary: %{sum Python} BuildArch: noarch @@ -188,6 +188,9 @@ PYTHONPATH=%buildroot%python3_sitearch %__python3 -m pytest -vv %changelog +* Wed Jul 23 2025 Fedora Release Engineering - 4.6-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Mon Jun 02 2025 Python Maint - 4.6-6 - Rebuilt for Python 3.14 From 6e66400253602a2bdf60afc249141376de9a8cdc Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Fri, 15 Aug 2025 12:31:46 +0200 Subject: [PATCH 17/22] New upstream release Version: 4.7-1 --- .gitignore | 2 +- argparse-manpage.spec | 16 +++++++++------- build-and-update-all-branches | 2 +- sources | 2 +- 4 files changed, 12 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index e402717..78be7e2 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -/argparse-manpage-*.tar.gz +/argparse_manpage-*.tar.gz diff --git a/argparse-manpage.spec b/argparse-manpage.spec index 7f2ae0b..b48adb0 100644 --- a/argparse-manpage.spec +++ b/argparse-manpage.spec @@ -1,3 +1,5 @@ +%global pip_module_name argparse_manpage + %if 0%{?fedora} || 0%{?rhel} >= 9 %bcond_without pyproject %bcond_with python2 @@ -27,14 +29,14 @@ There is a limited support for (deprecated) optparse objects, too. Name: argparse-manpage -Version: 4.6 -Release: 7%{?dist} +Version: 4.7 +Release: 1%{?dist} Summary: %{sum Python} BuildArch: noarch License: Apache-2.0 URL: https://github.com/praiskup/%{name} -Source0: %pypi_source +Source0: %pypi_source %pip_module_name %if %{with python2} BuildRequires: python2-setuptools python2-devel @@ -102,10 +104,7 @@ Requires: python3-setuptools %prep -%setup -q - -# https://github.com/praiskup/argparse-manpage/pull/116 -sed -i "/parser-file/s/-/_/" examples/old_format_file_name/setup.cfg +%setup -q -n %{pip_module_name}-%{version} %if %{with pyproject} %generate_buildrequires @@ -188,6 +187,9 @@ PYTHONPATH=%buildroot%python3_sitearch %__python3 -m pytest -vv %changelog +* Fri Aug 15 2025 Pavel Raiskup - 4.7-1 +- new upstream release: https://github.com/praiskup/argparse-manpage/releases/tag/v4.7 + * Wed Jul 23 2025 Fedora Release Engineering - 4.6-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild diff --git a/build-and-update-all-branches b/build-and-update-all-branches index 45ed84b..3bbab4b 100755 --- a/build-and-update-all-branches +++ b/build-and-update-all-branches @@ -4,7 +4,7 @@ # script. main=main -branches="$main epel7 epel8 epel9 f37 f38 f39" +branches="$main epel7 epel8 epel9 epel10 epel10.0 f41 f42 f43" exit_handler () { diff --git a/sources b/sources index 71552b5..e28ee18 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (argparse-manpage-4.6.tar.gz) = ba9149609b3724811b4cb780c2ebcbfde7f0850153df679fad9e7c12a4a25f84635669ef8f6011ed023228c57e3917cb4850b2d7c395c38191a179edfc288028 +SHA512 (argparse_manpage-4.7.tar.gz) = 88c2e0e0747f5950b131d5456b1bc153e64d11ca41d87e3c995d91f7ffb662685a5c58f7ea99f011151aa72e45a5bcab98ac6729e20a19d086a7798d9c783452 From 38354df52dd2b4744639f2bdb417f443cee046b5 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Fri, 15 Aug 2025 12:38:02 +0200 Subject: [PATCH 18/22] Don't build for epel7 --- build-and-update-all-branches | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-and-update-all-branches b/build-and-update-all-branches index 3bbab4b..dd74154 100755 --- a/build-and-update-all-branches +++ b/build-and-update-all-branches @@ -4,7 +4,7 @@ # script. main=main -branches="$main epel7 epel8 epel9 epel10 epel10.0 f41 f42 f43" +branches="$main epel8 epel9 epel10 epel10.0 f41 f42 f43" exit_handler () { From 0a30dc8704e31f7ed696cbf8d742a96caf520738 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 15 Aug 2025 12:38:35 +0200 Subject: [PATCH 19/22] Rebuilt for Python 3.14.0rc2 bytecode --- argparse-manpage.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/argparse-manpage.spec b/argparse-manpage.spec index b48adb0..2473b07 100644 --- a/argparse-manpage.spec +++ b/argparse-manpage.spec @@ -30,7 +30,7 @@ There is a limited support for (deprecated) optparse objects, too. Name: argparse-manpage Version: 4.7 -Release: 1%{?dist} +Release: 2%{?dist} Summary: %{sum Python} BuildArch: noarch @@ -187,6 +187,9 @@ PYTHONPATH=%buildroot%python3_sitearch %__python3 -m pytest -vv %changelog +* Fri Aug 15 2025 Python Maint - 4.7-2 +- Rebuilt for Python 3.14.0rc2 bytecode + * Fri Aug 15 2025 Pavel Raiskup - 4.7-1 - new upstream release: https://github.com/praiskup/argparse-manpage/releases/tag/v4.7 From b7465240f77fa29d865d69b7607c111677190816 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 19 Sep 2025 12:07:32 +0200 Subject: [PATCH 20/22] Rebuilt for Python 3.14.0rc3 bytecode --- argparse-manpage.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/argparse-manpage.spec b/argparse-manpage.spec index 2473b07..60d2f84 100644 --- a/argparse-manpage.spec +++ b/argparse-manpage.spec @@ -30,7 +30,7 @@ There is a limited support for (deprecated) optparse objects, too. Name: argparse-manpage Version: 4.7 -Release: 2%{?dist} +Release: 3%{?dist} Summary: %{sum Python} BuildArch: noarch @@ -187,6 +187,9 @@ PYTHONPATH=%buildroot%python3_sitearch %__python3 -m pytest -vv %changelog +* Fri Sep 19 2025 Python Maint - 4.7-3 +- Rebuilt for Python 3.14.0rc3 bytecode + * Fri Aug 15 2025 Python Maint - 4.7-2 - Rebuilt for Python 3.14.0rc2 bytecode From 0a3dbadbde167f8bd6e8e79e553c777627e7749d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 1 Dec 2025 19:29:40 +0100 Subject: [PATCH 21/22] Fix build with pip 25.3+ - Fixes: rhbz#2417959 From https://pip.pypa.io/en/stable/news/#v25-3 > Remove support for the deprecated setup.py bdist_wheel mechanism. > Consequently, --use-pep517 is now always on, and --no-use-pep517 has been removed. And from https://github.com/pypa/pip/issues/6334 > By opting into pip's PEP 517 mode, you are also opting into build isolation. With build isolation enabled, pip creates temporary Python virtual environment and fetches packages from pypi.org to them, when building wheels. This does not work in offline environments. Yes, PIP_NO_BUILD_ISOLATION=0 means *disable* build isolation, despite the double negative. See https://github.com/pypa/pip/issues/5735 --- argparse-manpage.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/argparse-manpage.spec b/argparse-manpage.spec index 60d2f84..c46f882 100644 --- a/argparse-manpage.spec +++ b/argparse-manpage.spec @@ -30,7 +30,7 @@ There is a limited support for (deprecated) optparse objects, too. Name: argparse-manpage Version: 4.7 -Release: 3%{?dist} +Release: 4%{?dist} Summary: %{sum Python} BuildArch: noarch @@ -139,6 +139,10 @@ Requires: python3-setuptools %if %{with check} %check +# Disable pip build isolation to make the tests work in offline environment +# Fixes https://bugzilla.redhat.com/2417959 +export PIP_NO_BUILD_ISOLATION=0 + %if %{with python2} PYTHONPATH=%buildroot%python2_sitearch %__python2 -m pytest -vv %endif @@ -187,6 +191,10 @@ PYTHONPATH=%buildroot%python3_sitearch %__python3 -m pytest -vv %changelog +* Mon Dec 01 2025 Miro Hrončok - 4.7-4 +- Fix build with pip 25.3+ +- Fixes: rhbz#2417959 + * Fri Sep 19 2025 Python Maint - 4.7-3 - Rebuilt for Python 3.14.0rc3 bytecode From 967cf322170338aa76b353f16196c8a3dbd68e6b Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 16 Jan 2026 03:53:44 +0000 Subject: [PATCH 22/22] Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild --- argparse-manpage.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/argparse-manpage.spec b/argparse-manpage.spec index c46f882..7d88f6f 100644 --- a/argparse-manpage.spec +++ b/argparse-manpage.spec @@ -30,7 +30,7 @@ There is a limited support for (deprecated) optparse objects, too. Name: argparse-manpage Version: 4.7 -Release: 4%{?dist} +Release: 5%{?dist} Summary: %{sum Python} BuildArch: noarch @@ -191,6 +191,9 @@ PYTHONPATH=%buildroot%python3_sitearch %__python3 -m pytest -vv %changelog +* Fri Jan 16 2026 Fedora Release Engineering - 4.7-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild + * Mon Dec 01 2025 Miro Hrončok - 4.7-4 - Fix build with pip 25.3+ - Fixes: rhbz#2417959