SPECS: macromedia-flash.spec - add version check, as url without v...
glen
glen at pld-linux.org
Sat Sep 16 13:05:15 CEST 2006
Author: glen Date: Sat Sep 16 11:05:15 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- add version check, as url without version you could fetch cache copy of old version
- should restore the versioned url, really
---- Files affected:
SPECS:
macromedia-flash.spec (1.53 -> 1.54)
---- Diffs:
================================================================
Index: SPECS/macromedia-flash.spec
diff -u SPECS/macromedia-flash.spec:1.53 SPECS/macromedia-flash.spec:1.54
--- SPECS/macromedia-flash.spec:1.53 Sat Sep 16 10:48:37 2006
+++ SPECS/macromedia-flash.spec Sat Sep 16 13:05:09 2006
@@ -26,7 +26,7 @@
%else
Source0: license-installer.sh
%endif
-URL: http://www.macromedia.com/software/flashplayer/
+URL: http://www.adobe.com/products/flashplayer/
%if %{with license_agreement}
BuildRequires: rpmbuild(macros) >= 1.236
Requires: browser-plugins(%{_target_base_arch})
@@ -59,6 +59,11 @@
%prep
%if %{with license_agreement}
%setup -q -n install_flash_player_7_linux
+ver=$(awk '/^Version/{print $2}' Readme.txt)
+if [ "$ver" != %{version} ]; then
+ : This tarball is not version %{version}. Source mentions version $ver. Something wrong
+ exit 1
+fi
%endif
%install
@@ -153,6 +158,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.54 2006/09/16 11:05:09 glen
+- add version check, as url without version you could fetch cache copy of old version
+- should restore the versioned url, really
+
Revision 1.53 2006/09/16 08:48:37 paszczus
- updated to 7.0.68 (fixes several security vulnerabilities as reported in Adobe Vulnerability APSB06-11)
- changed Source0 URL
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/macromedia-flash.spec?r1=1.53&r2=1.54&f=u
More information about the pld-cvs-commit
mailing list