From a5dfe3acb5fce1c8a5eae12baee646f1f23be758 Mon Sep 17 00:00:00 2001 From: Martin Stransky Date: Tue, 10 Dec 2013 13:52:25 +0100 Subject: [PATCH] Buidl to objdir --- firefox-mozconfig | 2 +- firefox.spec | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/firefox-mozconfig b/firefox-mozconfig index 2ff23b4..501a49a 100644 --- a/firefox-mozconfig +++ b/firefox-mozconfig @@ -37,4 +37,4 @@ export BUILD_OFFICIAL=1 export MOZILLA_OFFICIAL=1 mk_add_options BUILD_OFFICIAL=1 mk_add_options MOZILLA_OFFICIAL=1 -mk_add_options MOZ_OBJDIR=@TOPSRCDIR@ +mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/objdir diff --git a/firefox.spec b/firefox.spec index 8f4b30b..acff24c 100644 --- a/firefox.spec +++ b/firefox.spec @@ -228,7 +228,7 @@ cd %{tarballdir} # set up our prefs and add it to the package manifest file, so it gets pulled in # to omni.jar which gets created during make install -%{__cp} %{SOURCE12} dist/bin/browser/defaults/preferences/all-redhat.js +%{__cp} %{SOURCE12} objdir/dist/bin/browser/defaults/preferences/all-redhat.js # This sed call "replaces" firefox.js with all-redhat.js, newline, and itself (&) # having the net effect of prepending all-redhat.js above firefox.js %{__sed} -i -e\ @@ -236,14 +236,14 @@ cd %{tarballdir} browser/installer/package-manifest.in # set up our default bookmarks -%{__cp} -p %{default_bookmarks_file} dist/bin/browser/defaults/profile/bookmarks.html +%{__cp} -p %{default_bookmarks_file} objdir/dist/bin/browser/defaults/profile/bookmarks.html # Make sure locale works for langpacks -%{__cat} > dist/bin/browser/defaults/preferences/firefox-l10n.js << EOF +%{__cat} > objdir/dist/bin/browser/defaults/preferences/firefox-l10n.js << EOF pref("general.useragent.locale", "chrome://global/locale/intl.properties"); EOF -DESTDIR=$RPM_BUILD_ROOT make install +DESTDIR=$RPM_BUILD_ROOT make -C objdir install %{__mkdir_p} $RPM_BUILD_ROOT{%{_libdir},%{_bindir},%{_datadir}/applications}