diff --git a/python-traitlets.spec b/python-traitlets.spec index e847bd6..0ca2658 100644 --- a/python-traitlets.spec +++ b/python-traitlets.spec @@ -2,7 +2,7 @@ Name: python-%{srcname} Version: 4.3.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A lightweight derivative of Enthought Traits for configuring Python objects License: BSD @@ -40,7 +40,6 @@ configuring Python objects. This package powers the config system of IPython and Jupyter. -%if 0%{?with_python3} %package -n python%{python3_pkgversion}-%{srcname} Summary: A lightweight derivative of Enthought Traits for configuring Python objects BuildRequires: python%{python3_pkgversion}-devel @@ -61,7 +60,6 @@ A lightweight pure-Python derivative of Enthought Traits, used for configuring Python objects. This package powers the config system of IPython and Jupyter. -%endif %prep @@ -70,23 +68,17 @@ This package powers the config system of IPython and Jupyter. %build %py2_build -%if 0%{?with_python3} %py3_build -%endif %install %py2_install -%if 0%{?with_python3} %py3_install -%endif %check py.test-%{python2_version} -v %{srcname}/tests/ -%if 0%{?with_python3} py.test-%{python3_version} -v %{srcname}/tests/ -%endif %files -n python2-%{srcname} @@ -94,15 +86,16 @@ py.test-%{python3_version} -v %{srcname}/tests/ %license COPYING.md %{python2_sitelib}/* -%if 0%{?with_python3} %files -n python%{python3_pkgversion}-%{srcname} %doc README.md %license COPYING.md %{python3_sitelib}/* -%endif %changelog +* Fri Feb 24 2017 Orion Poplawski - 4.3.2-2 +- Really build for python3 + * Fri Feb 24 2017 Orion Poplawski - 4.3.2-1 - Update to 4.3.2 - Build for python3 on EPEL