From a998b7292b29ebbc3bf1f70a71e0764e844a5d43 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Wed, 12 Oct 2022 18:37:27 -0700 Subject: [PATCH] No nose in epel9, so disable tests for epel Signed-off-by: Kevin Fenzi --- python-pycdio.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/python-pycdio.spec b/python-pycdio.spec index 92c9cc3..5d903cd 100644 --- a/python-pycdio.spec +++ b/python-pycdio.spec @@ -13,8 +13,10 @@ BuildRequires: python3-setuptools BuildRequires: libcdio-devel BuildRequires: swig +%if 0%{?fedora} # For tests BuildRequires: python3-nose +%endif %description The pycdio (and libcdio) libraries encapsulate CD-ROM reading and @@ -42,8 +44,10 @@ device-dependent properties of a CD-ROM can use this library. %py3_install chmod 755 %{buildroot}/%{python3_sitearch}/*.so +%if 0%{?fedora} %check %python3 setup.py nosetests +%endif %files -n python3-pycdio %license COPYING