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.37 by eulisse, Mon Jun 25 23:14:31 2007 UTC vs.
Revision 1.41 by eulisse, Tue Jul 3 00:26:43 2007 UTC

# Line 1 | Line 1
1 < ### RPM external apt 0.5.15lorg3.2-wt1
1 > ### RPM external apt 0.5.15lorg3.2-CMS3
2   ## INITENV SET APT_CONFIG %{i}/etc/apt.conf
3  
4   Source:  http://apt-rpm.org/releases/%n-%realversion.tar.bz2
# Line 25 | Line 25 | esac
25   %build
26   export CFLAGS="-O0 -g"
27   export CXXFLAGS="-O0 -g"
28 < export CPPFLAGS="-I$BEECRYPT_ROOT/include -I$RPM_ROOT/include -I$RPM_ROOT/include/rpm"
29 < export LDFLAGS="-L$BEECRYPT_ROOT/%{libdir} -L$RPM_ROOT/%{libdir}"
28 > export CPPFLAGS="-I$BZ2LIB_ROOT/include -I$BEECRYPT_ROOT/include -I$RPM_ROOT/include -I$RPM_ROOT/include/rpm"
29 > export LDFLAGS="-L$BZ2LIB_ROOT/lib -L$BEECRYPT_ROOT/%{libdir} -L$RPM_ROOT/%{libdir}"
30   export LIBDIR="$LIBS"
31   export LIBXML2_CFLAGS="-I$LIBXML2_ROOT/include/libxml2 -I$BEECRYPT_ROOT/include -I$RPM_ROOT/include"
32   export LIBXML2_LIBS="-lxml2 -L$LIBXML2_ROOT/lib -L$BEECRYPT_ROOT/%{libdir} -L$RPM_ROOT/%{libdir}"
# Line 97 | Line 97 | Debug::pkgProblemResolver="1";
97   RPM
98   {
99      PM "external";
100 <    Options { "--define";"_rpmlock_path %{instroot}/%{cmsplatf}/var/lib/rpm/lock";"--dbpath";"%{instroot}/var/lib/rpm";"--nodeps";};
101 <    Install-Options { "--define";"_rpmlock_path %{instroot}/%{cmsplatf}/var/lib/rpm/lock";"--nodeps";"--force";"--dbpath";"%{instroot}/%{cmsplatf}/var/lib/rpm";"--prefix";"%{instroot}";};
100 >    Options { "--nodeps";};
101 >    Install-Options { "--nodeps";"--force";"--prefix";"%{instroot}";};
102      RootDir "%{instroot}";
103      Architecture "%{cmsplatf}";
104   };
105   EOF_APT_CONF
106  
107   cat << \EOF_SOURCES_LIST > %{i}/etc/sources.list
108 < rpm http://cmsrep.cern.ch cms/cpt/Software/download/cms.eulisse/apt/%{cmsplatf} cms lcg external
109 < rpm-src http://cmsrep.cern.ch cms/cpt/Software/download/cms.eulisse/apt/%{cmsplatf} cms lcg external
108 > rpm http://cmsrep.cern.ch cms/cpt/Software/download/cms/apt/%{cmsplatf} cms lcg external
109 > rpm-src http://cmsrep.cern.ch cms/cpt/Software/download/cms/apt/%{cmsplatf} cms lcg external
110   # This are defined to support experimental repositories. The bootstrap file rewrites and uncomments
111   # them when passed the appropriate commandline option.
112   ## rpm @SERVER@ @SERVER_PATH@/@REPOSITORY@/apt/%{cmsplatf} @GROUPS@  
# Line 193 | Line 193 | mkdir -p $RPM_INSTALL_PREFIX/%{cmsplatf}
193   %{relocateConfig}bin/rpm-wrapper
194   %{relocateConfig}etc/apt.conf
195  
196 +

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines