From f78df4f58e8b0f3b28a97b268ee3f87b018badb20e5e22ac24efabe51eec9d7e Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Mon, 24 Jun 2013 15:43:07 +0000 Subject: [PATCH] Accepting request 180563 from Cloud:OpenStack:Master - add allow-jsonschema-3.diff OBS-URL: https://build.opensuse.org/request/show/180563 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-warlock?expand=0&rev=12 --- allow-jsonschema-3.diff | 6 ++++++ python-warlock.changes | 5 +++++ python-warlock.spec | 2 ++ 3 files changed, 13 insertions(+) create mode 100644 allow-jsonschema-3.diff diff --git a/allow-jsonschema-3.diff b/allow-jsonschema-3.diff new file mode 100644 index 0000000..0686856 --- /dev/null +++ b/allow-jsonschema-3.diff @@ -0,0 +1,6 @@ +--- requirements.txt ++++ requirements.txt +@@ -1,2 +1,2 @@ +-jsonschema>=0.7,<2 ++jsonschema>=0.7,<3 + jsonpatch>=0.10,<2 diff --git a/python-warlock.changes b/python-warlock.changes index cd70319..33ac571 100644 --- a/python-warlock.changes +++ b/python-warlock.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Jun 22 14:16:40 UTC 2013 - dmueller@suse.com + +- add allow-jsonschema-3.diff + ------------------------------------------------------------------- Mon Apr 29 12:59:50 UTC 2013 - dmueller@suse.com diff --git a/python-warlock.spec b/python-warlock.spec index 9364e0f..f81ceb3 100644 --- a/python-warlock.spec +++ b/python-warlock.spec @@ -24,6 +24,7 @@ License: Apache-2.0 Group: Development/Languages/Python Url: http://github.com/bcwaldon/warlock Source: http://pypi.python.org/packages/source/w/warlock/warlock-%{version}.tar.gz +Patch0: allow-jsonschema-3.diff BuildRequires: python-devel BuildRequires: python-distribute BuildRequires: python-jsonpatch @@ -43,6 +44,7 @@ Build self-validating python objects using JSON schemas %prep %setup -q -n warlock-%{version} +%patch0 sed -i "s|jsonschema>=0.7,<1|jsonschema>=0.7,<=1|" requirements.txt %build