No nose in epel9, so disable tests for epel
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
f2c1075117
commit
a998b7292b
@ -13,8 +13,10 @@ BuildRequires: python3-setuptools
|
|||||||
BuildRequires: libcdio-devel
|
BuildRequires: libcdio-devel
|
||||||
BuildRequires: swig
|
BuildRequires: swig
|
||||||
|
|
||||||
|
%if 0%{?fedora}
|
||||||
# For tests
|
# For tests
|
||||||
BuildRequires: python3-nose
|
BuildRequires: python3-nose
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The pycdio (and libcdio) libraries encapsulate CD-ROM reading and
|
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
|
%py3_install
|
||||||
chmod 755 %{buildroot}/%{python3_sitearch}/*.so
|
chmod 755 %{buildroot}/%{python3_sitearch}/*.so
|
||||||
|
|
||||||
|
%if 0%{?fedora}
|
||||||
%check
|
%check
|
||||||
%python3 setup.py nosetests
|
%python3 setup.py nosetests
|
||||||
|
%endif
|
||||||
|
|
||||||
%files -n python3-pycdio
|
%files -n python3-pycdio
|
||||||
%license COPYING
|
%license COPYING
|
||||||
|
Loading…
Reference in New Issue
Block a user