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.49 by eulisse, Thu Jul 12 10:05:50 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 188 | Line 188 | cat %_sourcedir/bootstrap | perl -p -e "
188                                          s!\@INSTROOT\@!%{instroot}!g;
189                                          " > %{i}/bin/bootstrap-%{cmsplatf}.sh
190  
191 < cat %_sourcedir/cms-apt-migration | perl -p -i -e "s!\@CMSPLATF\@!%{cmsplatf}!g;
191 > cat %_sourcedir/cms-apt-migration | perl -p -e "s!\@CMSPLATF\@!%{cmsplatf}!g;
192                                          s!\@GCC_VERSION\@!$GCC_VERSION!g;
193                                          s!\@RPM_VERSION\@!$RPM_VERSION!g;
194                                          s!\@DB4_VERSION\@!$DB4_VERSION!g;
# Line 213 | Line 213 | cat %_sourcedir/cms-apt-migration | perl
213                                          s!\@ELFUTILS_REVISION\@!$ELFUTILS_REVISION!g;
214                                          s!\@APT_VERSION\@!%{v}!g;
215                                          s!\@APT_REVISION\@!%{pkgrevision}!g;
216 <                                        s!\@INSTROOT\@!%{instroot}!g;" %{i}/bin/cms-apt-migration-%{cmsplatf}.sh
216 >                                        s!\@INSTROOT\@!%{instroot}!g;" > %{i}/bin/cms-apt-migration-%{cmsplatf}.sh
217  
218   %post
219   mkdir -p $RPM_INSTALL_PREFIX/%{cmsplatf}/var/lib/apt/lists/partial

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines