ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/srmcp.spec
(Generate patch)

Comparing COMP/CMSDIST/srmcp.spec (file contents):
Revision 1.1 by eulisse, Thu May 4 17:15:15 2006 UTC vs.
Revision 1.3 by mballint, Thu Sep 7 22:01:16 2006 UTC

# Line 5 | Line 5
5  
6   %define downloadv %(echo %v | tr . _)
7   Source: https://srm.fnal.gov/twiki/pub/SrmProject/SrmcpClient/%{n}_v%{downloadv}_NULL.tar
8 + Requires: java-jdk
9  
10   %prep
11   %setup -n srmclient
# Line 16 | Line 17 | unset SRM_PATH SRM_CONFIG || true
17   if [ ! -f $HOME/.srmconfig/config.xml ]; then
18    mkdir -p %i/etc $HOME/.srmconfig
19    SRM_PATH=%i/srmclient %i/srmclient/sbin/srm \
20 <    -copy file:///dev/null file:///dev/null > /dev/null 2>&1 || true
20 >    -copy file:////dev/null file:////dev/null > /dev/null 2>&1 || true
21    [ -f $HOME/.srmconfig/config.xml ]
22   fi
23  
# Line 25 | Line 26 | cp -p $HOME/.srmconfig/config.xml %i/etc
26   perl -p -i -e "s|$HOME|%i|" %i/etc/config.xml
27  
28   %post
29 < %{relocateConfig}.srmconfig/config.xml
29 > %{relocateConfig}etc/config.xml

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines