diff --git a/rpmlint.changes b/rpmlint.changes index fde83b6..46d3510 100644 --- a/rpmlint.changes +++ b/rpmlint.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Jul 3 14:09:19 UTC 2018 - mcepl@suse.com + +- Add update-magic-values-python-37.patch + Neccessary for update of Python to 3.7 + https://github.com/rpm-software-management/rpmlint/commit/52b715763217 + ------------------------------------------------------------------- Tue Jul 03 12:30:20 UTC 2018 - opensuse-packaging@opensuse.org diff --git a/rpmlint.spec b/rpmlint.spec index 99f8e31..d1cd6ea 100644 --- a/rpmlint.spec +++ b/rpmlint.spec @@ -91,6 +91,7 @@ Patch72: rpmlint-slpp-NUM-NUM.patch Patch73: 0001-Binariescheck-Check-for-chroot-chdir-on-ARM-PPC.patch Patch74: 0001-Always-import-XDG-desktop-files-as-utf8.patch Patch75: 0001-Fix-compatibility-with-file-5.33.patch +Patch76: update-magic-values-python-37.patch BuildRequires: obs-service-format_spec_file BuildRequires: python3-flake8 BuildRequires: python3-pytest diff --git a/update-magic-values-python-37.patch b/update-magic-values-python-37.patch new file mode 100644 index 0000000..4bf302d --- /dev/null +++ b/update-magic-values-python-37.patch @@ -0,0 +1,22 @@ +From 52b715763217bbc1cfcad9bba8e6a446e820690e Mon Sep 17 00:00:00 2001 +From: Dirk Mueller +Date: Tue, 13 Feb 2018 13:42:27 +0100 +Subject: [PATCH] Update Magic values for Python 3.7 (Fixes #123) + +--- + FilesCheck.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/FilesCheck.py b/FilesCheck.py +index 2ece474..232a918 100644 +--- a/FilesCheck.py ++++ b/FilesCheck.py +@@ -331,7 +331,7 @@ def peek(filename, pkg, length=1024): + '3.4': [3310], + '3.5': [3350, 3351], # 3350 for < 3.5.2 + '3.6': [3379], +- '3.7': [3390], ++ '3.7': [3390, 3391, 3392, 3393], + } + +