equal
deleted
inserted
replaced
82 Patch12: gecko-lockdown.patch |
82 Patch12: gecko-lockdown.patch |
83 Patch13: toolkit-ui-lockdown.patch |
83 Patch13: toolkit-ui-lockdown.patch |
84 # --- |
84 # --- |
85 Patch14: mozilla-breakpad-update.patch |
85 Patch14: mozilla-breakpad-update.patch |
86 Patch15: mozilla-milestone.patch |
86 Patch15: mozilla-milestone.patch |
87 Patch16: mozilla-crash-annotation.patch |
|
88 BuildRoot: %{_tmppath}/%{name}-%{version}-build |
87 BuildRoot: %{_tmppath}/%{name}-%{version}-build |
89 Requires(post): update-alternatives coreutils |
88 Requires(post): update-alternatives coreutils |
90 Requires(preun): update-alternatives coreutils |
89 Requires(preun): update-alternatives coreutils |
91 ### build configuration ### |
90 ### build configuration ### |
92 %ifarch %ix86 |
91 %ifarch %ix86 |
218 %patch11 -p1 |
217 %patch11 -p1 |
219 %patch12 -p1 |
218 %patch12 -p1 |
220 %patch13 -p1 |
219 %patch13 -p1 |
221 %patch14 -p1 |
220 %patch14 -p1 |
222 %patch15 -p1 |
221 %patch15 -p1 |
223 %patch16 -p1 |
|
224 |
222 |
225 %build |
223 %build |
226 %if %suse_version >= 1110 |
224 %if %suse_version >= 1110 |
227 kdehelperversion=$(cat toolkit/xre/nsKDEUtils.cpp | grep '#define KMOZILLAHELPER_VERSION' | cut -d ' ' -f 3) |
225 kdehelperversion=$(cat toolkit/xre/nsKDEUtils.cpp | grep '#define KMOZILLAHELPER_VERSION' | cut -d ' ' -f 3) |
228 if test "$kdehelperversion" != %{kde_helper_version}; then |
226 if test "$kdehelperversion" != %{kde_helper_version}; then |
412 %fdupes $RPM_BUILD_ROOT%{_includedir}/xulrunner-%{version_internal}/ |
410 %fdupes $RPM_BUILD_ROOT%{_includedir}/xulrunner-%{version_internal}/ |
413 %fdupes $RPM_BUILD_ROOT%{_libdir}/xulrunner-%{version_internal}/ |
411 %fdupes $RPM_BUILD_ROOT%{_libdir}/xulrunner-%{version_internal}/ |
414 %endif |
412 %endif |
415 # create breakpad debugsymbols |
413 # create breakpad debugsymbols |
416 %if %crashreporter |
414 %if %crashreporter |
417 make buildsymbols |
415 SYMBOLS_NAME="xulrunner-%{version}-%{release}.%{_arch}-%{suse_version}-symbols" |
418 if [ -e dist/*.crashreporter-symbols.zip ]; then |
416 make buildsymbols \ |
|
417 SYMBOL_INDEX_NAME="$SYMBOLS_NAME.txt" \ |
|
418 SYMBOL_ARCHIVE_BASENAME="$SYMBOLS_NAME" |
|
419 if [ -e dist/*symbols.zip ]; then |
419 mkdir -p $RPM_BUILD_ROOT%{_datadir}/mozilla/ |
420 mkdir -p $RPM_BUILD_ROOT%{_datadir}/mozilla/ |
420 cp dist/*.crashreporter-symbols.zip $RPM_BUILD_ROOT%{_datadir}/mozilla/ |
421 cp dist/*symbols.zip $RPM_BUILD_ROOT%{_datadir}/mozilla/ |
421 fi |
422 fi |
422 %endif |
423 %endif |
423 |
424 |
424 %clean |
425 %clean |
425 rm -rf $RPM_BUILD_ROOT |
426 rm -rf $RPM_BUILD_ROOT |