packages: gyp/get-source.sh, gyp/gyp.spec - r1014
glen
glen at pld-linux.org
Sat Aug 27 14:02:06 CEST 2011
Author: glen Date: Sat Aug 27 12:02:06 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- r1014
---- Files affected:
packages/gyp:
get-source.sh (1.2 -> 1.3) , gyp.spec (1.10 -> 1.11)
---- Diffs:
================================================================
Index: packages/gyp/get-source.sh
diff -u packages/gyp/get-source.sh:1.2 packages/gyp/get-source.sh:1.3
--- packages/gyp/get-source.sh:1.2 Sat Aug 27 13:59:02 2011
+++ packages/gyp/get-source.sh Sat Aug 27 14:02:00 2011
@@ -2,9 +2,15 @@
p=gyp
svn=http://$p.googlecode.com/svn/trunk
revno=$1
+specfile=$p.spec
set -e
svn co $svn${revno:+@$revno} $p
-tar -cjf $p-$(svnversion $p).tar.bz2 --exclude-vcs $p
-../dropin $p-$(svnversion $p).tar.bz2
+svnrev=$(svnversion $p)
+tar -cjf $p-$svnrev.tar.bz2 --exclude-vcs $p
+../dropin $p-$svnrev.tar.bz2
+
+sed -i -e "
+ s/^\(%define[ \t]\+svnrev[ \t]\+\)[0-9]\+\$/\1$svnrev/
+" $specfile
../md5 $p.spec
================================================================
Index: packages/gyp/gyp.spec
diff -u packages/gyp/gyp.spec:1.10 packages/gyp/gyp.spec:1.11
--- packages/gyp/gyp.spec:1.10 Fri Aug 26 09:08:24 2011
+++ packages/gyp/gyp.spec Sat Aug 27 14:02:00 2011
@@ -3,7 +3,7 @@
# Conditional build:
%bcond_without tests # build without tests
-%define svnrev 1013
+%define svnrev 1014
%define rel 1
Summary: Generate Your Projects
Name: gyp
@@ -13,7 +13,7 @@
Group: Development/Building
# use get-source.sh
Source0: %{name}-%{svnrev}.tar.bz2
-# Source0-md5: 81e8f9727b345e674d2385db5adcfa5d
+# Source0-md5: 466068e52f1e25b6c4ffbc75a1320995
URL: http://code.google.com/p/gyp/
BuildRequires: python-devel
BuildRequires: rpm-pythonprov
@@ -78,6 +78,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.11 2011/08/27 12:02:00 glen
+- r1014
+
Revision 1.10 2011/08/26 07:08:24 glen
- up to svn 1013
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gyp/get-source.sh?r1=1.2&r2=1.3&f=u
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gyp/gyp.spec?r1=1.10&r2=1.11&f=u
More information about the pld-cvs-commit
mailing list