Name: python-warlock Version: 0.4.0 Release: 2%{?dist} Summary: Python object model built on top of JSON schema License: ASL 2.0 URL: http://pypi.python.org/pypi/warlock/0.4.0 Source0: http://pypi.python.org/packages/source/w/warlock/warlock-%{version}.tar.gz BuildArch: noarch BuildRequires: python2-devel BuildRequires: python-setuptools Requires: python-jsonschema %description Build self-validating python objects using JSON schemas %prep %setup -q -n warlock-%{version} # Remove bundled egg-info rm -rf warlock.egg-info %build %{__python} setup.py build %install %{__python} setup.py install --skip-build --root %{buildroot} %files %doc README.md LICENSE %{python_sitelib}/warlock %{python_sitelib}/warlock-%{version}-py?.?.egg-info %changelog * Wed Aug 22 2012 Alan Pevec 0.4.0-2 - Add missing build requirement * Fri Aug 10 2012 Dan Prince - 0.4.0-1 - Initial package.