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

Comparing COMP/CMSDIST/apt.spec (file contents):
Revision 1.73 by elmer, Thu Nov 22 22:44:31 2007 UTC vs.
Revision 1.75 by eulisse, Mon Nov 26 16:01:24 2007 UTC

# Line 3 | Line 3
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
# Line 132 | Line 130 | rpm http://cmsrep.cern.ch cms/cpt/Softwa
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
# Line 175 | Line 173 | EOF_BIN_RPM
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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines