Hello community, here is the log from the commit of package python-jmespath for openSUSE:Factory checked in at 2018-08-24 17:04:37 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-jmespath (Old) and /work/SRC/openSUSE:Factory/.python-jmespath.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-jmespath" Fri Aug 24 17:04:37 2018 rev:12 rq:629916 version:0.9.3 Changes: -------- --- /work/SRC/openSUSE:Factory/python-jmespath/python-jmespath.changes 2017-11-10 14:58:59.644612939 +0100 +++ /work/SRC/openSUSE:Factory/.python-jmespath.new/python-jmespath.changes 2018-08-24 17:04:39.590110966 +0200 @@ -1,0 +2,11 @@ +Thu Aug 16 10:24:41 UTC 2018 - [email protected] + +- Use noun phrase for summary. + +------------------------------------------------------------------- +Mon Aug 13 11:20:47 UTC 2018 - [email protected] + +- Remove dependency on unittest2 +- Clean up SPEC file + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-jmespath.spec ++++++ --- /var/tmp/diff_new_pack.PqsRv9/_old 2018-08-24 17:04:40.066111531 +0200 +++ /var/tmp/diff_new_pack.PqsRv9/_new 2018-08-24 17:04:40.070111536 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-jmespath # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -20,31 +20,27 @@ Name: python-jmespath Version: 0.9.3 Release: 0 -Summary: Extract elements from JSON document +Summary: Python module for declarative JSON document element extraction License: MIT Group: Development/Languages/Python -Url: https://github.com/boto/jmespath -Source: https://pypi.io/packages/source/j/jmespath/jmespath-%{version}.tar.gz +URL: https://github.com/boto/jmespath +Source: https://files.pythonhosted.org/packages/source/j/jmespath/jmespath-%{version}.tar.gz BuildRequires: %{python_module devel} +# Testing +BuildRequires: %{python_module nose} BuildRequires: %{python_module ply >= 3.4} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module simplejson} +BuildRequires: fdupes BuildRequires: python-rpm-macros -# Testing -BuildRequires: %{python_module nose} -%ifpython2 -BuildRequires: python-unittest2 -%endif Requires: python-base Requires: python-ply >= 3.4 Requires: python-simplejson Requires(post): update-alternatives Requires(postun): update-alternatives - %if 0%{?suse_version} > 1110 BuildArch: noarch %endif - %python_subpackages %description @@ -83,17 +79,12 @@ %build %python_build -#pushd build/scripts-%{$python_bin_suffix} -#mv jp.py jp-%{$python_bin_suffix} -#popd -#pushd build/scripts-%{py_ver} -#mv jp.py jp-%{py_ver} -#popd %install %python_install mv %{buildroot}%{_bindir}/jp.py %{buildroot}%{_bindir}/jp %python_clone -a %{buildroot}%{_bindir}/jp +%python_expand %fdupes %{buildroot}%{$python_sitelib} %check %python_expand nosetests-%{$python_bin_suffix} tests @@ -105,8 +96,8 @@ %python_uninstall_alternative jp %files %{python_files} -%defattr(-,root,root,-) -%doc LICENSE.txt README.rst +%license LICENSE.txt +%doc README.rst %{python_sitelib}/* %python_alternative %{_bindir}/jp
