forked from pool/post-build-checks
Accepting request 97177 from Base:System
- ignore empty rpm as in 09-check-packaged-twice as those will be detected by rpmlint rules with a clear message (forwarded request 97166 from WernerFink) OBS-URL: https://build.opensuse.org/request/show/97177 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/post-build-checks?expand=0&rev=58
This commit is contained in:
6
new.diff
6
new.diff
@@ -1,8 +1,8 @@
|
||||
Index: post-build-checks-1.0/checks/09-check-packaged-twice
|
||||
===================================================================
|
||||
--- post-build-checks-1.0.orig/checks/09-check-packaged-twice 2011-10-20 11:57:54.000000000 +0200
|
||||
+++ post-build-checks-1.0/checks/09-check-packaged-twice 2011-12-07 10:59:53.350691785 +0100
|
||||
@@ -1,61 +1,74 @@
|
||||
+++ post-build-checks-1.0/checks/09-check-packaged-twice 2011-12-20 10:12:34.056044906 +0000
|
||||
@@ -1,61 +1,76 @@
|
||||
-#!/usr/bin/perl
|
||||
+#!/usr/bin/perl -w
|
||||
# search for files packaged more than once
|
||||
@@ -64,6 +64,8 @@ Index: post-build-checks-1.0/checks/09-check-packaged-twice
|
||||
+ my @files = <FILES>;
|
||||
+ chomp @files;
|
||||
+ close FILES;
|
||||
+ # ignore empty rpm as rpmlint will catch them
|
||||
+ @files = grep {!/^\(none\)/} @files;
|
||||
+ # ignore dirs
|
||||
+ @files = grep {!/^d/} @files;
|
||||
+ for my $file (@files) {
|
||||
|
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 20 10:14:40 UTC 2011 - werner@suse.de
|
||||
|
||||
- ignore empty rpm as in 09-check-packaged-twice as those will be
|
||||
detected by rpmlint rules with a clear message
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 7 10:00:08 UTC 2011 - coolo@suse.com
|
||||
|
||||
|
Reference in New Issue
Block a user