[packages/phantomjs/dev-2.1] update md5 on patch update

glen glen at pld-linux.org
Wed Mar 23 07:40:02 CET 2016


commit 69dd6773d624915098a8723d30258340def5817a
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed Mar 23 08:38:09 2016 +0200

    update md5 on patch update

 get-source.sh  | 12 ++++++++++--
 phantomjs.spec |  4 ++--
 2 files changed, 12 insertions(+), 4 deletions(-)
---
diff --git a/phantomjs.spec b/phantomjs.spec
index fcda29b..a2b8bd2 100644
--- a/phantomjs.spec
+++ b/phantomjs.spec
@@ -26,9 +26,9 @@ Patch6:		0006-unbundle-linenoise.patch
 Patch7:		0007-unbundle-QCommandLine.patch
 # See get-source.sh how to generate these diffs
 Patch101:	qtbase.diff.xz
-# Source3-md5:	22aeb09eb6df5d0ec768dcc96edb92bf
+# Patch101-md5:	8e8fb4b12c672ecd128fbcf1fccd964b
 Patch102:	qtwebkit.diff.xz
-# Source4-md5:	1e3672f5ec02c6fbb1aaa22ab568c68f
+# Patch102-md5:	ab3a7372ea3f7bb6326e666ffad7acda
 URL:		http://phantomjs.org/
 BuildRequires:	Qt5PrintSupport-devel
 BuildRequires:	Qt5WebKit-devel
diff --git a/get-source.sh b/get-source.sh
index 0956397..7ee1c60 100755
--- a/get-source.sh
+++ b/get-source.sh
@@ -4,8 +4,7 @@
 # Author: Elan Ruusamäe <glen at pld-linux.org>
 set -e
 
-packages='qtbase qtwebkit'
-branch=5.5
+specfile=phantomjs.spec
 qt_base=git://code.qt.io/qt
 phantom_base=https://github.com/Vitallium
 tag=v5.5.1
@@ -61,6 +60,14 @@ dropin() {
 	$dropin "$@"
 }
 
+md5() {
+	local builder=./builder
+	test -x $builder || builder=../builder
+	test -x $builder || builder=$(which builder 2>/dev/null)
+	test -x $builder || return
+	$builder -ncs -5 "$@"
+}
+
 get_package() {
 	local package=$1 ref=$2
 	echo >&2 ">> $package $tag..$ref"
@@ -76,3 +83,4 @@ get_package() {
 
 get_package qtbase $phantom_qtbase
 get_package qtwebkit $phantom_qtwebkit
+md5 $specfile
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/phantomjs.git/commitdiff/69dd6773d624915098a8723d30258340def5817a



More information about the pld-cvs-commit mailing list