diff --git a/MIT b/MIT deleted file mode 100644 index 2019f08..0000000 --- a/MIT +++ /dev/null @@ -1,7 +0,0 @@ -Copyright 2015 Jason R. Coombs - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/backports.unittest_mock-1.5.1.tar.gz b/backports.unittest_mock-1.5.1.tar.gz new file mode 100644 index 0000000..a8da392 Binary files /dev/null and b/backports.unittest_mock-1.5.1.tar.gz differ diff --git a/backports.unittest_mock-1.5.tar.gz b/backports.unittest_mock-1.5.tar.gz deleted file mode 100644 index 7b388ad..0000000 Binary files a/backports.unittest_mock-1.5.tar.gz and /dev/null differ diff --git a/python-backports-unittest_mock.spec b/python-backports-unittest_mock.spec index ecb0c90..3c47303 100644 --- a/python-backports-unittest_mock.spec +++ b/python-backports-unittest_mock.spec @@ -1,14 +1,13 @@ Name: python-backports-unittest_mock -Version: 1.5 +Version: 1.5.1 Release: 1 Summary: Backports of unittest_mock License: MIT URL: https://github.com/jaraco/backports.unittest_mock Source0: https://files.pythonhosted.org/packages/source/b/backports.unittest_mock/backports.unittest_mock-%{version}.tar.gz -Source1: MIT BuildArch: noarch -BuildRequires: python3-devel python3-setuptools_scm python3-mock +BuildRequires: python3-devel python3-wheel python3-mock python3-flit python3-pip %description Provides the function "install ()" to make the "mock" module available as "unittest.mock" in @@ -28,20 +27,18 @@ unittest.mock. %autosetup -n backports.unittest_mock-%{version} -p1 %build -%py3_build +%pyproject_build %install -%py3_install -install -p -m 0644 %{SOURCE1} MIT - -%check -%{__python3} setup.py test +%pyproject_install %files -n python3-backports-unittest_mock -%doc CHANGES.rst README.rst docs/* MIT %{python3_sitelib}/* %changelog +* Thu Jul 06 2023 chenzixuan - 1.5.1-1 +- Upgrade to version 1.5.1 + * Tue Jun 07 2022 SimpleUpdate Robot - 1.5-1 - Upgrade to version 1.5