forked from pool/rpmlint
Accepting request 734012 from home:mimi_vx:branches:devel:openSUSE:Factory:rpmlint
- update add-check-for-a-non-zero-.text-segment-in-.a-archive.patch * fix condition for path OBS-URL: https://build.opensuse.org/request/show/734012 OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=691
This commit is contained in:
parent
0b4213f78a
commit
8a570a7618
@ -35,7 +35,7 @@ Index: rpmlint-rpmlint-1.11/BinariesCheck.py
|
||||
lines = res[1].splitlines()
|
||||
+
|
||||
+ # For an archive, test if all .text sections are empty
|
||||
+ if is_archive and not (path.startswith('/usr/lib64/ghc') or path.startswith('/usr/lib/ghc')):
|
||||
+ if is_archive and not ('/usr/lib64/ghc' in path or '/usr/lib/ghc' in path):
|
||||
+ has_text_segment = False
|
||||
+ non_zero_text_segment = False
|
||||
+
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 30 08:15:38 UTC 2019 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||
|
||||
- update add-check-for-a-non-zero-.text-segment-in-.a-archive.patch
|
||||
* fix condition for path
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 20 16:04:10 UTC 2019 - Malte Kraus <malte.kraus@suse.com>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user