130 |
|
rpm-src http://cmsrep.cern.ch cms/cpt/Software/download/cms/apt/%{cmsplatf} cms lcg external |
131 |
|
# This are defined to support experimental repositories. The bootstrap file rewrites and uncomments |
132 |
|
# them when passed the appropriate commandline option. |
133 |
< |
##rpm http://@SERVER@ @SERVER_PATH@@REPOSITORY@/apt/%{cmsplatf} @GROUPS@ |
134 |
< |
##rpm-src http://@SERVER@ @SERVER_PATH@@REPOSITORY@/apt/%{cmsplatf} @GROUPS@ |
133 |
> |
#;rpm http://@SERVER@ @SERVER_PATH@@REPOSITORY@/apt/%{cmsplatf} @GROUPS@ |
134 |
> |
#;rpm-src http://@SERVER@ @SERVER_PATH@@REPOSITORY@/apt/%{cmsplatf} @GROUPS@ |
135 |
|
EOF_SOURCES_LIST |
136 |
|
|
137 |
|
cat << \EOF_RPMPRIORITIES > %{i}/etc/rpmpriorities |
173 |
|
chmod +x %{i}/bin/rpm-wrapper |
174 |
|
|
175 |
|
%post |
176 |
– |
ln -sf %{v} $RPM_INSTALL_PREFIX/%{cmsplatf}/external/apt/latest |
176 |
|
mkdir -p $RPM_INSTALL_PREFIX/%{cmsplatf}/var/lib/apt/lists/partial |
177 |
|
mkdir -p $RPM_INSTALL_PREFIX/%{cmsplatf}/var/lib/rpm |
178 |
|
mkdir -p $RPM_INSTALL_PREFIX/%{cmsplatf}/var/lib/cache/%{cmsplatf}/partial |