1 |
|
### RPM configuration cern 1.0 |
2 |
|
# Example file for site specific configurations. |
3 |
< |
|
4 |
< |
Source: none |
3 |
> |
%define sitename %n |
4 |
> |
%define cvstag HEAD |
5 |
> |
Source: cvs://:pserver:anonymous@cmscvs.cern.ch:2401/cvs_server/repositories/CMSSW?passwd=AA_:yZZ3e&module=COMP/SITECONFIG/%{sitename}&export=SITECONFIG&tag=-r%{cvstag}&output=/SITECONFIG.tar.gz |
6 |
|
|
7 |
|
%prep |
8 |
|
%build |
9 |
|
%install |
10 |
|
mkdir -p %instroot/SITECONFIG/%n |
11 |
|
|
12 |
+ |
cp %{_sourcedir}/SITECONFIG/%{sitename}/... %{instroot}/SITECONFIG/%n/site-local.xml |
13 |
+ |
cp %{_sourcedir}/SITECONFIG/%{sitename}/... %{instroot}/SITECONFIG/%n/storage.xml |
14 |
+ |
|
15 |
|
cat << \EOF_SITE_LOCAL_XML > %{instroot}/SITECONFIG/%n/site-local.xml |
16 |
|
Site local contents here. |
17 |
|
EOF_SITE_LOCAL_XML |