Hello community,
here is the log from the commit of package python-python-magic for openSUSE:Factory checked in at 2019-07-04 15:44:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-python-magic (Old)
and /work/SRC/openSUSE:Factory/.python-python-magic.new.4615 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-python-magic"
Thu Jul 4 15:44:27 2019 rev:3 rq:713391 version:0.4.15
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-python-magic/python-python-magic.changes 2018-08-22 14:20:53.754428823 +0200
+++ /work/SRC/openSUSE:Factory/.python-python-magic.new.4615/python-python-magic.changes 2019-07-04 15:44:36.326234147 +0200
@@ -1,0 +2,6 @@
+Thu Jul 4 12:09:23 UTC 2019 - Tomáš Chvátal
+
+- Update the patch magic-new-file.patch to work with newer file
+ package
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-python-magic.spec ++++++
--- /var/tmp/diff_new_pack.q5kV0c/_old 2019-07-04 15:44:37.586236499 +0200
+++ /var/tmp/diff_new_pack.q5kV0c/_new 2019-07-04 15:44:37.586236499 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-python-magic
#
-# 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
@@ -12,7 +12,7 @@
# 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/
#
++++++ magic-new-file.patch ++++++
--- /var/tmp/diff_new_pack.q5kV0c/_old 2019-07-04 15:44:37.606236543 +0200
+++ /var/tmp/diff_new_pack.q5kV0c/_new 2019-07-04 15:44:37.610236552 +0200
@@ -49,14 +49,18 @@
def test_from_buffer_str_and_bytes(self):
m = magic.Magic(mime=True)
-@@ -67,9 +68,11 @@ class MagicTest(unittest.TestCase):
- ('gzip compressed data, was "test", from Unix, last '
- 'modified: Sun Jun 29 01:32:52 2008',
- 'gzip compressed data, was "test", last modified'
+@@ -64,12 +65,12 @@ class MagicTest(unittest.TestCase):
+ 'magic._pyc_': 'python 2.4 byte-compiled',
+ 'test.pdf': 'PDF document, version 1.2',
+ 'test.gz':
+- ('gzip compressed data, was "test", from Unix, last '
+- 'modified: Sun Jun 29 01:32:52 2008',
+- 'gzip compressed data, was "test", last modified'
- ': Sun Jun 29 01:32:52 2008, from Unix'),
-+ ': Sun Jun 29 01:32:52 2008, from Unix',
-+ 'gzip compressed data, was "test", last modified'
-+ ': Sun Jun 29 01:32:52 2008, from Unix, original size 15'),
++ ('gzip compressed data, was "test", from Unix, last modified: Sun Jun 29 01:32:52 2008',
++ 'gzip compressed data, was "test", last modified: Sun Jun 29 01:32:52 2008, from Unix',
++ 'gzip compressed data, was "test", last modified: Sun Jun 29 01:32:52 2008, from Unix, original size 15',
++ 'gzip compressed data, was "test", last modified: Sun Jun 29 01:32:52 2008, from Unix, original size modulo 2^32 15'),
'text.txt': 'ASCII text',
- })
+ }, buf_equals_file=False)