diff --git a/python-requests-mock.spec b/python-requests-mock.spec index 06d4d1f7fa8554fc507ac8ca9d71b12d9692c569..1da8b5b1d530846026f0e50fa60dea16764f5418 100644 --- a/python-requests-mock.spec +++ b/python-requests-mock.spec @@ -1,15 +1,15 @@ -%define anolis_release 2 +%define anolis_release 1 %bcond_with tests Name: python-requests-mock -Version: 1.10.0 +Version: 1.12.1 Release: %{anolis_release}%{dist} Summary: Mock out responses from the requests package License: Apache-2.0 URL: https://requests-mock.readthedocs.io/ -Source: %{pypi_source requests-mock} +Source0: https://files.pythonhosted.org/packages/source/r/requests-mock/requests-mock-1.12.1.tar.gz Patch0001: 0001-Use-system-urllib3-package.patch Patch0002: 0002-Allow-skipping-purl-tests-if-it-is-not-present.patch @@ -19,6 +19,8 @@ BuildRequires: python3-devel %if %{with tests} BuildRequires: python3-pytest BuildRequires: python3-requests-futures +BuildRequires: python3-pytest +BuildRequires: python3-requests-futures %endif %global _description %{expand: @@ -66,6 +68,10 @@ The %{name}-doc package contains documentation files for %{name}. %doc README.rst ChangeLog %changelog +* Tue Oct 28 2025 wenyuzifang - 1.12.1-1 +- Updated to version 1.12.1 to fix xxxxxx + + * Wed Mar 13 2024 Zhao Hang - 1.10.0-2 - Rebuild with python3.11 diff --git a/requests-mock-1.12.1.tar.gz b/requests-mock-1.12.1.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..89ffa036a41d7fef309f7f60bbc87271614aa5de Binary files /dev/null and b/requests-mock-1.12.1.tar.gz differ