CVS Update: (clem) rocks/src/roll/bio/src/bioperl-support

1 view
Skip to first unread message

c...@rocks-127.sdsc.edu

unread,
Feb 4, 2013, 7:21:43 PM2/4/13
to rocks-clusters-de...@googlegroups.com, anoop.r...@gmail.com, greg....@gmail.com, mason...@gmail.com, philip.pa...@gmail.com, luca.c...@gmail.com
clem 13/02/04 16:21:43

Modified: src/roll/bio/src/bioperl-support Makefile
Log:
do not rebuild the packages we already have built

Revision Changes Path
1.10 +10 -10 rocks/src/roll/bio/src/bioperl-support/Makefile

Index: Makefile
===================================================================
RCS file: /home/cvs/CVSROOT/rocks/src/roll/bio/src/bioperl-support/Makefile,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -t -w -r1.9 -r1.10
--- Makefile 27 Nov 2012 00:48:52 -0000 1.9
+++ Makefile 5 Feb 2013 00:21:43 -0000 1.10
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.9 2012/11/27 00:48:52 phil Exp $
+# $Id: Makefile,v 1.10 2013/02/05 00:21:43 clem Exp $

# @Copyright@
#
@@ -55,6 +55,9 @@
# @Copyright@

# $Log: Makefile,v $
+# Revision 1.10 2013/02/05 00:21:43 clem
+# do not rebuild the packages we already have built
+#
# Revision 1.9 2012/11/27 00:48:52 phil
# Copyright Storm for Emerald Boa
#
@@ -104,15 +107,12 @@
cp modules.ignore modules.ignore.tmp
cat modules.build | while read line; do \
XMLPREFIX=/opt/bio XSLTPREFIX=/opt/bio \
- /opt/perl/bin/cpan2dist \
- --format CPANPLUS::Dist::Rocks \
- --ignorelist modules.ignore.tmp --force \
- --buildprereq --install --verbose \
- $$line < /dev/null; \
- ( find . -type f -name \*.rpm ! \
- -name \*.src.rpm -exec rpm -qp \
- --provides {} \; | grep -E "^perl\(" |\
- sed -r -e 's/^perl\(/^/' \
+ /opt/perl/bin/cpan2dist --format CPANPLUS::Dist::Rocks \
+ --ignorelist modules.ignore.tmp --buildprereq --force \
+ --install --verbose $$line < /dev/null; \
+ ( find . -type f -name \*.rpm ! -name \*.src.rpm \
+ -exec rpm -qlp {} \; |/usr/lib/rpm/find-provides \
+ | grep -E "^perl\(" | sed -r -e 's/^perl\(/^/' \
-e 's/\)[ \t]*(=[ \t]*[.0-9]+)*$$/$$/'\
&& cat modules.ignore ) | sort | uniq \
> modules.ignore.tmp; \




c...@rocks-127.sdsc.edu

unread,
Feb 4, 2013, 7:23:14 PM2/4/13
to rocks-clusters-de...@googlegroups.com, anoop.r...@gmail.com, greg....@gmail.com, mason...@gmail.com, philip.pa...@gmail.com, luca.c...@gmail.com
clem 13/02/04 16:23:14

Modified: src/roll/bio/src/bioperl-support Makefile
Log:
set release number of the rpms built with cpan

Revision Changes Path
1.11 +14 -2 rocks/src/roll/bio/src/bioperl-support/Makefile

Index: Makefile
===================================================================
RCS file: /home/cvs/CVSROOT/rocks/src/roll/bio/src/bioperl-support/Makefile,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -t -w -r1.10 -r1.11
--- Makefile 5 Feb 2013 00:21:43 -0000 1.10
+++ Makefile 5 Feb 2013 00:23:14 -0000 1.11
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.10 2013/02/05 00:21:43 clem Exp $
+# $Id: Makefile,v 1.11 2013/02/05 00:23:14 clem Exp $

# @Copyright@
#
@@ -55,6 +55,9 @@
# @Copyright@

# $Log: Makefile,v $
+# Revision 1.11 2013/02/05 00:23:14 clem
+# set release number of the rpms built with cpan
+#
# Revision 1.10 2013/02/05 00:21:43 clem
# do not rebuild the packages we already have built
#
@@ -92,6 +95,14 @@
-include $(ROCKSROOT)/etc/Rules.mk
include Rules.mk

+#
+# You can use now RocksReleaseVersion to set the release version of the RPMs
+# builded by cpan see below..
+#
+ifdef RELEASE
+RocksReleaseVersion = $(RELEASE)
+endif
+
bootstrap:
cat modules.build | while read line; do \
XMLPREFIX=/opt/bio XSLTPREFIX=/opt/bio \
@@ -133,6 +144,7 @@
find * -prune ! -name Makefile \
-a ! -name modules.build \
-a ! -name modules.ignore \
- -a ! -name custom-sources \
+ -a ! -name answerfile \
+ -a ! -name version.mk \
-a ! -name CVS -exec rm -rf {} \;
-rm -rf .gnupg




c...@rocks-127.sdsc.edu

unread,
Feb 4, 2013, 8:09:51 PM2/4/13
to rocks-clusters-de...@googlegroups.com, anoop.r...@gmail.com, greg....@gmail.com, mason...@gmail.com, philip.pa...@gmail.com, luca.c...@gmail.com
clem 13/02/04 17:09:51

Added: src/roll/bio/src/bioperl-support version.mk
Log:
forgot the version.mk...

Revision Changes Path
1.1 rocks/src/roll/bio/src/bioperl-support/version.mk

Index: version.mk
===================================================================
RELEASE = 2




c...@rocks-127.sdsc.edu

unread,
Feb 5, 2013, 1:29:56 PM2/5/13
to rocks-clusters-de...@googlegroups.com, anoop.r...@gmail.com, greg....@gmail.com, mason...@gmail.com, philip.pa...@gmail.com, luca.c...@gmail.com
clem 13/02/05 10:29:56

Modified: src/roll/bio/src/bioperl-support Makefile
Log:
last fix to properly set the release number

in makefile you need to expicitly export a variable to make it visible to the
subshells

Revision Changes Path
1.12 +5 -2 rocks/src/roll/bio/src/bioperl-support/Makefile

Index: Makefile
===================================================================
RCS file: /home/cvs/CVSROOT/rocks/src/roll/bio/src/bioperl-support/Makefile,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -t -w -r1.11 -r1.12
--- Makefile 5 Feb 2013 00:23:14 -0000 1.11
+++ Makefile 5 Feb 2013 18:29:56 -0000 1.12
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.11 2013/02/05 00:23:14 clem Exp $
+# $Id: Makefile,v 1.12 2013/02/05 18:29:56 clem Exp $

# @Copyright@
#
@@ -55,6 +55,12 @@
# @Copyright@

# $Log: Makefile,v $
+# Revision 1.12 2013/02/05 18:29:56 clem
+# last fix to properly set the release number
+#
+# in makefile you need to expicitly export a variable to make it visible to the
+# subshells
+#
# Revision 1.11 2013/02/05 00:23:14 clem
# set release number of the rpms built with cpan
#
@@ -100,7 +106,7 @@
# builded by cpan see below..
#
ifdef RELEASE
-RocksReleaseVersion = $(RELEASE)
+export RocksReleaseVersion = $(RELEASE)
endif

bootstrap:




Reply all
Reply to author
Forward
0 new messages