From 8a570a7618dcb6132019e799269334887b74ca3fd4afe76a5d21406dafd21cd6 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Thu, 3 Oct 2019 08:13:15 +0000 Subject: [PATCH] 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 --- add-check-for-a-non-zero-.text-segment-in-.a-archive.patch | 2 +- rpmlint.changes | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) 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