Fixing rpm segfault

This commit is contained in:
Jan Horak 2013-09-09 09:17:46 +02:00
parent cb2318058d
commit f14e989f4c

View File

@ -58,7 +58,7 @@
Summary: Mozilla Firefox Web browser Summary: Mozilla Firefox Web browser
Name: firefox Name: firefox
Version: 23.0.1 Version: 23.0.1
Release: 4%{?pre_tag}%{?dist} Release: 5%{?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
@ -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+ # Moves defaults/preferences to browser/defaults/preferences in Fedora 19+
%pretrans -p <lua>
%if 0%{?fedora} >= 19 %if 0%{?fedora} >= 19
%pretrans -p <lua>
require 'posix' require 'posix'
require 'os' require 'os'
if (posix.stat("%{mozappdir}/browser/defaults/preferences", "type") == "link") then if (posix.stat("%{mozappdir}/browser/defaults/preferences", "type") == "link") then
@ -443,7 +443,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
#--------------------------------------------------------------------- #---------------------------------------------------------------------
%changelog %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 - Fixing rhbz#1003691
* Fri Aug 30 2013 Martin Stransky <stransky@redhat.com> - 23.0.1-3 * Fri Aug 30 2013 Martin Stransky <stransky@redhat.com> - 23.0.1-3