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.79 by elmer, Thu Jan 3 12:30:09 2008 UTC

# Line 1 | Line 1
1 < ### RPM external apt 0.5.15lorg3.2-CMS18
1 > ### RPM external apt 0.5.15lorg3.2-CMS19
2   ## INITENV SET APT_CONFIG %{i}/etc/apt.conf
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 42 | Line 40 | esac
40   %patch3 -p1
41  
42   %build
43 < export CFLAGS="-O0 -g"
44 < export CXXFLAGS="-O0 -g"
43 > #export CFLAGS="-O0 -g"
44 > #export CXXFLAGS="-O0 -g"
45   export CPPFLAGS="-I$BZ2LIB_ROOT/include -I$BEECRYPT_ROOT/include -I$RPM_ROOT/include -I$RPM_ROOT/include/rpm"
46   export LDFLAGS="-L$BZ2LIB_ROOT/lib -L$BEECRYPT_ROOT/%{libdir} -L$RPM_ROOT/%{libdir}"
47   export LIBDIR="$LIBS"
# Line 129 | Line 127 | EOF_APT_CONF
127  
128   cat << \EOF_SOURCES_LIST > %{i}/etc/sources.list
129   rpm http://cmsrep.cern.ch cms/cpt/Software/download/cms/apt/%{cmsplatf} cms lcg external
130 < rpm-src http://cmsrep.cern.ch cms/cpt/Software/download/cms/apt/%{cmsplatf} cms lcg external
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