# HG changeset patch # User Wolfgang Rosenauer # Date 1294916347 -3600 # Node ID 7ba53683584c397cc9e01e2692974f0ae9ccda65 # Parent b2978eba3a92c67ada34a9747bc5bfc2c4989dce remove support for distributions before 10.3 from spec file diff -r b2978eba3a92 -r 7ba53683584c MozillaFirefox/MozillaFirefox.spec --- a/MozillaFirefox/MozillaFirefox.spec Thu Jan 13 11:57:26 2011 +0100 +++ b/MozillaFirefox/MozillaFirefox.spec Thu Jan 13 11:59:07 2011 +0100 @@ -320,38 +320,18 @@ if [ -f usr/bin/update-mime-database ] ; then usr/bin/update-mime-database %{_datadir}/mime > /dev/null || : fi -%if %suse_version >= 1030 if [ -f usr/bin/update-desktop-database ] ; then usr/bin/update-desktop-database > /dev/null || : fi -%else -if [ -f opt/gnome/bin/update-mime-database ] ; then - opt/gnome/bin/update-mime-database > /dev/null || : -fi -%endif -# move plugins to new location -if [ "$1" = "2" ]; then - if [ -d /opt/MozillaFirefox/%{_lib}/plugins ]; then - rm -rf /opt/MozillaFirefox/%{_lib}/plugins/libnullplugin.so - cp -fud /opt/MozillaFirefox/%{_lib}/plugins/* %{progdir}/plugins - rm -rf /opt/MozillaFirefox/%{_lib}/plugins - fi -fi exit 0 %postun if [ -f usr/bin/update-mime-database ] ; then usr/bin/update-mime-database %{_datadir}/mime > /dev/null || : fi -%if %suse_version >= 1030 if [ -f usr/bin/update-desktop-database ] ; then usr/bin/update-desktop-database > /dev/null || : fi -%else -if [ -f opt/gnome/bin/update-mime-database ] ; then - opt/gnome/bin/update-mime-database > /dev/null || : -fi -%endif %files %defattr(-,root,root)