rpms/xulrunner/devel xulrunner.spec,1.30,1.31

Martin Stransky (stransky) fedora-extras-commits at redhat.com
Tue Nov 27 14:41:33 UTC 2007


Author: stransky

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

Modified Files:
	xulrunner.spec 
Log Message:
export /etc/gre.d/gre.conf (it's used by python gecko applications)


Index: xulrunner.spec
===================================================================
RCS file: /cvs/pkgs/rpms/xulrunner/devel/xulrunner.spec,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- xulrunner.spec	26 Nov 2007 15:27:12 -0000	1.30
+++ xulrunner.spec	27 Nov 2007 14:41:00 -0000	1.31
@@ -11,7 +11,7 @@
 Summary:        XUL Runtime for Gecko Applications
 Name:           xulrunner
 Version:        1.9
-Release:        0.beta1.2%{?dist}
+Release:        0.beta1.3%{?dist}
 URL:            http://www.mozilla.org/projects/xulrunner/
 License:        MPLv1.1 or GPLv2+ or LGPLv2+
 Group:          Applications/Internet
@@ -259,17 +259,18 @@
 %endif
 
 # GRE stuff
-#%ifarch x86_64 ia64 ppc64 s390x
-#%define gre_conf_file gre64.conf
-#%else
-#%define gre_conf_file gre.conf
-#%endif
-
-#%{__mkdir_p} $RPM_BUILD_ROOT/etc/gre.d/
-#%{__cat} > $RPM_BUILD_ROOT/etc/gre.d/%{gre_conf_file} << EOF
-#[%{version}]
-#GRE_PATH=${MOZ_APP_DIR}
-#EOF
+%ifarch x86_64 ia64 ppc64 s390x
+%define gre_conf_file gre64.conf
+%else
+%define gre_conf_file gre.conf
+%endif
+
+%{__rm} -rf $RPM_BUILD_ROOT/etc/gre.d
+%{__mkdir_p} $RPM_BUILD_ROOT/etc/gre.d/
+%{__cat} > $RPM_BUILD_ROOT/etc/gre.d/%{gre_conf_file} << EOF
+[%{version}]
+GRE_PATH=${MOZ_APP_DIR}
+EOF
 
 # Library path
 %{__mkdir_p} $RPM_BUILD_ROOT/etc/ld.so.conf.d
@@ -291,7 +292,6 @@
 touch $RPM_BUILD_ROOT${MOZ_APP_DIR}/components/xpti.dat
 
 # remove unused files
-rm -rf $RPM_BUILD_ROOT/etc/gre.d
 rm -rf $RPM_BUILD_ROOT${MOZ_APP_DIR}/crashreporter
 rm -rf $RPM_BUILD_ROOT${MOZ_APP_DIR}/crashreporter.ini
 
@@ -332,8 +332,8 @@
 #%exclude %{_bindir}/xulrunner-config
 %{_mandir}/man1/*
 %{_libdir}/mozilla
-#%dir /etc/gre.d
-#/etc/gre.d/%{gre_conf_file}
+%dir /etc/gre.d
+/etc/gre.d/%{gre_conf_file}
 %dir %{_libdir}/%{name}-*
 %{_libdir}/%{name}-*/LICENSE
 %{_libdir}/%{name}-*/README.txt
@@ -384,6 +384,9 @@
 #---------------------------------------------------------------------
 
 %changelog
+* Tue Nov 27 2007 Martin Stransky <stransky at redhat.com> 1.9-0.beta1.3
+- export /etc/gre.d/gre.conf (it's used by python gecko applications)
+
 * Mon Nov 26 2007 Martin Stransky <stransky at redhat.com> 1.9-0.beta1.2
 - added xulrunner/js include dir to xulrunner-js
 




More information about the fedora-extras-commits mailing list