forked from pool/rpmlint
Accepting request 224054 from home:aplanas:branches:devel:openSUSE:Factory:rpmlint
OBS-URL: https://build.opensuse.org/request/show/224054 OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=247
This commit is contained in:
parent
8edc8742fa
commit
45c7c684cb
13
rpmlint-decode-fix.diff
Normal file
13
rpmlint-decode-fix.diff
Normal file
@ -0,0 +1,13 @@
|
||||
Index: rpmlint-1.5/Pkg.py
|
||||
===================================================================
|
||||
--- rpmlint-1.5.orig/Pkg.py
|
||||
+++ rpmlint-1.5/Pkg.py
|
||||
@@ -85,7 +85,7 @@ def getstatusoutput(cmd, stdoutonly = Fa
|
||||
stdout=subprocess.PIPE,
|
||||
stderr=subprocess.STDOUT, close_fds=True)
|
||||
proc.stdin.close()
|
||||
- text = proc.stdout.read().decode()
|
||||
+ text = proc.stdout.read()
|
||||
sts = proc.wait()
|
||||
if sts is None:
|
||||
sts = 0
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 27 08:25:03 UTC 2014 - aplanas@suse.com
|
||||
|
||||
- added paches:
|
||||
* rpmlint-decode-fix.diff
|
||||
- Fix decode from UTF-8 string in Python 2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Feb 23 20:52:54 UTC 2014 - schwab@suse.de
|
||||
|
||||
|
@ -126,6 +126,7 @@ Patch92: rpmlint-1.5-Fix-setgroups-error-name.diff
|
||||
Patch93: xdg-check-exception.diff
|
||||
Patch94: suse-ignore-specfile-errors.diff
|
||||
Patch95: invalid-filerequires.diff
|
||||
Patch96: rpmlint-decode-fix.diff
|
||||
|
||||
%py_requires
|
||||
|
||||
@ -204,6 +205,7 @@ source packages can be checked.
|
||||
%patch93 -p1
|
||||
%patch94
|
||||
%patch95
|
||||
%patch96 -p1
|
||||
cp -p %{SOURCE2} .
|
||||
# Only move top-level python files
|
||||
chmod 0755 rpmlint-checks-master/*.py
|
||||
|
Loading…
x
Reference in New Issue
Block a user