packages: adobe-flash/adobe-flash.spec - simplify version check for matchin...

glen glen at pld-linux.org
Sun Sep 26 12:46:40 CEST 2010


Author: glen                         Date: Sun Sep 26 10:46:40 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- simplify version check for matching newer versions

---- Files affected:
packages/adobe-flash:
   adobe-flash.spec (1.140 -> 1.141) 

---- Diffs:

================================================================
Index: packages/adobe-flash/adobe-flash.spec
diff -u packages/adobe-flash/adobe-flash.spec:1.140 packages/adobe-flash/adobe-flash.spec:1.141
--- packages/adobe-flash/adobe-flash.spec:1.140	Thu Sep 16 21:41:18 2010
+++ packages/adobe-flash/adobe-flash.spec	Sun Sep 26 12:46:34 2010
@@ -92,7 +92,7 @@
 
 %build
 s='LNX %{ver_major},%{ver_minor},%{ver_patch},%{ver_serial}'
-v=$(strings libflashplayer.so | grep "$s")
+v=$(strings libflashplayer.so | grep '^LNX ')
 if [ "$v" != "$s" ]; then
 	: wrong version
 	exit 1
@@ -161,6 +161,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.141  2010/09/26 10:46:34  glen
+- simplify version check for matching newer versions
+
 Revision 1.140  2010/09/16 19:41:18  lmasko
 - Also up to 10.2.161.22 for 32bit version
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/adobe-flash/adobe-flash.spec?r1=1.140&r2=1.141&f=u



More information about the pld-cvs-commit mailing list