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

Comparing COMP/CMSDIST/pkgtools.spec (file contents):
Revision 1.2 by eulisse, Thu Aug 24 12:41:45 2006 UTC vs.
Revision 1.5 by eulisse, Thu Sep 21 17:01:05 2006 UTC

# Line 2 | Line 2
2   ## INITENV ALIAS cmsbuild %{i}/bin/install.sh -spec_dir ./inst-files
3   ## INITENV ALIAS_SH cmsapt eval `%{i}/bin/aptinstaller.sh config -path %{instroot} -sh`
4   ## INITENV ALIAS_CSH cmsapt eval `%{i}/bin/aptinstaller.sh config -path %{instroot} -csh`
5 + ## INITENV ALIAS updateAptRepository %{i}/bin/updateServer.sh
6  
7   # This generates an rpm for aptinstaller, install.sh, etc. etc.
8   Requires: cms-env
9   %define moduleName PKGTOOLS
10   %define exportName PKGTOOLS
11 < %define cvstag V00-01-00
11 > %define cvstag V00-02-07
12   %define cvsserver cvs://:pserver:anonymous@cmscvs.cern.ch:2401/cvs_server/repositories/CMSSW?passwd=AA_:yZZ3e
13 < Source: %cvsserver&module=%{moduleName}&export=%{exportName}&tag=-r%{cvstag}&output=/PKGTOOLS.tar.gz
13 > Source: %cvsserver&strategy=checkout&module=%{moduleName}&nocache=true&export=%{exportName}&tag=-r%{cvstag}&output=/PKGTOOLS.tar.gz
14  
15   %prep
16   %setup -n PKGTOOLS
# Line 25 | Line 26 | ln -sf %{i}/inst-files %{instroot}/inst-
26   %{instroot}/%{cmsplatf}/etc/profile.d/S00pkgtools.sh
27   %{instroot}/%{cmsplatf}/etc/profile.d/S00pkgtools.csh
28  
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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines