Fixed debug builds

This commit is contained in:
Martin Stransky 2015-04-07 13:36:59 +02:00
parent bf589ec03d
commit a7c8bd825f
2 changed files with 18 additions and 1 deletions

12
firefox-debug.patch Normal file
View File

@ -0,0 +1,12 @@
diff -up mozilla-release/browser/installer/package-manifest.in.old mozilla-release/browser/installer/package-manifest.in
--- mozilla-release/browser/installer/package-manifest.in.old 2015-04-03 04:30:05.000000000 +0200
+++ mozilla-release/browser/installer/package-manifest.in 2015-04-07 13:17:44.180343700 +0200
@@ -608,7 +608,7 @@
@RESPATH@/components/MozKeyboard.js
@RESPATH@/components/InputMethod.manifest
-#ifdef MOZ_DEBUG
+#ifdef ENABLE_TESTS
@RESPATH@/components/TestInterfaceJS.js
@RESPATH@/components/TestInterfaceJS.manifest
#endif

View File

@ -107,7 +107,7 @@
Summary: Mozilla Firefox Web browser Summary: Mozilla Firefox Web browser
Name: firefox Name: firefox
Version: 37.0.1 Version: 37.0.1
Release: 1%{?pre_tag}%{?dist} Release: 2%{?pre_tag}%{?dist}
URL: http://www.mozilla.org/projects/firefox/ URL: http://www.mozilla.org/projects/firefox/
License: MPLv1.1 or GPLv2+ or LGPLv2+ License: MPLv1.1 or GPLv2+ or LGPLv2+
Group: Applications/Internet Group: Applications/Internet
@ -134,6 +134,7 @@ Patch19: xulrunner-24.0-s390-inlines.patch
Patch20: firefox-build-prbool.patch Patch20: firefox-build-prbool.patch
Patch21: firefox-ppc64le.patch Patch21: firefox-ppc64le.patch
Patch23: mozilla-1005535.patch Patch23: mozilla-1005535.patch
Patch24: firefox-debug.patch
# Fedora specific patches # Fedora specific patches
# Unable to install addons from https pages # Unable to install addons from https pages
@ -284,6 +285,7 @@ cd %{tarballdir}
%patch20 -p1 -b .prbool %patch20 -p1 -b .prbool
%patch21 -p2 -b .ppc64le %patch21 -p2 -b .ppc64le
%patch23 -p1 -b .1005535 %patch23 -p1 -b .1005535
%patch24 -p1 -b .debug
%patch3 -p2 -b .arm %patch3 -p2 -b .arm
@ -803,6 +805,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
#--------------------------------------------------------------------- #---------------------------------------------------------------------
%changelog %changelog
* Tue Apr 7 2015 Martin Stransky <stransky@redhat.com> - 37.0.1-2
- Fixed debug builds
* Tue Apr 7 2015 Martin Stransky <stransky@redhat.com> - 37.0.1-1 * Tue Apr 7 2015 Martin Stransky <stransky@redhat.com> - 37.0.1-1
- Update to 37.0.1 - Update to 37.0.1