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.68 by eulisse, Sun Jul 29 17:44:45 2007 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines