From 978c091780a36a4418f34ee70c675ade3d16d257ef1278fe0016fc950bf7064a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Mon, 2 Aug 2021 06:15:48 +0000 Subject: [PATCH] remove unneeded test reqs and add dummy check phase OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mobi?expand=0&rev=2 --- python-mobi.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/python-mobi.spec b/python-mobi.spec index 1047de0..b5074b8 100644 --- a/python-mobi.spec +++ b/python-mobi.spec @@ -26,9 +26,6 @@ URL: https://github.com/iscc/mobi Source: https://files.pythonhosted.org/packages/source/m/mobi/mobi-%{version}.tar.gz BuildRequires: python-rpm-macros BuildRequires: %{python_module setuptools} -# SECTION test requirements -BuildRequires: %{python_module loguru >= 0.4} -# /SECTION BuildRequires: fdupes Requires: python-loguru >= 0.4 BuildArch: noarch @@ -48,6 +45,9 @@ Python library for unpacking unencrypted mobi files (forked from KindleUnpack) %python_clone -a %{buildroot}%{_bindir}/mobiunpack %python_expand %fdupes %{buildroot}%{$python_sitelib} +%check +# test files are not installable + %post %python_install_alternative mobiunpack