CVS Update: (clem) rocks/src/roll/perl/src/cpan-support

3 views
Skip to first unread message

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

unread,
Jan 31, 2013, 8:06:56 PM1/31/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/01/31 17:06:56

Modified: src/roll/perl/src/cpan-support modules.bootstrap
Log:
I need a couple of extra module to boostrap the cpan perl

Revision Changes Path
1.3 +2 -0 rocks/src/roll/perl/src/cpan-support/modules.bootstrap

Index: modules.bootstrap
===================================================================
RCS file: /home/cvs/CVSROOT/rocks/src/roll/perl/src/cpan-support/modules.bootstrap,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -t -w -r1.2 -r1.3
--- modules.bootstrap 25 Apr 2012 02:05:01 -0000 1.2
+++ modules.bootstrap 1 Feb 2013 01:06:56 -0000 1.3
@@ -1,4 +1,6 @@
ExtUtils::MakeMaker
+MRO::Compat
+Sub::Exporter
Data::Section
Module::Signature
YAML




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

unread,
Feb 4, 2013, 6:07:35 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 15:07:35

Added: src/roll/perl/src/cpan-support version.mk
Log:
adding release version to the cpan-support rpms

Revision Changes Path
1.1 rocks/src/roll/perl/src/cpan-support/version.mk

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




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

unread,
Feb 4, 2013, 8:17:12 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:17:12

Modified: src/roll/perl/src/cpan-support Makefile
Log:
fix make clean so it doesnt wipe version.mk

Revision Changes Path
1.9 +21 -2 rocks/src/roll/perl/src/cpan-support/Makefile

Index: Makefile
===================================================================
RCS file: /home/cvs/CVSROOT/rocks/src/roll/perl/src/cpan-support/Makefile,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -t -w -r1.8 -r1.9
--- Makefile 27 Nov 2012 00:49:11 -0000 1.8
+++ Makefile 5 Feb 2013 01:17:12 -0000 1.9
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.8 2012/11/27 00:49:11 phil Exp $
+# $Id: Makefile,v 1.9 2013/02/05 01:17:12 clem Exp $

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

# $Log: Makefile,v $
+# Revision 1.9 2013/02/05 01:17:12 clem
+# fix make clean so it doesnt wipe version.mk
+#
# Revision 1.8 2012/11/27 00:49:11 phil
# Copyright Storm for Emerald Boa
#
@@ -117,6 +120,19 @@
include Rules.mk
include $(REDHAT.ROOT)/Rules-perl.mk

+
+
+
+#
+# You can use now RocksReleaseVersion to set the release version of the RPMs
+# builded by cpan see below..
+#
+ifdef RELEASE
+RocksReleaseVersion = $(RELEASE)
+endif
+
+SEPARATOR = -------------------------------------------------------------
+
# Target to install all the required CPAN modules
# for CPANPLUS::Dist::Rocks to function correctly
# on a vanilla system
@@ -138,11 +154,13 @@
install::
cp modules.ignore modules.ignore.tmp
cat modules.build | while read line; do \
+ echo $(SEPARATOR) building $$line $(SEPARATOR);\
/opt/perl/bin/cpan2dist --format CPANPLUS::Dist::Rocks \
--ignorelist modules.ignore.tmp --buildprereq --force \
--install --verbose $$line < /dev/null; \
( find . -type f -name \*.rpm \
- -exec rpm -qp --provides {} \; \
+ -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 | \
@@ -169,6 +187,7 @@
find * -prune ! -name CVS \
! -name Makefile -a \
! -name modules.build -a\
+ ! -name version.mk -a\
! -name modules.bootstrap\
-exec rm -rf {} \;
-rm -rf .gnupg




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/perl/src/cpan-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.10 +5 -2 rocks/src/roll/perl/src/cpan-support/Makefile

Index: Makefile
===================================================================
RCS file: /home/cvs/CVSROOT/rocks/src/roll/perl/src/cpan-support/Makefile,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -t -w -r1.9 -r1.10
--- Makefile 5 Feb 2013 01:17:12 -0000 1.9
+++ Makefile 5 Feb 2013 18:29:56 -0000 1.10
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.9 2013/02/05 01:17:12 clem Exp $
+# $Id: Makefile,v 1.10 2013/02/05 18:29:56 clem Exp $

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

# $Log: Makefile,v $
+# Revision 1.10 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.9 2013/02/05 01:17:12 clem
# fix make clean so it doesnt wipe version.mk
#
@@ -128,7 +134,7 @@
# builded by cpan see below..
#
ifdef RELEASE
-RocksReleaseVersion = $(RELEASE)
+export RocksReleaseVersion = $(RELEASE)
endif

SEPARATOR = -------------------------------------------------------------




Reply all
Reply to author
Forward
0 new messages