changes to get enrpm working
[freeside.git] / rpm / build / BOOTSTRAP
index 6fdc196..6ddf5b5 100644 (file)
@@ -58,8 +58,6 @@ mkdir redhat/SRPMS
 chown -R ivan:ivan redhat
 
 vi ~/.rpmmacros
-%_topdir /home/ivan/redhat
-%_signature gpg
 %_gpg_path /home/ivan/.gnupg
 %_gpg_name Freeside Internet Services, Inc. RPM Signing Key
 
@@ -106,8 +104,40 @@ cvs checkout -rFREESIDE_1_7_BRANCH -d freeside-1.7 freeside
 # yet more
 ###
 
+cp -i /var/lib/vservers/centos5/etc/yum.repos.d/CentOS-Base.repo /etc/yum/repos.d/
+#and s/$releasever/5/g;
+
 cp expect-* /usr/local/bin/
 #edit them and set your real passphrase for the gpg key you're using
+#(as per that dir above)
+
+###
+# and the repository
+###
+
+cd
+mkdir -p public_html/repo/centos/5/freeside-1.7/testing/x86_64/
+mkdir public_html/repo/centos/5/freeside-1.7/testing/i686
+
+###
+# and for enrpm!
+###
+
+vserver centos5 enter
+yum install perl-libwww-perl make
+cpan
+install RPM::Specfile
+#if it fails, might need to go to /root/.cpan/build/RPM-Specfile-* and do it manually
+install YAML
+
+#for user cpan-ability
+mkdir .cpan
+mkdir .cpan/CPAN
+cp /usr/lib/perl5/5.8.8/CPAN/Config.pm  .cpan/CPAN/MyConfig.pm
+vi .cpan/CPAN/MyConfig.pm #and just leave and change the /root ones
+chmod a+rx .cpan/CPAN/MyConfig.pm
+
+#edit ovid2flue and set user
 
 ###
 # references