| |
@@ -76,23 +76,31 @@
|
| |
|
| |
%build
|
| |
%{py2_build}
|
| |
+ %if 0%{?with_python3}
|
| |
%{py3_build}
|
| |
+ %endif
|
| |
|
| |
%install
|
| |
%{py2_install}
|
| |
+ %if 0%{?with_python3}
|
| |
%{py3_install}
|
| |
+ %endif
|
| |
|
| |
%check
|
| |
PYTHONPATH=. nosetests-%{py2ver} -q
|
| |
+ %if 0%{?with_python3}
|
| |
PYTHONPATH=. nosetests-%{py3ver} -q
|
| |
+ %endif
|
| |
|
| |
%files -n python2-stomper
|
| |
%doc README.rst
|
| |
%{python2_sitelib}/stomper*
|
| |
|
| |
+ %if 0%{?with_python3}
|
| |
%files -n python3-stomper
|
| |
%doc README.rst
|
| |
%{python3_sitelib}/stomper*
|
| |
+ %endif
|
| |
|
| |
%changelog
|
| |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.1-7
|
| |
This is in preparation to update the version shipped in EPEL7.
Relates to RHBZ#1659073