forked from pool/python-mobi
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
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user