Package upgrade
This commit is contained in:
parent
3fe5d27f22
commit
a320e9c5aa
@ -1,25 +0,0 @@
|
|||||||
From b960d8d90235218a3e1f66a2e59420087e27c14a Mon Sep 17 00:00:00 2001
|
|
||||||
Subject: [PATCH] cmdline
|
|
||||||
|
|
||||||
---
|
|
||||||
tests/integration/test_cmdline_integration.py | 5 +++--
|
|
||||||
1 file changed, 3 insertions(+), 2 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/tests/integration/test_cmdline_integration.py b/tests/integration/test_cmdline_integration.py
|
|
||||||
index 8d92a2e..e99831f 100644
|
|
||||||
--- a/tests/integration/test_cmdline_integration.py
|
|
||||||
+++ b/tests/integration/test_cmdline_integration.py
|
|
||||||
@@ -5,6 +5,7 @@ from pytest_shutil import cmdline
|
|
||||||
|
|
||||||
def test_chdir():
|
|
||||||
here = os.getcwd()
|
|
||||||
+ bindir=os.path.realpath('/bin')
|
|
||||||
with cmdline.chdir('/bin'):
|
|
||||||
- assert os.getcwd() == '/bin'
|
|
||||||
- assert os.getcwd() == here
|
|
||||||
\ No newline at end of file
|
|
||||||
+ assert os.getcwd() == bindir
|
|
||||||
+ assert os.getcwd() == here
|
|
||||||
--
|
|
||||||
2.23.0
|
|
||||||
|
|
||||||
Binary file not shown.
BIN
pytest-shutil-1.7.0.tar.gz
Normal file
BIN
pytest-shutil-1.7.0.tar.gz
Normal file
Binary file not shown.
@ -1,16 +1,15 @@
|
|||||||
Name: python-pytest-shutil
|
Name: python-pytest-shutil
|
||||||
Version: 1.2.6
|
Version: 1.7.0
|
||||||
Release: 11
|
Release: 1
|
||||||
Summary: A goodie-bag of unix shell and environment tools for py.test
|
Summary: A goodie-bag of unix shell and environment tools for py.test
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://pypi.python.org/pypi/pytest-shutil
|
URL: https://pypi.python.org/pypi/pytest-shutil
|
||||||
Source0: https://files.pythonhosted.org/packages/f4/6c/c536c7bf1bd1d6a385eef074f581d513b4a5525b2bd5cc763f4870d66516/pytest-shutil-%{version}.tar.gz
|
Source0: https://files.pythonhosted.org/packages/f7/fa/c1f7bfb61674f69fb2694bda0ef475a6b8b915a5c36105648dd58a6f200a/pytest-shutil-%{version}.tar.gz
|
||||||
Patch0000: 0001-modified-path-to-fix-testcase.patch
|
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
BuildRequires: python3-contextlib2 python3-devel python3-execnet python3-mock
|
BuildRequires: python3-contextlib2 python3-devel python3-execnet python3-mock python3-wheel
|
||||||
BuildRequires: python3-path python3-pytest python3-pip python3-setuptools_git
|
BuildRequires: python3-path python3-pytest python3-pip python3-setuptools_git python3-termcolor
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This library is a goodie-bag of Unix shell and environment management tools for automated tests.
|
This library is a goodie-bag of Unix shell and environment management tools for automated tests.
|
||||||
@ -26,6 +25,9 @@ This library is a goodie-bag of Unix shell and environment management tools for
|
|||||||
%prep
|
%prep
|
||||||
%autosetup -n pytest-shutil-%{version} -p1
|
%autosetup -n pytest-shutil-%{version} -p1
|
||||||
|
|
||||||
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1702355
|
||||||
|
sed -i -e 's|path.py|path|' setup.py
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py3_build
|
%py3_build
|
||||||
|
|
||||||
@ -40,6 +42,9 @@ This library is a goodie-bag of Unix shell and environment management tools for
|
|||||||
%{python3_sitelib}/*
|
%{python3_sitelib}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jun 30 2022 caodongxia <caodongxia@h-partners.com> - 1.7.0-1
|
||||||
|
- Update to 1.7.0
|
||||||
|
|
||||||
* Mon Apr 25 2022 caodongxia<caodongxia@h-partners.com> - 1.2.6-11
|
* Mon Apr 25 2022 caodongxia<caodongxia@h-partners.com> - 1.2.6-11
|
||||||
- add buildRequires to resolve compilation failure
|
- add buildRequires to resolve compilation failure
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user