diff --git a/jsonpointer-1.14.tar.gz b/jsonpointer-1.14.tar.gz deleted file mode 100644 index e77f0de..0000000 --- a/jsonpointer-1.14.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c681af823545c731b7b38aedd5d4eee4c5eff87bc0f25e0ff25444a4189eac4d -size 8449 diff --git a/jsonpointer-2.0.tar.gz b/jsonpointer-2.0.tar.gz new file mode 100644 index 0000000..3bb8b86 --- /dev/null +++ b/jsonpointer-2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c192ba86648e05fdae4f08a17ec25180a9aef5008d973407b581798a83975362 +size 8699 diff --git a/python-jsonpointer.changes b/python-jsonpointer.changes index dd66aa7..559635f 100644 --- a/python-jsonpointer.changes +++ b/python-jsonpointer.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Thu Mar 28 14:38:52 UTC 2019 - Tomáš Chvátal + +- Update to 2.0: + * Fix typos in messages + * Accept pointer as argument in commandline utility +- Run tests + ------------------------------------------------------------------- Tue Dec 4 12:49:38 UTC 2018 - Matej Cepl diff --git a/python-jsonpointer.spec b/python-jsonpointer.spec index 310e220..d6a3618 100644 --- a/python-jsonpointer.spec +++ b/python-jsonpointer.spec @@ -1,7 +1,7 @@ # # spec file for package python-jsonpointer # -# 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,20 +18,19 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-jsonpointer -Version: 1.14 +Version: 2.0 Release: 0 Summary: Identify specific nodes in a JSON document License: BSD-3-Clause Group: Development/Languages/Python -Url: https://github.com/stefankoegl/python-json-pointer -Source: https://pypi.io/packages/source/j/jsonpointer/jsonpointer-%{version}.tar.gz +URL: https://github.com/stefankoegl/python-json-pointer +Source: https://files.pythonhosted.org/packages/source/j/jsonpointer/jsonpointer-%{version}.tar.gz BuildRequires: %{python_module setuptools} +BuildRequires: fdupes BuildRequires: python-rpm-macros Requires(post): update-alternatives Requires(preun): update-alternatives -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch - %python_subpackages %description @@ -45,8 +44,12 @@ Identify specific nodes in a JSON document (according to draft 08) %install %python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_clone -a %{buildroot}%{_bindir}/jsonpointer +%check +%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python tests.py + %post %python_install_alternative jsonpointer @@ -54,7 +57,8 @@ Identify specific nodes in a JSON document (according to draft 08) %python_uninstall_alternative jsonpointer %files %{python_files} -%defattr(-,root,root,-) +%doc README.md +%license LICENSE.txt %python_alternative %{_bindir}/jsonpointer %{python_sitelib}/*