1 |
< |
### RPM external apt 0.5.15lorg3.2-CMS18 |
1 |
> |
### RPM external apt 0.5.15lorg3.2-CMS18c |
2 |
|
## INITENV SET APT_CONFIG %{i}/etc/apt.conf |
3 |
|
Source: http://apt-rpm.org/releases/%n-%realversion.tar.bz2 |
4 |
|
Source1: bootstrap |
5 |
|
|
6 |
< |
%define requires libxml2 beecrypt rpm zlib bz2lib openssl |
7 |
< |
|
8 |
< |
%if "%(echo %{cmsos} | sed -e 's|slc.online_.*|online|')" == "online" |
9 |
< |
%define requires libxml2 beecrypt rpm bz2lib |
6 |
> |
%if "%{?online_release:set}" != "set" |
7 |
> |
Requires: libxml2 beecrypt rpm zlib bz2lib openssl |
8 |
> |
%else |
9 |
> |
Requires: libxml2 beecrypt rpm bz2lib |
10 |
|
%endif |
11 |
|
|
12 |
– |
Requires: %requires |
13 |
– |
|
12 |
|
Patch0: apt-rpm449 |
13 |
|
Patch1: apt-rpm446 |
14 |
|
Patch2: apt |
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 |
178 |
– |
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 |