diff --git a/python-warlock.changes b/python-warlock.changes index 0ec3787..3da4c68 100644 --- a/python-warlock.changes +++ b/python-warlock.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Feb 25 14:28:02 UTC 2013 - saschpe@suse.de + +- Allow jsonschema==1.0 too + ------------------------------------------------------------------- Fri Feb 22 14:05:28 UTC 2013 - saschpe@suse.de diff --git a/python-warlock.spec b/python-warlock.spec index 965a129..65e9899 100644 --- a/python-warlock.spec +++ b/python-warlock.spec @@ -28,6 +28,7 @@ BuildRequires: python-devel BuildRequires: python-distribute BuildRequires: python-jsonpatch BuildRequires: python-jsonschema +BuildRequires: python-nose Requires: python-jsonpatch Requires: python-jsonschema BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -42,6 +43,7 @@ Build self-validating python objects using JSON schemas %prep %setup -q -n warlock-%{version} +sed -i "s|jsonschema>=0.7,<1|jsonschema>=0.7,<=1|" requirements.txt %build python setup.py build @@ -50,7 +52,7 @@ python setup.py build python setup.py install --prefix=%{_prefix} --root=%{buildroot} %check -python setup.py test +nosetests %files %defattr(-,root,root,-)