OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Michael van Elst
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 06-Feb-2003 07:52:50
Branch: HEAD Handle: 2003020606525000
Modified files:
openpkg-src/openpkg-tool
openpkg-index.pl
Log:
indexer produced empty requirements that confuse builder
Summary:
Revision Changes Path
1.14 +5 -2 openpkg-src/openpkg-tool/openpkg-index.pl
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/openpkg-tool/openpkg-index.pl
============================================================================
$ cvs diff -u -r1.13 -r1.14 openpkg-index.pl
--- openpkg-src/openpkg-tool/openpkg-index.pl 6 Feb 2003 00:34:06 -0000 1.13
+++ openpkg-src/openpkg-tool/openpkg-index.pl 6 Feb 2003 06:52:50 -0000 1.14
@@ -760,11 +760,14 @@
if (defined $platform) {
$a{'Platform'} = $platform;
}
- $a{'PreReq'} =~ s/^rpmlib\(.*$//mg;
$a{'Description'} = [ $a{'Description'} ];
foreach ('Conflicts', 'PreReq', 'Provides') {
- $a{$_} = [ map { make_resource($_) } split(/\n+/, $a{$_}) ];
+ $a{$_} = [
+ map { make_resource($_) }
+ grep { !/^rpmlib\(/ }
+ split(/\n+/, $a{$_})
+ ];
}
return { map {
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]