]> git.pld-linux.org Git - packages/google-chrome.git/commitdiff
- include buildid in release\ 2; buildid 33928
authorElan Ruusamäe <glen@pld-linux.org>
Sun, 13 Dec 2009 12:07:57 +0000 (12:07 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    google-chrome.spec -> 1.3

google-chrome.spec

index 19636c23be307b662f06c9f8a41962e5ac82fce4..43c2943db73551b05b9cbd7edb9709a158daf45d 100644 (file)
@@ -1,13 +1,15 @@
+%define                buildid 33928
+%define                rel             1
 Summary:       Google Chrome
 Name:          google-chrome
 Version:       4.0.249.30
-Release:       0.1
+Release:       0.%{buildid}.%{rel}
 License:       Multiple, see http://chrome.google.com/
 Group:         Applications/Networking
 Source0:       http://dl.google.com/linux/direct/%{name}-beta_current_i386.rpm
-# Source0-md5: bf85e5d8d366fbe06606ab7bb5dadeac
+# Source0-md5: 858739adc287809386249cdf492e53f9
 Source1:       http://dl.google.com/linux/direct/%{name}-beta_current_x86_64.rpm
-# Source1-md5: 7e04f041372489e5249ccb7f9b661186
+# Source1-md5: 242f9b0bca48628544205b69230be422
 Source2:       %{name}.sh
 Source4:       find-lang.sh
 URL:           http://chrome.google.com/
@@ -45,12 +47,19 @@ sophisticated technology to make the web faster, safer, and easier.
 %prep
 %setup -qcT
 %ifarch %{ix86}
-rpm2cpio %{SOURCE0} | cpio -i -d
+SOURCE=%{S:0}
 %endif
 %ifarch %{x8664}
-rpm2cpio %{SOURCE1} | cpio -i -d
+SOURCE=%{S:1}
 %endif
 
+V=$(rpm -qp --qf '%{V}' $SOURCE)
+R=$(rpm -qp --qf '%{R}' $SOURCE)
+if [ version:$V != version:%{version} -o buildid:$R != buildid:%{buildid} ]; then
+       exit 1
+fi
+rpm2cpio $SOURCE | cpio -i -d
+
 mv opt/google/chrome .
 mv usr/share/man/man1/* .
 mv usr/share/gnome-control-center/default-apps .
This page took 0.032869 seconds and 4 git commands to generate.