packages: xulrunner/xulrunner.spec - ah, take the opposite view instead of ...

glen glen at pld-linux.org
Wed Oct 28 17:01:05 CET 2009


Author: glen                         Date: Wed Oct 28 16:01:05 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- ah, take the opposite view instead of fighting with df

---- Files affected:
packages/xulrunner:
   xulrunner.spec (1.119 -> 1.120) 

---- Diffs:

================================================================
Index: packages/xulrunner/xulrunner.spec
diff -u packages/xulrunner/xulrunner.spec:1.119 packages/xulrunner/xulrunner.spec:1.120
--- packages/xulrunner/xulrunner.spec:1.119	Wed Oct 28 16:49:28 2009
+++ packages/xulrunner/xulrunner.spec	Wed Oct 28 17:00:59 2009
@@ -7,13 +7,14 @@
 %bcond_with	mozldap		# build with system mozldap
 %bcond_with	qt			# build with qt toolkit
 
-# convert platform for firefox release number: 1.9.1.x -> 3.5.x
-%define		firefox_ver	%(echo %{version} | sed -e 's,^1\.9\.1\.,3.5.,')
+# convert firefox release number to platform version: 3.5.x -> 1.9.1.x
+%define		xulrunner_ver	%(v=%{firefox_version}; echo 1.9.1.${v#3.5.})
+%define		firefox_ver		3.5.4
 
 Summary:	XULRunner - Mozilla Runtime Environment for XUL+XPCOM applications
 Summary(pl.UTF-8):	XULRunner - środowisko uruchomieniowe Mozilli dla aplikacji XUL+XPCOM
 Name:		xulrunner
-Version:	1.9.1.4
+Version:	%{xulrunner_ver}
 Release:	1
 Epoch:		1
 License:	MPL v1.1 or GPL v2+ or LGPL v2.1+
@@ -535,6 +536,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.120  2009/10/28 16:00:59  glen
+- ah, take the opposite view instead of fighting with df
+
 Revision 1.119  2009/10/28 15:49:28  glen
 - ah, be df friendly
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/xulrunner/xulrunner.spec?r1=1.119&r2=1.120&f=u



More information about the pld-cvs-commit mailing list