Skip to Content.
Sympa Menu

perfsonar-dev - perfsonar: r3538 - branches/rpm

Subject: perfsonar development work

List archive

perfsonar: r3538 - branches/rpm


Chronological Thread 
  • From:
  • To:
  • Subject: perfsonar: r3538 - branches/rpm
  • Date: Wed, 19 Mar 2008 08:33:55 -0400

Author: fernandes
Date: 2008-03-19 08:33:54 -0400 (Wed, 19 Mar 2008)
New Revision: 3538

Modified:
branches/rpm/package_maker.pl
Log:
fixed bug in symbolic link creation for rpm packets

Modified: branches/rpm/package_maker.pl
===================================================================
--- branches/rpm/package_maker.pl 2008-03-19 12:31:43 UTC (rev 3537)
+++ branches/rpm/package_maker.pl 2008-03-19 12:33:54 UTC (rev 3538)
@@ -252,7 +252,7 @@
print " exec 1>&6 6>&-\n";
print "\n";
print " cd /home/perfsonar/perfsonar-tomcat/\n";
- print " patch -p0 < perfSONAR-patch.tmp\n";
+ print " patch -p0 < perfSONAR-patch.tmp &> /dev/null\n";
print " rm perfSONAR-patch.tmp\n";
print " fi\n";
print "\n";
@@ -283,7 +283,7 @@
print " exec 1>&6 6>&-\n";
print "\n";
print " cd /home/perfsonar/perfsonar-tomcat/\n";
- print " patch -fp0 < perfSONAR-patch.tmp\n";
+ print " patch -fp0 < perfSONAR-patch.tmp &> /dev/null\n";
print " rm perfSONAR-patch.tmp\n";
print " fi\n";
print "\n";
@@ -317,12 +317,12 @@
print "\%install\n";
print "\n";
print "\%post\n";
- print "ln -s /home/perfsonar/webapps/%{name}-%{version}
/home/perfsonar/webapps/%{name}\n";
- print "chown -R perfsonar:perfsonar /home/perfsonar/webapps\n";
+ print "ln -fns /home/perfsonar/webapps/$serviceName-$serviceVersion
/home/perfsonar/webapps/$serviceName\n";
print "\n";
print "if [ \$1 -eq 1 ]; then\n";
printPostScript();
print "fi\n";
+ print "chown -R perfsonar:perfsonar /home/perfsonar/webapps
/home/perfsonar/perfsonar-tomcat\n";
print "\n";
print "\%postun\n";
print "if [ \$1 -eq 0 ]; then\n";



  • perfsonar: r3538 - branches/rpm, svnlog, 03/19/2008

Archive powered by MHonArc 2.6.16.

Top of Page