fix python 3.4 magic number
This commit is contained in:
parent
0536d0406f
commit
22237e2dc9
12
rpmlint-1.5-python-3.4-magic-number-fix.patch
Normal file
12
rpmlint-1.5-python-3.4-magic-number-fix.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -up rpmlint-1.5/FilesCheck.py.py34 rpmlint-1.5/FilesCheck.py
|
||||
--- rpmlint-1.5/FilesCheck.py.py34 2014-05-29 14:22:53.063802675 -0400
|
||||
+++ rpmlint-1.5/FilesCheck.py 2014-05-29 14:23:07.577696983 -0400
|
||||
@@ -308,7 +308,7 @@ _python_magic_values = {
|
||||
'3.1': 3150,
|
||||
'3.2': 3180,
|
||||
'3.3': 3230,
|
||||
- '3.4': 3260,
|
||||
+ '3.4': 3310,
|
||||
}
|
||||
|
||||
def get_expected_pyc_magic(path):
|
@ -1,6 +1,6 @@
|
||||
Name: rpmlint
|
||||
Version: 1.5
|
||||
Release: 9%{?dist}
|
||||
Release: 10%{?dist}
|
||||
Summary: Tool for checking common errors in RPM packages
|
||||
|
||||
Group: Development/Tools
|
||||
@ -22,6 +22,8 @@ Patch1: rpmlint-1.5-dont-modify-sys-argv-0.patch
|
||||
Patch2: rpmlint-1.5-fix-unbound-var.patch
|
||||
# https://sourceforge.net/p/rpmlint/code/ci/9844a91e281b2da647c599c3958ec34375d245a2
|
||||
Patch3: rpmlint-1.5-fix-unicode-name-bug.patch
|
||||
# http://sourceforge.net/p/rpmlint/code/ci/0929683e2544813d65ef85ae49b52ccdc6662746
|
||||
Patch4: rpmlint-1.5-python-3.4-magic-number-fix.patch
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: python >= 2.4
|
||||
@ -61,6 +63,7 @@ and source packages as well as spec files can be checked.
|
||||
%patch1 -p1 -b .argv0
|
||||
%patch2 -p1 -b .fixunbound
|
||||
%patch3 -p1 -b .fixunicode
|
||||
%patch4 -p1 -b .py34
|
||||
sed -i -e /MenuCheck/d Config.py
|
||||
cp -p config config.example
|
||||
install -pm 644 %{SOURCE2} CHANGES.package.old
|
||||
@ -111,6 +114,9 @@ make check
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu May 29 2014 Tom Callaway <spot@fedoraproject.org> - 1.5-10
|
||||
- fix python 3.4 magic number (#1102846)
|
||||
|
||||
* Mon May 12 2014 Tom Callaway <spot@fedoraproject.org> - 1.5-9
|
||||
- update config to ignore non-readable /etc/ovirt-engine/isouploader.conf
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user