packages: xulrunner/xulrunner.spec - --register-global
glen
glen at pld-linux.org
Mon Aug 10 22:22:38 CEST 2009
Author: glen Date: Mon Aug 10 20:22:38 2009 GMT
Module: packages Tag: HEAD
---- Log message:
- --register-global
---- Files affected:
packages/xulrunner:
xulrunner.spec (1.109 -> 1.110)
---- Diffs:
================================================================
Index: packages/xulrunner/xulrunner.spec
diff -u packages/xulrunner/xulrunner.spec:1.109 packages/xulrunner/xulrunner.spec:1.110
--- packages/xulrunner/xulrunner.spec:1.109 Wed Aug 5 19:46:04 2009
+++ packages/xulrunner/xulrunner.spec Mon Aug 10 22:22:33 2009
@@ -301,9 +301,11 @@
# files created by regxpcom
touch $RPM_BUILD_ROOT%{_libdir}/%{name}/components/compreg.dat
touch $RPM_BUILD_ROOT%{_libdir}/%{name}/components/xpti.dat
-
install dist/bin/regxpcom $RPM_BUILD_ROOT%{_libdir}/%{name}
+# created by --register-glibal
+touch $RPM_BUILD_ROOT%{_sysconfdir}/gre.d/%{version}.conf
+
%{__make} -C build/unix install \
DESTDIR=$RPM_BUILD_ROOT
@@ -320,10 +322,14 @@
%post
%update_browser_plugins
+umask 022
+xulrunner --register-global
%postun
if [ "$1" = 0 ]; then
%update_browser_plugins
+ umask 022
+ xulrunner --unregister-global
fi
%post libs -p /sbin/ldconfig
@@ -334,7 +340,10 @@
%attr(755,root,root) %{_bindir}/xulrunner
%attr(755,root,root) %{_libdir}/%{name}/xulrunner-bin
+%dir %{_sysconfdir}/gre.d
%{_sysconfdir}/gre.d
+%ghost %{_sysconfdir}/gre.d/%{version}.conf
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/gre.d/%{version}.system.conf
# symlinks
%{_libdir}/%{name}/chrome
@@ -532,6 +541,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.110 2009/08/10 20:22:33 glen
+- --register-global
+
Revision 1.109 2009/08/05 17:46:04 glen
- junk removal
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/xulrunner/xulrunner.spec?r1=1.109&r2=1.110&f=u
More information about the pld-cvs-commit
mailing list