8 |
|
Requires: cms-env |
9 |
|
%define moduleName PKGTOOLS |
10 |
|
%define exportName PKGTOOLS |
11 |
< |
%define cvstag V00-02-08 |
11 |
> |
%define cvstag V00-04-02 |
12 |
|
%define cvsserver cvs://:pserver:anonymous@cmscvs.cern.ch:2401/cvs_server/repositories/CMSSW?passwd=AA_:yZZ3e |
13 |
|
Source: %cvsserver&strategy=checkout&module=%{moduleName}&nocache=true&export=%{exportName}&tag=-r%{cvstag}&output=/PKGTOOLS.tar.gz |
14 |
|
|
15 |
+ |
|
16 |
|
%prep |
17 |
|
%setup -n PKGTOOLS |
18 |
|
%build |
27 |
|
%{instroot}/%{cmsplatf}/etc/profile.d/S00pkgtools.sh |
28 |
|
%{instroot}/%{cmsplatf}/etc/profile.d/S00pkgtools.csh |
29 |
|
|
29 |
– |
|
30 |
|
%post |
31 |
|
perl -p -i -e 's|(.*setenv.*)|#$1|' $RPM_INSTALL_PREFIX/%pkgrel/etc/profile.d/init.csh |
32 |
|
perl -p -i -e 's|(.*export.*)|#$1|' $RPM_INSTALL_PREFIX/%pkgrel/etc/profile.d/init.sh |