Hello community,

here is the log from the commit of package python-jsonpath-rw for 
openSUSE:Factory checked in at 2020-08-13 10:17:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-jsonpath-rw (Old)
 and      /work/SRC/openSUSE:Factory/.python-jsonpath-rw.new.3399 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-jsonpath-rw"

Thu Aug 13 10:17:59 2020 rev:8 rq:826084 version:1.4.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-jsonpath-rw/python-jsonpath-rw.changes    
2019-01-28 20:49:26.397842202 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-jsonpath-rw.new.3399/python-jsonpath-rw.changes
  2020-08-13 10:23:39.282892513 +0200
@@ -1,0 +2,6 @@
+Wed Aug 12 17:11:58 UTC 2020 - Matej Cepl <[email protected]>
+
+- Replace pypi.python.org Source URL with the canonical files.pythonhosted.org
+- Run SPEC file through spec-cleaner.
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-jsonpath-rw.spec ++++++
--- /var/tmp/diff_new_pack.Bkw4lU/_old  2020-08-13 10:23:43.030894053 +0200
+++ /var/tmp/diff_new_pack.Bkw4lU/_new  2020-08-13 10:23:43.034894054 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-jsonpath-rw
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,15 +16,22 @@
 #
 
 
+# detritus in /etc/alternatives from brp-python-bytecompile must be removed
+%define __os_install_post %(echo '%__os_install_post; \
+  rm -f %{buildroot}%{_sysconfdir}/alternatives/jsonpath.pyo; \
+  rm -f %{buildroot}%{_sysconfdir}/alternatives/jsonpath.pyc')
+
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%define modname jsonpath-rw
+
 Name:           python-jsonpath-rw
 Version:        1.4.0
 Release:        0
 Summary:        An extended implementation of JSONPath for Python
 License:        Apache-2.0
 Group:          Development/Languages/Python
-Url:            https://github.com/kennknowles/python-jsonpath-rw
-Source:         
https://pypi.python.org/packages/source/j/jsonpath-rw/jsonpath-rw-%{version}.tar.gz
+URL:            https://github.com/kennknowles/python-jsonpath-rw
+Source:         
https://files.pythonhosted.org/packages/source/j/jsonpath-rw/%{modname}-%{version}.tar.gz
 BuildRequires:  %{python_module ply}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module six}
@@ -34,14 +41,7 @@
 Requires:       python-six
 Requires(post): update-alternatives
 Requires(postun): update-alternatives
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildArch:      noarch
-
-# detritus in /etc/alternatives from brp-python-bytecompile must be removed
-%define __os_install_post %(echo '%{__os_install_post}; \
-  rm -f %{buildroot}%{_sysconfdir}/alternatives/jsonpath.pyo; \
-  rm -f %{buildroot}%{_sysconfdir}/alternatives/jsonpath.pyc')
-
 %python_subpackages
 
 %description
@@ -72,7 +72,6 @@
 %python_uninstall_alternative jsonpath.py
 
 %files %{python_files}
-%defattr(-,root,root,-)
 %doc README.rst
 %python_alternative %{_bindir}/jsonpath.py
 %{python_sitelib}/*


Reply via email to