From a2bd6381c7f2138852e2af6b1a4317ffb9e66e95f9af0e9b7fdf152cf48dc975 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Thu, 21 Jun 2007 22:12:29 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rpmlint-mini?expand=0&rev=6 --- package-rpmlintrc.diff | 12 ++++++------ rpmlint-mini.changes | 5 +++++ rpmlint-mini.spec | 4 +++- 3 files changed, 14 insertions(+), 7 deletions(-) diff --git a/package-rpmlintrc.diff b/package-rpmlintrc.diff index 428a1ca..c45ac83 100644 --- a/package-rpmlintrc.diff +++ b/package-rpmlintrc.diff @@ -56,12 +56,12 @@ extract_dir=Config.getOption('ExtractDir', '/tmp') --- MenuXDGCheck.py +++ MenuXDGCheck.py -@@ -20,7 +20,7 @@ +@@ -21,7 +21,7 @@ def check_file(self, pkg, filename): f = pkg.dirName() + filename -- if getstatusoutput(('desktop-file-validate', f), 1)[0]: -+ if getstatusoutput(('/opt/testing/bin/desktop-file-validate', f), 1)[0]: - printError(pkg, 'invalid-desktopfile', filename) - if not is_utf8(f): - printError(pkg, 'non-utf8-desktopfile', filename) +- st = getstatusoutput(('desktop-file-validate', f), 1) ++ st = getstatusoutput(('/opt/testing/bin/desktop-file-validate', f), 1) + if st[0]: + if st[1].find('error:') != -1: + printError(pkg, 'invalid-desktopfile', filename, st[1].split('error: ')[1]) diff --git a/rpmlint-mini.changes b/rpmlint-mini.changes index 780df71..51eac97 100644 --- a/rpmlint-mini.changes +++ b/rpmlint-mini.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jun 21 23:55:01 CEST 2007 - dmueller@suse.de + +- refresh patches + ------------------------------------------------------------------- Thu Jun 7 14:19:04 CEST 2007 - dmueller@suse.de diff --git a/rpmlint-mini.spec b/rpmlint-mini.spec index 99f7a66..afb20bc 100644 --- a/rpmlint-mini.spec +++ b/rpmlint-mini.spec @@ -14,7 +14,7 @@ Name: rpmlint-mini BuildRequires: glib2-devel pkg-config rpm-python rpmlint Summary: Rpm correctness checker Version: 1.0 -Release: 15 +Release: 20 URL: http://rpmlint.zarb.org/ License: GNU General Public License (GPL) Group: System/Packages @@ -96,6 +96,8 @@ rm -rf $RPM_BUILD_ROOT /opt/testing %changelog +* Thu Jun 21 2007 - dmueller@suse.de +- refresh patches * Thu Jun 07 2007 - dmueller@suse.de - update desktop-file-validate to 0.13 - fix build for lib64 archs