SHA256
1
0
forked from pool/rpmlint

Accepting request 30901 from Base:System

Copy from Base:System/rpmlint based on submit request 30901 from user lnussel

OBS-URL: https://build.opensuse.org/request/show/30901
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rpmlint?expand=0&rev=51
This commit is contained in:
OBS User autobuild 2010-02-01 11:21:22 +00:00 committed by Git OBS Bridge
parent 5e20a03ee9
commit 596a983bee
3 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Feb 1 10:14:58 UTC 2010 - lnussel@suse.de
- fix usr-arch.diff
- require python-magic as it's needed by some checks
-------------------------------------------------------------------
Wed Jan 13 13:11:56 UTC 2010 - lnussel@suse.de

View File

@ -23,7 +23,7 @@ Name: rpmlint
BuildRequires: rpm-python
Summary: Rpm correctness checker
Version: 0.92
Release: 1
Release: 2
Source0: %{name}-%{version}.tar.bz2
Source1: config
Source1001: config.in
@ -53,6 +53,7 @@ Group: System/Packages
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: rpm-python, /usr/bin/readelf, file, findutils, cpio, bash
Requires: desktop-file-utils
Requires: python-magic
BuildArch: noarch
Patch0: rpmlint-suse.diff
Patch2: suse-version.diff

View File

@ -13,7 +13,7 @@
else:
# in /usr/share ?
- if fname.startswith('/usr/share/'):
+ if fname.startswith('/usr/share/') and not usr_arch_share.search(fname):
+ if fname.startswith('/usr/share/') and not usr_arch_share_regex.search(fname):
printError(
pkg, 'arch-dependent-file-in-usr-share', fname)
# in /etc ?