forked from pool/python-warlock
Accepting request 157000 from devel:languages:python
- Allow jsonschema==1.0 too OBS-URL: https://build.opensuse.org/request/show/157000 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-warlock?expand=0&rev=4
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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,-)
|
||||
|
||||
Reference in New Issue
Block a user