diff --git a/add-check-for-a-non-zero-.text-segment-in-.a-archive.patch b/add-check-for-a-non-zero-.text-segment-in-.a-archive.patch index e005d5d..63f536a 100644 --- a/add-check-for-a-non-zero-.text-segment-in-.a-archive.patch +++ b/add-check-for-a-non-zero-.text-segment-in-.a-archive.patch @@ -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 + diff --git a/rpmlint.changes b/rpmlint.changes index 8eb47f7..9e6e167 100644 --- a/rpmlint.changes +++ b/rpmlint.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Sep 30 08:15:38 UTC 2019 - Ondřej Súkup + +- 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