]> git.pld-linux.org Git - packages/adobe-flash.git/commitdiff
- split version to major and minor vers
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 24 Aug 2005 11:35:04 +0000 (11:35 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- macros not needed for installer package

Changed files:
    adobe-flash.spec -> 1.36

adobe-flash.spec

index 391c555e82cf1d120c7cd8326b0b4062f518c717..5d0b9b3533207f8843824692f2b2559a7ff2e7db 100644 (file)
@@ -1,7 +1,9 @@
-#
 # Conditional build:
 %bcond_with    license_agreement       # generates package
-#
+
+%define                _ver_major      7
+%define                _ver_minor      0
+%define                _ver_patch      25
 Summary:       Flash plugin for Netscape-compatible WWW browsers
 Summary(pl):   Wtyczka Flash dla przegl±darek WWW zgodnych z Netscape
 %define                base_name       macromedia-flash
@@ -10,18 +12,20 @@ Name:               %{base_name}
 %else
 Name:          %{base_name}-installer
 %endif
-Version:       7.0r25
-Release:       2.26%{?with_license_agreement:wla}
+Version:       %{_ver_major}.%{_ver_minor}.%{_ver_patch}
+Release:       2.29%{?with_license_agreement:wla}
 License:       Free to use, non-distributable
 Group:         X11/Applications/Multimedia
 %if %{with license_agreement}
-Source0:       http://fpdownload.macromedia.com/get/shockwave/flash/english/linux/%{version}/install_flash_player_7_linux.tar.gz
+Source0:       http://fpdownload.macromedia.com/get/shockwave/flash/english/linux/%{_ver_major}.%{_ver_minor}r%{_ver_patch}/install_flash_player_%{_ver_major}_linux.tar.gz
 # NoSource0-md5:       79c59a5ea29347e01c8e6575dd054cd1
 %else
 Source0:       license-installer.sh
 %endif
 URL:           http://www.macromedia.com/software/flashplayer/
+%if %{with license_agreement}
 BuildRequires: rpmbuild(macros) >= 1.235
+%endif
 Requires:      browser-plugins(%{_target_cpu})
 %if %{without license_agreement}
 Requires:      cpio
This page took 0.412637 seconds and 4 git commands to generate.