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.51 by eulisse, Thu Jul 12 13:56:05 2007 UTC vs.
Revision 1.67 by eulisse, Fri Jul 27 09:39:48 2007 UTC

# Line 8 | Line 8 | Requires: libxml2 beecrypt rpm zlib bz2l
8   Patch0: apt-rpm449
9   Patch1: apt-rpm446
10   Patch2: apt
11 <
11 > Patch3: apt-multiarch
12   %if "%(echo %{cmsos} | cut -d_ -f 2 | sed -e 's|.*64.*|64|')" == "64"
13   %define libdir lib64
14   %else
15   %define libdir lib
16   %endif
17  
18
18   %prep
19   %setup -n %n-%{realversion}
20   case $RPM_VERSION in
# Line 32 | Line 31 | esac
31   %patch2 -p1
32   %endif
33  
34 + %patch3 -p1
35 +
36   %build
37   export CFLAGS="-O0 -g"
38   export CXXFLAGS="-O0 -g"
# Line 121 | Line 122 | rpm http://cmsrep.cern.ch cms/cpt/Softwa
122   rpm-src http://cmsrep.cern.ch cms/cpt/Software/download/cms/apt/%{cmsplatf} cms lcg external
123   # This are defined to support experimental repositories. The bootstrap file rewrites and uncomments
124   # them when passed the appropriate commandline option.
125 < ## rpm @SERVER@ @SERVER_PATH@/@REPOSITORY@/apt/%{cmsplatf} @GROUPS@  
126 < ## rpm-src @SERVER@ @SERVER_PATH@/@REPOSITORY@/apt/%{cmsplatf} @GROUPS@
125 > ##rpm http://@SERVER@ @SERVER_PATH@@REPOSITORY@/apt/%{cmsplatf} @GROUPS@  
126 > ##rpm-src http://@SERVER@ @SERVER_PATH@@REPOSITORY@/apt/%{cmsplatf} @GROUPS@
127   EOF_SOURCES_LIST
128  
129   cat << \EOF_RPMPRIORITIES > %{i}/etc/rpmpriorities
# Line 215 | Line 216 | cat %_sourcedir/cms-apt-migration | perl
216                                          s!\@APT_REVISION\@!%{pkgrevision}!g;
217                                          s!\@INSTROOT\@!%{instroot}!g;" > %{i}/bin/cms-apt-migration-%{cmsplatf}.sh
218  
218
219   %post
220   mkdir -p $RPM_INSTALL_PREFIX/%{cmsplatf}/var/lib/apt/lists/partial
221   mkdir -p $RPM_INSTALL_PREFIX/%{cmsplatf}/var/lib/rpm

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines