From 04def633297c3d942544881d9d68dc35532fb569 Mon Sep 17 00:00:00 2001 From: Martin Stransky Date: Wed, 19 Dec 2007 11:50:34 +0000 Subject: spec polishing --- firefox-mozconfig | 4 +++- firefox.spec | 10 +++++----- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/firefox-mozconfig b/firefox-mozconfig index eb6b433..70f679a 100755 --- a/firefox-mozconfig +++ b/firefox-mozconfig @@ -10,8 +10,10 @@ ac_add_options --with-system-zlib ac_add_options --with-pthreads ac_add_options --disable-tests ac_add_options --disable-debug -ac_add_options --disable-installer ac_add_options --enable-optimize="$RPM_OPT_FLAGS" +#ac_add_options --enable-debug +#ac_add_options --disable-optimize +ac_add_options --disable-installer ac_add_options --enable-xinerama ac_add_options --enable-default-toolkit=cairo-gtk2 ac_add_options --disable-xprint diff --git a/firefox.spec b/firefox.spec index 9b78ba1..cc57aa1 100644 --- a/firefox.spec +++ b/firefox.spec @@ -2,8 +2,8 @@ %define default_bookmarks_file %{_datadir}/bookmarks/default-bookmarks.html %define desktop_file_utils_version 0.9 -%define internal_version 3.0b3pre -%define mozappdir %{_libdir}/%{name}-%{internal_version} +%define version_internal 3.0b3pre +%define mozappdir %{_libdir}/%{name}-%{version_internal} %define official_branding 0 @@ -129,7 +129,7 @@ export LIBDIR='%{_libdir}' %define moz_make_flags %{?_smp_mflags} %endif -INTERNAL_GECKO=%{internal_version} +INTERNAL_GECKO=%{version_internal} MOZ_APP_DIR=%{_libdir}/%{name}-${INTERNAL_GECKO} export LDFLAGS="-Wl,-rpath,$MOZ_APP_DIR" @@ -155,12 +155,12 @@ desktop-file-install --vendor mozilla \ # set up the firefox start script %{__rm} -rf $RPM_BUILD_ROOT%{_bindir}/firefox -%{__cat} %{SOURCE21} | %{__sed} -e 's,FIREFOX_VERSION,%{internal_version},g' > \ +%{__cat} %{SOURCE21} | %{__sed} -e 's,FIREFOX_VERSION,%{version_internal},g' > \ $RPM_BUILD_ROOT%{_bindir}/firefox %{__chmod} 755 $RPM_BUILD_ROOT%{_bindir}/firefox # set up our default preferences -%{__cat} %{SOURCE12} | %{__sed} -e 's,FIREFOX_RPM_VR,%{internal_version}-%{release},g' > rh-default-prefs +%{__cat} %{SOURCE12} | %{__sed} -e 's,FIREFOX_RPM_VR,%{version_internal}-%{release},g' > rh-default-prefs # set up our default homepage %{__cat} >> rh-default-prefs << EOF -- cgit