diff --git a/python-landslide.spec b/python-landslide.spec index fd62351..618afd6 100644 --- a/python-landslide.spec +++ b/python-landslide.spec @@ -2,7 +2,7 @@ Name: python-%{srcname} Version: 1.1.8 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Lightweight markup language-based html5 slideshow generator License: ASL 2.0 @@ -23,6 +23,10 @@ Summary: %{summary} BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-sphinx +# Test dependencies: +BuildRequires: python3dist(docutils) +BuildRequires: python3dist(markdown) +BuildRequires: python3dist(pytest) %{?python_provide:%python_provide python3-%{srcname}} @@ -50,6 +54,10 @@ rm -rf landslide.egg-info find %{buildroot} -name 'main.py' | xargs chmod 0755 +%check +%pytest tests.py + + %files -n python3-%{srcname} %doc CHANGELOG.md README.md examples %license LICENSE @@ -59,6 +67,9 @@ find %{buildroot} -name 'main.py' | xargs chmod 0755 %changelog +* Wed Aug 4 2021 Michel Alexandre Salim - 1.1.8-5 +- Enable tests + * Fri Jul 23 2021 Fedora Release Engineering - 1.1.8-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild