From 4f2675c57192478d675cfd68c95060515e4934f9 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Sat, 30 Sep 2023 09:12:43 -0400 Subject: [PATCH] Restore python-diskcache test dependency since it was unretired --- python-fasteners.spec | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/python-fasteners.spec b/python-fasteners.spec index ff1e7b2..17c1870 100644 --- a/python-fasteners.spec +++ b/python-fasteners.spec @@ -1,6 +1,4 @@ %bcond tests %{undefined rhel} -# The python-diskcache package, used in some of the tests, has been retired. -%bcond diskcache 0 Name: python-fasteners Version: 0.18 @@ -44,9 +42,6 @@ Obsoletes: python-fasteners-doc < 0.18-1 %prep %autosetup -p1 -n fasteners-%{version} -%if %{without diskcache} -sed -r -i '/\b(diskcache)\b/d' requirements-test.txt -%endif %generate_buildrequires @@ -64,7 +59,7 @@ sed -r -i '/\b(diskcache)\b/d' requirements-test.txt %check %if %{with tests} -%pytest %{?!with_diskcache:--ignore=tests/test_reader_writer_lock.py} -v +%pytest -v %else %pyproject_check_import -e 'fasteners.pywin32*' %endif