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 Wed Jan 13 13:11:56 UTC 2010 - lnussel@suse.de

View File

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

View File

@@ -13,7 +13,7 @@
else: else:
# in /usr/share ? # in /usr/share ?
- if fname.startswith('/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( printError(
pkg, 'arch-dependent-file-in-usr-share', fname) pkg, 'arch-dependent-file-in-usr-share', fname)
# in /etc ? # in /etc ?