diff --git a/.gitignore b/.gitignore index 4388fb9..1df4d02 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ bunch-1.0.0.tar.gz +/bunch-1.0.1.tar.gz diff --git a/python-bunch.spec b/python-bunch.spec index e119388..cd03e93 100644 --- a/python-bunch.spec +++ b/python-bunch.spec @@ -5,24 +5,21 @@ %global srcname bunch Name: python-bunch -Version: 1.0.0 -Release: 2%{?dist} +Version: 1.0.1 +Release: 1%{?dist} Summary: Python dictionary with attribute-style access Group: Development/Languages License: MIT -URL: http://tire.less.ly/hacking/bunch -Source0: http://pypi.python.org/packages/source/b/bunch/bunch-1.0.0.tar.gz +URL: http://github.com/dsc/bunch +Source0: http://pypi.python.org/packages/source/b/bunch/bunch-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: python2-devel BuildRequires: dos2unix -%if 0%{?fedora} > 12 || 0%{?rhel} BuildRequires: python-setuptools -%else -BuildRequires: python-setuptools-devel -%endif +BuildRequires: python-nose %description python-bunch provides a python class which can perform as a dict whose keys are @@ -58,16 +55,20 @@ rm %{buildroot}%{python_sitelib}/bunch/test.* rm -rf %{buildroot} %check +PYTHONPATH=build/lib nosetests --with-doctest PYTHONPATH=build/lib python build/lib/bunch/test.py %files %defattr(-,root,root,-) -%doc LICENSE.txt README.txt +%doc LICENSE.txt README.rst %{python_sitelib}/* %changelog -* Fri Jul 30 2010 Toshio Kuraotmi - 1.0.0-2 +* Thu Dec 29 2011 Toshio Kuratomi - 1.0.1-1 +- New upstream release that adds pyyaml and json serialization + +* Fri Jul 30 2010 Toshio Kuratomi - 1.0.0-2 - Fix build when fedora macro is not defined. * Fri Mar 19 2010 Toshio Kuratomi - 1.0.0-1 diff --git a/sources b/sources index fa51877..005b992 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -944d2e8f222ed032961daa34c5b5151c bunch-1.0.0.tar.gz +0a829d64e95ed96defbcae2bf9061bb0 bunch-1.0.1.tar.gz