mozilla-xulrunner192/mozilla-xulrunner192.spec
branchmozilla-1.9.2
changeset 72 09df8552b796
parent 71 ae404bc8e61f
child 88 a066d1e6db17
equal deleted inserted replaced
71:ae404bc8e61f 72:09df8552b796
    39 BuildRequires:  wireless-tools
    39 BuildRequires:  wireless-tools
    40 %endif
    40 %endif
    41 License:        GPLv2+ ; LGPLv2.1+ ; MPLv1.1+
    41 License:        GPLv2+ ; LGPLv2.1+ ; MPLv1.1+
    42 Version:        1.9.2.4
    42 Version:        1.9.2.4
    43 Release:        1
    43 Release:        1
    44 %define         releasedate 2010041700
    44 %define         releasedate 2010050300
    45 %define         version_internal 1.9.2.4
    45 %define         version_internal 1.9.2.4
    46 %define         apiversion 1.9.2
    46 %define         apiversion 1.9.2
    47 %define         uaweight 192040
    47 %define         uaweight 192040
    48 Summary:        Mozilla Runtime Environment 1.9.2
    48 Summary:        Mozilla Runtime Environment 1.9.2
    49 Url:            http://www.mozilla.org
    49 Url:            http://www.mozilla.org
   435 rm -rf %{_tmppath}/translations.*
   435 rm -rf %{_tmppath}/translations.*
   436 %endif
   436 %endif
   437 
   437 
   438 %post
   438 %post
   439 /usr/sbin/update-alternatives --install %{_bindir}/xulrunner \
   439 /usr/sbin/update-alternatives --install %{_bindir}/xulrunner \
   440   xulrunner %{_libdir}/xulrunner-%{version_internal}/xulrunner %{uaweight} || :
   440   xulrunner %{_libdir}/xulrunner-%{apiversion}/xulrunner %{uaweight} || :
   441 %{_libdir}/xulrunner-%{apiversion}/add-plugins.sh > /dev/null 2>&1
   441 %{_libdir}/xulrunner-%{apiversion}/add-plugins.sh > /dev/null 2>&1
   442 exit 0
   442 exit 0
   443 
   443 
   444 %posttrans
   444 %posttrans
   445 # needed for updates which transition directory to symlink
   445 # needed for updates which transition directory to symlink