[mingw-crossreport: 10/15] Update crossreport database.
epienbro
epienbro at fedoraproject.org
Wed Mar 7 16:19:16 UTC 2012
commit 64149e5e02e9f6d206f6f8af8bbc99eeccf958b6
Author: Richard Jones <rjones at redhat.com>
Date: Fri Jul 30 18:10:34 2010 +0100
Update crossreport database.
mingw32-crossreport.spec | 7 +++++--
update-crossreport-db.pl | 10 ++++++++--
2 files changed, 13 insertions(+), 4 deletions(-)
---
diff --git a/mingw32-crossreport.spec b/mingw32-crossreport.spec
index 9fe3197..1ec19ed 100644
--- a/mingw32-crossreport.spec
+++ b/mingw32-crossreport.spec
@@ -1,6 +1,6 @@
Name: mingw32-crossreport
-Version: 6
-Release: 3%{?dist}
+Version: 7
+Release: 1%{?dist}
Summary: Analysis tool to help cross-compilation to Windows
License: GPLv2+
@@ -82,6 +82,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Fri Jul 30 2010 Richard W.M. Jones <rjones at redhat.com> - 7-1
+- Update database.
+
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 6-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
diff --git a/update-crossreport-db.pl b/update-crossreport-db.pl
index afd128b..b03e66e 100755
--- a/update-crossreport-db.pl
+++ b/update-crossreport-db.pl
@@ -1,7 +1,7 @@
#!/usr/bin/perl -w
#
# Update CrossReport database.
-# Copyright (C) 2009 Red Hat Inc.
+# Copyright (C) 2009-2010 Red Hat Inc.
# Written by Richard W.M. Jones <rjones at redhat.com>,
# http://fedoraproject.org/wiki/MinGW
#
@@ -23,6 +23,8 @@ use strict;
use DB_File;
+$ENV{LANG} = "C";
+
# Map of symbol name -> RPM owner.
my %symbols;
my $symdbm =
@@ -78,11 +80,15 @@ EOT
add_symbol ($1, $rpm_name);
} elsif (m/^[[:xdigit:]]+ T (.*)(@\d+)?$/) {
add_symbol ($1, $rpm_name);
+ } elsif (m/^[[:xdigit:]]+ B /) {
+ warn "$implib: ignoring '$_'\n";
} else {
- die "$_: ?\n";
+ die "$implib: cannot parse '$_'\n";
}
}
}
print "Found ", 0+(keys %symbols), " symbols.\n";
+ print "File 'crossreport.db' has been updated.\n";
+ print "Now you need to bump and rebuild the Fedora RPM.\n";
}
More information about the scm-commits
mailing list