diff --git a/0.2.4.tar.gz b/0.2.4.tar.gz deleted file mode 100644 index ed08c21..0000000 --- a/0.2.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fb0596c54b67f5f521aa27bd0f3a638319b9fccc7afd9802b140d8699b39b668 -size 25789 diff --git a/0.2.7.tar.gz b/0.2.7.tar.gz new file mode 100644 index 0000000..5d78a13 --- /dev/null +++ b/0.2.7.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d869974f783a7e2332f36ed622f63018e8f93e48a57187ea09824142584a6038 +size 25844 diff --git a/python-openapi-spec-validator.changes b/python-openapi-spec-validator.changes index aff9e5f..4f477c6 100644 --- a/python-openapi-spec-validator.changes +++ b/python-openapi-spec-validator.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Mon Jun 3 11:11:08 UTC 2019 - Tomáš Chvátal + +- Update to 0.2.7: + * Replace pathlib with pathlib2 (#68) + * Bump PyYAML to 5.1 for CVE-2017-18342 (#69) + * Support jsonschema 3 (#72) + ------------------------------------------------------------------- Mon Dec 10 14:31:25 UTC 2018 - Tomáš Chvátal diff --git a/python-openapi-spec-validator.spec b/python-openapi-spec-validator.spec index d0f7c72..f73981c 100644 --- a/python-openapi-spec-validator.spec +++ b/python-openapi-spec-validator.spec @@ -1,7 +1,7 @@ # # spec file for package python-openapi-spec-validator # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-openapi-spec-validator -Version: 0.2.4 +Version: 0.2.7 Release: 0 Summary: Python module for validating OpenAPI Specs against Swagger and OAS3 License: Apache-2.0 @@ -26,19 +26,23 @@ Group: Development/Languages/Python URL: https://github.com/p1c2u/openapi-spec-validator Source: https://github.com/p1c2u/openapi-spec-validator/archive/%{version}.tar.gz Patch0: openapi-spec-validator-skip-urls.patch -BuildRequires: %{python_module PyYAML} +BuildRequires: %{python_module PyYAML >= 5.1} BuildRequires: %{python_module jsonschema} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six} BuildRequires: fdupes +BuildRequires: python-pathlib2 BuildRequires: python-rpm-macros -Requires: python-PyYAML +Requires: python-PyYAML >= 5.1 Requires: python-jsonschema Requires: python-six Requires(post): update-alternatives Requires(postun): update-alternatives BuildArch: noarch +%ifpython2 +Requires: python-pathlib2 +%endif %python_subpackages %description @@ -66,7 +70,7 @@ for full compliance with the Specification. %python_uninstall_alternative openapi-spec-validator %check -%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} +%pytest %files %{python_files} %doc README.md