rpms/nspluginwrapper/devel nspluginwrapper.spec,1.10,1.11

Martin Stransky (stransky) fedora-extras-commits at redhat.com
Mon Aug 13 09:23:16 UTC 2007


Author: stransky

Update of /cvs/pkgs/rpms/nspluginwrapper/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10643

Modified Files:
	nspluginwrapper.spec 
Log Message:
some minor spec fixes


Index: nspluginwrapper.spec
===================================================================
RCS file: /cvs/pkgs/rpms/nspluginwrapper/devel/nspluginwrapper.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- nspluginwrapper.spec	10 Aug 2007 16:35:57 -0000	1.10
+++ nspluginwrapper.spec	13 Aug 2007 09:22:44 -0000	1.11
@@ -1,12 +1,13 @@
 # To determine the current gecko-devel version:
 # rpm -q --provides firefox-devel | grep gecko-devel
+# NOTE: it's used only if the package is compiled with xpcom_support = 1
 %define gecko_ver 1.8.1.6
 
 %define plugin_config_version 1.5
 %define plugin_config_name plugin-config-%{plugin_config_version}
 %define plugin_config_binary plugin-config
 
-# Compile with XPCOM support
+# Compile with XPCOM support?
 %define xpcom_support 		0
 
 # Compile as a debug package?
@@ -28,6 +29,10 @@
 %define target_bits	64
 %endif
 
+%if "%{_target_cpu}" == "ppc64"
+%define target_bits	64
+%endif
+
 # Define libraries for 32/64 arches
 %define lib32			lib
 %define lib64			lib64
@@ -94,7 +99,7 @@
 This package consists in:
   * npviewer: the plugin viewer
   * npwrapper.so: the browser-side plugin
-  * nspluginwrapper: a tool to manage plugins installation and update
+  * mozilla-plugin-config: a tool to manage plugins installation and update
 
 %prep
 %setup  -q -a 1
@@ -191,7 +196,7 @@
 rm -rf $RPM_BUILD_ROOT
 
 %post
-/usr/bin/mozilla-plugin-config
+/usr/bin/mozilla-plugin-config -i -f > /dev/null 2>&1
 
 %preun
 /usr/bin/mozilla-plugin-config -r > /dev/null 2>&1




More information about the fedora-extras-commits mailing list