SPECS (AC-branch): mozilla-firefox.spec - hack-fix: sudo and polde...
glen
glen at pld-linux.org
Wed Sep 13 14:41:50 CEST 2006
Author: glen Date: Wed Sep 13 12:41:50 2006 GMT
Module: SPECS Tag: AC-branch
---- Log message:
- hack-fix: sudo and poldek -u can cause your ~/.mozilla being owned by root
and firefox then fails to start silently; rel 3
---- Files affected:
SPECS:
mozilla-firefox.spec (1.131.2.13 -> 1.131.2.14)
---- Diffs:
================================================================
Index: SPECS/mozilla-firefox.spec
diff -u SPECS/mozilla-firefox.spec:1.131.2.13 SPECS/mozilla-firefox.spec:1.131.2.14
--- SPECS/mozilla-firefox.spec:1.131.2.13 Sun Aug 6 19:36:04 2006
+++ SPECS/mozilla-firefox.spec Wed Sep 13 14:41:44 2006
@@ -19,7 +19,7 @@
Summary(pl): Mozilla Firefox - przeglądarka WWW
Name: mozilla-firefox
Version: 1.5.0.6
-Release: 2
+Release: 3
License: MPL/LGPL
Group: X11/Applications/Networking
Source0: ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/%{version}/source/firefox-%{version}-source.tar.bz2
@@ -53,6 +53,7 @@
BuildRequires: perl-modules >= 5.004
BuildRequires: pkgconfig
BuildRequires: zip
+Requires(post): mktemp
Requires: %{name}-lang-resources = %{version}
Requires: nspr >= 1:4.6.1-2
Requires: nss >= 1:3.10.2
@@ -271,8 +272,10 @@
export LD_LIBRARY_PATH
unset TMPDIR TMP || :
+export HOME=$(mktemp -d)
MOZILLA_FIVE_HOME=%{_firefoxdir} %{_firefoxdir}/regxpcom
MOZILLA_FIVE_HOME=%{_firefoxdir} %{_firefoxdir}/firefox -register
+rm -rf $HOME
EOF
%clean
@@ -357,6 +360,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.131.2.14 2006/09/13 12:41:44 glen
+- hack-fix: sudo and poldek -u can cause your ~/.mozilla being owned by root
+ and firefox then fails to start silently; rel 3
+
Revision 1.131.2.13 2006/08/06 17:36:04 hawk
- build with Firefox icons/logos not Deer Park ones
- release 2
@@ -557,4 +564,3 @@
Revision 1.95.2.1 2005/09/08 23:24:34 arekm
- started playing with deer park
-
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/mozilla-firefox.spec?r1=1.131.2.13&r2=1.131.2.14&f=u
More information about the pld-cvs-commit
mailing list