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 4de9e16..7d88f6f 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.2 -Release: 1%{?dist} +Version: 4.7 +Release: 5%{?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 %pip_module_name %if %{with python2} BuildRequires: python2-setuptools python2-devel @@ -52,7 +54,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 @@ -80,6 +82,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} @@ -101,7 +104,7 @@ Requires: python3-setuptools %prep -%setup -q +%setup -q -n %{pip_module_name}-%{version} %if %{with pyproject} %generate_buildrequires @@ -136,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 @@ -143,7 +150,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 @@ -184,6 +191,66 @@ 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 + +* 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 + +* 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 + +* 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 + +* 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 + +* 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) + +* 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 + +* 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 + +* 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 + +* 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/build-and-update-all-branches b/build-and-update-all-branches index ffb1696..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 f36 f37 f38" +branches="$main epel8 epel9 epel10 epel10.0 f41 f42 f43" exit_handler () { diff --git a/sources b/sources index b768fd2..e28ee18 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (argparse-manpage-4.2.tar.gz) = f5bb63a77547ad61ba41687098f29754b83f8869587647c4de37e4fb4e7ff0ebc55817094d983418b42ff28845501b9870bf67b81ebbec341df1d2544437f84e +SHA512 (argparse_manpage-4.7.tar.gz) = 88c2e0e0747f5950b131d5456b1bc153e64d11ca41d87e3c995d91f7ffb662685a5c58f7ea99f011151aa72e45a5bcab98ac6729e20a19d086a7798d9c783452