mozilla-xulrunner192/mozilla-xulrunner192.spec
changeset 56 6c1feeed3314
parent 55 5297865de947
child 57 fee8a3636d4a
--- 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