1 |
< |
### RPM external srmcp 1.23 |
1 |
> |
### RPM external srmcp 1.24 |
2 |
|
## INITENV +PATH PATH %i/srmclient/bin |
3 |
|
## INITENV SET SRM_PATH %i/srmclient |
4 |
|
## INITENV SET SRM_CONFIG %i/etc/config.xml |
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 |
8 |
|
|
9 |
|
%prep |
10 |
|
%setup -n srmclient |
23 |
|
mkdir -p %i/etc |
24 |
|
cp -p $HOME/.srmconfig/config.xml %i/etc/config.xml |
25 |
|
perl -p -i -e "s|$HOME|%i|" %i/etc/config.xml |
26 |
+ |
perl -p -i -e "s|%i/.globus/certificates|/etc/grid-security/certificates|" %i/etc/config.xml |
27 |
|
|
28 |
|
%post |
29 |
|
%{relocateConfig}etc/config.xml |