From b5f04cd96f77c8bdb2a9636506635a9ea887045a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Tue, 23 Aug 2005 18:45:30 +0000 Subject: [PATCH] - make i686 package install on amd64 Changed files: adobe-flash.spec -> 1.31 --- adobe-flash.spec | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/adobe-flash.spec b/adobe-flash.spec index 3640e24..ab56891 100644 --- a/adobe-flash.spec +++ b/adobe-flash.spec @@ -11,7 +11,7 @@ Name: %{base_name} Name: %{base_name}-installer %endif Version: 7.0r25 -Release: 2.23%{?with_license_agreement:wla} +Release: 2.26%{?with_license_agreement:wla} License: Free to use, non-distributable Group: X11/Applications/Multimedia %if %{with license_agreement} @@ -21,7 +21,7 @@ Source0: http://fpdownload.macromedia.com/get/shockwave/flash/english/linux/%{ve Source0: license-installer.sh %endif URL: http://www.macromedia.com/software/flash/ -BuildRequires: rpmbuild(macros) >= 1.224 +BuildRequires: rpmbuild(macros) >= 1.235 Requires: browser-plugins(%{_target_cpu}) %if %{without license_agreement} Requires: /usr/bin/builder @@ -93,18 +93,22 @@ rm -rf $RPM_BUILD_ROOT %triggerin -- mozilla %nsplugin_install -d %{_libdir}/mozilla/plugins libflashplayer.so flashplayer.xpt -umask 022 -rm -f /usr/%{_lib}/mozilla/components/{compreg,xpti}.dat -if [ -x /usr/bin/regxpcom ]; then - MOZILLA_FIVE_HOME=/usr/%{_lib}/mozilla /usr/bin/regxpcom +if [ -d /usr/%{_lib}/mozilla ]; then + umask 022 + rm -f /usr/%{_lib}/mozilla/components/{compreg,xpti}.dat + if [ -x /usr/bin/regxpcom ]; then + MOZILLA_FIVE_HOME=/usr/%{_lib}/mozilla /usr/bin/regxpcom + fi fi %triggerun -- mozilla %nsplugin_uninstall -d %{_libdir}/mozilla/plugins libflashplayer.so flashplayer.xpt -umask 022 -rm -f /usr/%{_lib}/mozilla/components/{compreg,xpti}.dat -if [ -x /usr/bin/regxpcom ]; then - MOZILLA_FIVE_HOME=/usr/%{_lib}/mozilla /usr/bin/regxpcom +if [ -d /usr/%{_lib}/mozilla ]; then + umask 022 + rm -f /usr/%{_lib}/mozilla/components/{compreg,xpti}.dat + if [ -x /usr/bin/regxpcom ]; then + MOZILLA_FIVE_HOME=/usr/%{_lib}/mozilla /usr/bin/regxpcom + fi fi %triggerin -- konqueror -- 2.44.0