14
0

Accepting request 885992 from home:WernerFink:branches:devel:languages:python

- Add patch fix-4-file-5.40.patch to support file 5.40 (boo#1184881)

OBS-URL: https://build.opensuse.org/request/show/885992
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-magic?expand=0&rev=15
This commit is contained in:
2021-04-16 13:19:58 +00:00
committed by Git OBS Bridge
parent ab31f26d61
commit b174768aad
3 changed files with 25 additions and 1 deletions

15
fix-4-file-5.40.patch Normal file
View File

@@ -0,0 +1,15 @@
---
test/test.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- test/test.py
+++ test/test.py 2021-04-16 12:54:00.275731435 +0000
@@ -87,7 +87,7 @@ class MagicTest(unittest.TestCase):
try:
self.assert_values(m, {
'magic._pyc_': 'python 2.4 byte-compiled',
- 'test.pdf': 'PDF document, version 1.2',
+ 'test.pdf': 'PDF document, version 1.2, 2 pages',
'test.gz':
('gzip compressed data, was "test", from Unix, last '
'modified: Sun Jun 29 01:32:52 2008',