packages: adobe-flash/adobe-flash.spec - version check

glen glen at pld-linux.org
Fri Jul 31 13:25:39 CEST 2009


Author: glen                         Date: Fri Jul 31 11:25:39 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- version check

---- Files affected:
packages/adobe-flash:
   adobe-flash.spec (1.122 -> 1.123) 

---- Diffs:

================================================================
Index: packages/adobe-flash/adobe-flash.spec
diff -u packages/adobe-flash/adobe-flash.spec:1.122 packages/adobe-flash/adobe-flash.spec:1.123
--- packages/adobe-flash/adobe-flash.spec:1.122	Fri Jul 31 13:22:21 2009
+++ packages/adobe-flash/adobe-flash.spec	Fri Jul 31 13:25:34 2009
@@ -80,6 +80,14 @@
 %else
 %setup -q -T -c -b 0
 %endif
+
+%build
+s='LNX %{ver_major},%{ver_minor},%{ver_patch},%{ver_serial}'
+v=$(strings libflashplayer.so | grep "$s")
+if [ "$v" != "$s" ]; then
+	: wrong version
+	exit 1
+fi
 %endif
 
 %install
@@ -143,6 +151,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.123  2009/07/31 11:25:34  glen
+- version check
+
 Revision 1.122  2009/07/31 11:22:21  glen
 - fix 32bit package
 
================================================================

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



More information about the pld-cvs-commit mailing list