diff --git a/uflash.spec b/uflash.spec index 2b6f8f7..eef1025 100644 --- a/uflash.spec +++ b/uflash.spec @@ -1,6 +1,6 @@ Name: uflash Version: 1.1.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A module and utility to flash Python onto the BBC micro:bit Group: Development/Tools License: MIT @@ -12,11 +12,12 @@ Source0: https://files.pythonhosted.org/packages/source/u/%{name}/%{name} Source1: https://github.com/ntoll/uflash/archive/%{hash}.tar.gz BuildRequires: python3-pytest -BuildRequires: python3-devel, python3-setuptools -# Entrypoints: -Requires: python3-setuptools +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-nudatus -# TODO package nudatus, optional dependency +Requires: python3-setuptools +Recommends: python3-nudatus BuildArch: noarch @@ -47,8 +48,7 @@ tar -xf %{SOURCE1} mv %{name}-%{hash}/tests . rm -rf %{name}-%{hash} -# nudatus is optional dependency, test_hexlify_minify requires it -py.test-3 -vv -k "not test_hexlify_minify" +py.test-3 -vv %files %doc README.rst CHANGES.rst @@ -60,6 +60,9 @@ py.test-3 -vv -k "not test_hexlify_minify" %changelog +* Tue Apr 10 2018 Miro Hrončok - 1.1.2-2 +- BR and recommend nudatus + * Tue Apr 10 2018 Miro Hrončok - 1.1.2-1 - Update to 1.1.2 - Provide python3-uflash