From 01879dd4764d086f387ca7a0aa06115574d31f79 Mon Sep 17 00:00:00 2001 From: yangbo Date: Wed, 18 Jan 2023 15:23:41 +0800 Subject: [PATCH] Fix typo in README Signed-off-by: yangbo --- backport-0001-Fix-typo-in-README.patch | 25 +++++++++++++++++++++++++ python-pretend.spec | 7 ++++++- 2 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 backport-0001-Fix-typo-in-README.patch diff --git a/backport-0001-Fix-typo-in-README.patch b/backport-0001-Fix-typo-in-README.patch new file mode 100644 index 0000000..f5fb3af --- /dev/null +++ b/backport-0001-Fix-typo-in-README.patch @@ -0,0 +1,25 @@ +From 5106f673610f22a03e16f363d617ffc1814680ba Mon Sep 17 00:00:00 2001 +From: Dustin Ingram +Date: Fri, 11 Mar 2016 10:19:28 -0500 +Subject: [PATCH 07/14] Fix typo in README + +--- + README.rst | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/README.rst b/README.rst +index 74c99f7..7fdb36d 100644 +--- a/README.rst ++++ b/README.rst +@@ -43,7 +43,7 @@ the value ``"US"``. Unlike mocks, ``x`` will not respond to any other attribute + or methods, nor does it have any methods for making assertions about what you + accessed. + +-If you want to add a method to the stub, simple provide a function to it: ++If you want to add a method to the stub, simply provide a function to it: + + .. code:: pycon + +-- +2.39.0.windows.2 + diff --git a/python-pretend.spec b/python-pretend.spec index e5306d2..cd7617a 100644 --- a/python-pretend.spec +++ b/python-pretend.spec @@ -1,6 +1,6 @@ Name: python-pretend Version: 1.0.8 -Release: 16 +Release: 17 Summary: A library to make stubbing with Python easier License: BSD URL: https://github.com/alex/pretend @@ -16,6 +16,8 @@ Summary: A library to make stubbing with Python easier License: BSD %{?python_provide:%python_provide python3-pretend} +Patch0001: backport-0001-Fix-typo-in-README.patch + %description -n python3-pretend Pretend is a library to make stubbing with Python easier. @@ -36,6 +38,9 @@ Pretend is a library to make stubbing with Python easier. %{python3_sitelib}/* %changelog +* Wed Jan 18 2023 yangbo - 1.0.8-17 +- Fix typo in README + * Wed Oct 21 2020 wangxiao - 1.0.8-16 - drop python2 subpackage -- Gitee