forked from pool/rpmlint
Accepting request 42273 from Base:System
Copy from Base:System/rpmlint based on submit request 42273 from user lnussel OBS-URL: https://build.opensuse.org/request/show/42273 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rpmlint?expand=0&rev=63
This commit is contained in:
parent
06b0f1d903
commit
0f8e49b66b
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 29 14:29:57 UTC 2010 - lnussel@suse.de
|
||||
|
||||
- don't print unstripped binary warning when used with build script
|
||||
(bnc#618004)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 7 08:33:32 UTC 2010 - andrea@opensuse.org
|
||||
|
||||
|
@ -23,7 +23,7 @@ Name: rpmlint
|
||||
BuildRequires: rpm-python
|
||||
Summary: Rpm correctness checker
|
||||
Version: 0.95
|
||||
Release: 8
|
||||
Release: 9
|
||||
Source0: %{name}-%{version}.tar.bz2
|
||||
Source1: config
|
||||
Source1001: config.in
|
||||
|
@ -10,14 +10,13 @@ Index: BinariesCheck.py
|
||||
|
||||
import rpm
|
||||
|
||||
@@ -264,7 +265,9 @@ class BinariesCheck(AbstractCheck.Abstra
|
||||
@@ -271,7 +272,8 @@ class BinariesCheck(AbstractCheck.Abstra
|
||||
|
||||
# stripped ?
|
||||
if not is_ocaml_native and not unstrippable.search(fname):
|
||||
- if 'not stripped' in pkgfile.magic:
|
||||
+ if 'not stripped' in pkgfile.magic and \
|
||||
+ (os.environ.get('BUILD_IS_RUNNING', None) == None or \
|
||||
+ os.environ.get('BUILD_DEBUG_FLAGS','').find('-g') != -1):
|
||||
+ os.environ.get('BUILD_DIR', None) == None:
|
||||
printWarning(
|
||||
pkg, 'unstripped-binary-or-object', fname)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user