fortunes-pl: SPEC/spec-gen - add # Source0-md5:

pawelz pawelz at pld-linux.org
Sat Nov 21 01:11:49 CET 2009


Author: pawelz                       Date: Sat Nov 21 00:11:49 2009 GMT
Module: fortunes-pl                   Tag: HEAD
---- Log message:
- add # Source0-md5:

---- Files affected:
fortunes-pl/SPEC:
   spec-gen (1.39 -> 1.40) 

---- Diffs:

================================================================
Index: fortunes-pl/SPEC/spec-gen
diff -u fortunes-pl/SPEC/spec-gen:1.39 fortunes-pl/SPEC/spec-gen:1.40
--- fortunes-pl/SPEC/spec-gen:1.39	Sat Nov 21 00:52:27 2009
+++ fortunes-pl/SPEC/spec-gen	Sat Nov 21 01:11:44 2009
@@ -101,4 +101,6 @@
 cd SPEC
 tar cf - fortunes-pl-$VERSION | bzip2 > "fortunes-pl-$VERSION.tar.bz2"
 rm -rf fortunes-pl-$VERSION
+MD5=$(md5sum fortunes-pl-$VERSION.tar.bz2 | cut -f1 -d\ )
+sed -i s,@@SOURCEMD5@@,$MD5, $SPEC_NAME
 # TARBALL ##############################################################
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/fortunes-pl/SPEC/spec-gen?r1=1.39&r2=1.40&f=u



More information about the pld-cvs-commit mailing list