Hello community,

here is the log from the commit of package python-xmldiff for openSUSE:Factory 
checked in at 2019-05-06 21:17:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-xmldiff (Old)
 and      /work/SRC/openSUSE:Factory/.python-xmldiff.new.5148 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-xmldiff"

Mon May  6 21:17:02 2019 rev:17 rq:697133 version:2.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-xmldiff/python-xmldiff.changes    
2011-09-23 12:43:28.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-xmldiff.new.5148/python-xmldiff.changes  
2019-05-06 21:17:03.337042195 +0200
@@ -1,0 +2,41 @@
+Fri Apr 12 08:11:46 UTC 2019 - Matej Cepl <mc...@suse.com>
+
+- Conflict python-xmldiff (unversioned)
+
+-------------------------------------------------------------------
+Wed Apr 10 08:01:52 UTC 2019 - Jan Engelhardt <jeng...@inai.de>
+
+- Restore more useful description from before 2.3
+
+-------------------------------------------------------------------
+Tue Apr  9 08:12:37 UTC 2019 - pgaj...@suse.com
+
+- package reworked from scratch
+- version update to 2.3
+  - A complete, bottom-up, pure-python rewrit
+  - A new default output format with new actions
+  - A format intended to be parseable by anyone parsing the old format.
+  - XML with changes marked though tags and attributes
+  - Added options for faster node comparisons. The "middle" option is now
+    default, it had very few changes in matches, but is much faster.
+  - Implemented a Fast Match algorithm for even faster diffing.
+  - Speed improvements through caching
+  - Fixed a bug where MoveNode actions sometimes was in the wrong order
+  - Added an InsertComment action, as comments require different handling,
+    so it's easier to deal with them this way. You can still use DeleteNode and
+    UpdateTextIn for them with no special handling.
+  - When renaming tags the XMLFormatter will mark them with "diff:rename"
+    instead of making a new tag and deleting the old.
+  - Tags will now be moved first, and updated and renamed later, as the new
+    tag name or attributes might not be valid in the old location.
+  - Changed the substitution unicode character area to use the Private Use Area
+    in BMP(0), to support narrow Python builds
+  - Added --unique-attributes argument.
+  - A workaround for dealing with top level comments and the xml formatter
+  - Added a simple ``xmlpatch`` command and API.
+  - Multiple updates to documentation and code style
+- deleted patches
+  - xmldiff-0.6.7-clean-tmp.patch (not needed)
+  - xmldiff-0.6.7-xsldata.patch (not needed)
+
+-------------------------------------------------------------------

Old:
----
  xmldiff-0.6.10.tar.gz
  xmldiff-0.6.7-clean-tmp.patch
  xmldiff-0.6.7-xsldata.patch

New:
----
  xmldiff-2.3.tar.gz

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

Other differences:
------------------
++++++ python-xmldiff.spec ++++++
--- /var/tmp/diff_new_pack.LOQHzq/_old  2019-05-06 21:17:04.069044098 +0200
+++ /var/tmp/diff_new_pack.LOQHzq/_new  2019-05-06 21:17:04.073044109 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-xmldiff
 #
-# Copyright (c) 2011 SUSE LINUX Products 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
@@ -12,52 +12,61 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
-
+%define oldpython python
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-xmldiff
-%define _name xmldiff
-Version:        0.6.10
-Release:        1
-License:        GPL-2.0+
-Summary:        Tree to tree correction between xml documents
-Url:            http://www.logilab.org/projects/xmldiff/
-Group:          Productivity/Publishing/XML
-Source:         http://ftp.logilab.org/pub/xmldiff/%{_name}-%{version}.tar.gz
-Patch0:         xmldiff-0.6.7-clean-tmp.patch
-Patch1:         xmldiff-0.6.7-xsldata.patch
-BuildRequires:  python-devel
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-Requires:       file opensp libxslt python-xml
-%py_requires
+Version:        2.3
+Release:        0
+Summary:        Tree to tree correction between XML documents
+License:        MIT
+Group:          Development/Languages/Python
+URL:            https://github.com/Shoobx/xmldiff
+Source:         
https://files.pythonhosted.org/packages/source/x/xmldiff/xmldiff-%{version}.tar.gz
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
+Requires:       python-lxml >= 3.1.0
+Requires:       python-setuptools
+Requires:       python-six
+Conflicts:      %{oldpython}-xmldiff < %{version}
+BuildArch:      noarch
+# SECTION test requirements
+BuildRequires:  %{python_module lxml >= 3.1.0}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module six}
+# /SECTION
+%python_subpackages
 
 %description
 XMLdiff shows the differences between two similar XML files in the same
-way 'diff' does with text files. It can also be used as a library or as
+way `diff` does with text files. It can also be used as a library or as
 a command line tool and can work either with XML files or DOM trees.
 The implementation is based on "Change detection in hierarchically
 structured information", by S. Chawathe, A. Rajaraman, H.
 Garcia-Molina, and J. Widom, Stanford University, 1996.
 
 %prep
-%setup -q -n %{_name}-%{version}
-%patch0
-%patch1
+%setup -q -n xmldiff-%{version}
 
 %build
-python setup.py build
+%python_build
 
 %install
-python setup.py install --root=%{buildroot} --prefix=%{_prefix} --record-rpm 
%{name}.record-rpm
-rm -rf %{buildroot}%{python_sitearch}/%{_name}/test/data/
+%python_install
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
 
-%clean
-%{?buildroot:%__rm -rf %{buildroot}}
+%check
+%python_exec setup.py test
 
-%files -f %{name}.record-rpm
-%defattr(-, root, root)
-%doc ChangeLog TODO README* doc/
+%files %{python_files}
+%doc CHANGES.rst README.rst README.txt
+%license LICENSE.txt
+%python3_only %{_bindir}/xmldiff
+%python3_only %{_bindir}/xmlpatch
+%{python_sitelib}/*
 
 %changelog

++++++ xmldiff-0.6.10.tar.gz -> xmldiff-2.3.tar.gz ++++++
++++ 17881 lines of diff (skipped)


Reply via email to