From b7c99dc06e7b1025822c20cf923291d0f3eee31a Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Nov 27 2013 11:07:17 +0000 Subject: Update to 0.4.2 - Add python-chai, python-dateutil and python-six as BR - Prepare for when the test suite will be shipped --- diff --git a/python-arrow.spec b/python-arrow.spec index 45a0ad4..0ffe4bd 100644 --- a/python-arrow.spec +++ b/python-arrow.spec @@ -5,7 +5,7 @@ %global modname arrow Name: python-%{modname} -Version: 0.4.1 +Version: 0.4.2 Release: 1%{?dist} Summary: Better dates and times for Python @@ -16,9 +16,15 @@ Source0: http://pypi.python.org/packages/source/a/%{modname}/%{modnam BuildArch: noarch BuildRequires: python2-devel +BuildRequires: python-chai +BuildRequires: python-dateutil +BuildRequires: python-six %if 0%{?with_python3} BuildRequires: python3-devel +BuildRequires: python3-chai +BuildRequires: python3-dateutil +BuildRequires: python3-six %endif %description @@ -64,7 +70,6 @@ pushd %{py3dir} popd %endif - %install %if 0%{?with_python3} pushd %{py3dir} @@ -73,6 +78,18 @@ popd %endif %{__python} setup.py install -O1 --skip-build --root=%{buildroot} +%check +## Disable the tests as apparently the version 0.4.2 does not ship them + +#%if 0%{?with_python3} +#pushd %{py3dir} +#%{__python3} setup.py test +#popd +#%endif +# +#%{__python} setup.py test + + %files # pr pending https://github.com/crsmithdev/arrow/pull/70 #%doc LICENSE README.md HISTORY.md @@ -88,5 +105,10 @@ popd %endif %changelog +* Wed Nov 27 2013 Pierre-Yves Chibon 0.4.2-1 +- Update to 0.4.2 +- Prepare for when the tests will be included in the releases +- Add BR to python-chai, python-dateutil and python-six + * Mon Oct 28 2013 Pierre-Yves Chibon 0.4.1-1 - initial package for Fedora