Remove non-working mozilla-crash-annotation.patch
Use more useful names for buildsymbols archive and index
--- a/mozilla-xulrunner192/mozilla-crash-annotation.patch Fri Jan 22 07:46:33 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-../mozilla-crash-annotation.patch
\ No newline at end of file
--- a/mozilla-xulrunner192/mozilla-xulrunner192.spec Fri Jan 22 07:46:33 2010 +0100
+++ b/mozilla-xulrunner192/mozilla-xulrunner192.spec Fri Jan 22 10:35:06 2010 +0100
@@ -84,7 +84,6 @@
# ---
Patch14: mozilla-breakpad-update.patch
Patch15: mozilla-milestone.patch
-Patch16: mozilla-crash-annotation.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires(post): update-alternatives coreutils
Requires(preun): update-alternatives coreutils
@@ -220,7 +219,6 @@
%patch13 -p1
%patch14 -p1
%patch15 -p1
-%patch16 -p1
%build
%if %suse_version >= 1110
@@ -414,10 +412,13 @@
%endif
# create breakpad debugsymbols
%if %crashreporter
-make buildsymbols
-if [ -e dist/*.crashreporter-symbols.zip ]; then
+SYMBOLS_NAME="xulrunner-%{version}-%{release}.%{_arch}-%{suse_version}-symbols"
+make buildsymbols \
+ SYMBOL_INDEX_NAME="$SYMBOLS_NAME.txt" \
+ SYMBOL_ARCHIVE_BASENAME="$SYMBOLS_NAME"
+if [ -e dist/*symbols.zip ]; then
mkdir -p $RPM_BUILD_ROOT%{_datadir}/mozilla/
- cp dist/*.crashreporter-symbols.zip $RPM_BUILD_ROOT%{_datadir}/mozilla/
+ cp dist/*symbols.zip $RPM_BUILD_ROOT%{_datadir}/mozilla/
fi
%endif