diff --git a/python-iniparse.spec b/python-iniparse.spec index d59157c..2b07d0b 100644 --- a/python-iniparse.spec +++ b/python-iniparse.spec @@ -5,7 +5,7 @@ Name: python-iniparse Version: 0.4 -Release: 11%{?dist} +Release: 12%{?dist} Summary: Python Module for Accessing and Modifying Configuration Data in INI files Group: Development/Libraries License: MIT @@ -29,6 +29,7 @@ Requires: python-six BuildRequires: python3-setuptools BuildRequires: python3-six BuildRequires: python3-devel +BuildRequires: python3-test %endif BuildArch: noarch @@ -94,6 +95,12 @@ rm -rf $RPM_BUILD_ROOT %check %{__python2} runtests.py +%if 0%{?with_python3} +pushd %{py3dir} +%{__python3} runtests.py +popd +%endif + %files %defattr(-,root,root,-) %doc %{_pkgdocdir} @@ -108,6 +115,10 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Fri Mar 07 2014 Tim Lauridsen - 0.4-12 +- added python3-test to buildreq for python3 +- run unittest with python3 also + * Fri Mar 07 2014 Tim Lauridsen - 0.4-11 - added python-test to buildreq, for unittests