summaryrefslogtreecommitdiff
path: root/firefox.spec
diff options
context:
space:
mode:
authorJan Horak <jhorak@redhat.com>2013-09-09 09:17:46 +0200
committerJan Horak <jhorak@redhat.com>2013-09-09 09:17:46 +0200
commitf14e989f4c35b20d073c8e1b2507013c9c94c160 (patch)
tree356328850660410147d447aaf483f0bfda9f6ab1 /firefox.spec
parentFixing 1003691 - pretrans failed when composing new fedora (diff)
downloadlibrewolf-fedora-ff-f14e989f4c35b20d073c8e1b2507013c9c94c160.tar.gz
librewolf-fedora-ff-f14e989f4c35b20d073c8e1b2507013c9c94c160.tar.bz2
librewolf-fedora-ff-f14e989f4c35b20d073c8e1b2507013c9c94c160.zip
Fixing rpm segfault
Diffstat (limited to 'firefox.spec')
-rw-r--r--firefox.spec6
1 files changed, 3 insertions, 3 deletions
diff --git a/firefox.spec b/firefox.spec
index f4aecc6..0642b1b 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -58,7 +58,7 @@
Summary: Mozilla Firefox Web browser
Name: firefox
Version: 23.0.1
-Release: 4%{?pre_tag}%{?dist}
+Release: 5%{?pre_tag}%{?dist}
URL: http://www.mozilla.org/projects/firefox/
License: MPLv1.1 or GPLv2+ or LGPLv2+
Group: Applications/Internet
@@ -348,8 +348,8 @@ sed -i -e "s/\[Crash Reporter\]/[Crash Reporter]\nEnabled=1/" $RPM_BUILD_ROOT/%{
#---------------------------------------------------------------------
# Moves defaults/preferences to browser/defaults/preferences in Fedora 19+
-%pretrans -p <lua>
%if 0%{?fedora} >= 19
+%pretrans -p <lua>
require 'posix'
require 'os'
if (posix.stat("%{mozappdir}/browser/defaults/preferences", "type") == "link") then
@@ -443,7 +443,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
#---------------------------------------------------------------------
%changelog
-* Tue Sep 3 2013 Jan Horak <jhorak@redhat.com> - 23.0.1-4
+* Tue Sep 3 2013 Jan Horak <jhorak@redhat.com> - 23.0.1-5
- Fixing rhbz#1003691
* Fri Aug 30 2013 Martin Stransky <stransky@redhat.com> - 23.0.1-3
bgstack15