]> git.pld-linux.org Git - packages/adobe-flash.git/commitdiff
- add version check, as url without version you could fetch cache copy of old version
authorElan Ruusamäe <glen@pld-linux.org>
Sat, 16 Sep 2006 11:05:09 +0000 (11:05 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- should restore the versioned url, really

Changed files:
    adobe-flash.spec -> 1.54

adobe-flash.spec

index 1314a0556a65769cf1ad01ad4c0e03855c00fd11..0a8287f308c7187c1689a3c6ed3211c1986f6a18 100644 (file)
@@ -25,7 +25,7 @@ Source0:      http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_
 %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})
@@ -58,6 +58,11 @@ Obs
 %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
This page took 0.068224 seconds and 4 git commands to generate.