ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/dpm.spec
(Generate patch)

Comparing COMP/CMSDIST/dpm.spec (file contents):
Revision 1.4 by elmer, Wed Sep 26 21:01:10 2007 UTC vs.
Revision 1.6 by elmer, Sun Sep 30 00:46:49 2007 UTC

# Line 1 | Line 1
1 < ### RPM external dpm 1.6.5-5-CMS3q
1 > ### RPM external dpm 1.6.5-5-CMS3p
2   ## BUILDIF case $(uname):$(uname -p) in Linux:i*86 ) true ;; Linux:x86_64 ) true ;;  Linux:ppc64 ) false ;; Darwin:* ) false ;; * ) true ;; esac
3  
4   %define baseVersion %realversion
# Line 8 | Line 8
8  
9   Source: http://eticssoft.web.cern.ch/eticssoft/repository/org.glite/LCG-DM/%{realversion}/src/DPM-%{downloadv}sec.%{dpmarch}.src.rpm
10  
11 + %define cpu %(echo %cmsplatf | cut -d_ -f2)
12 + %if "%cpu" != "amd64"
13 + %define libsuffix %{nil}
14 + %else
15 + %define libsuffix ()(64bit)
16 + %endif
17 + Provides: libdpm.so%{libsuffix}
18 +
19   %prep
20   rm -f %_builddir/DPM-%{realversion}.src.tar.gz
21   rpm2cpio %{_sourcedir}/DPM-%{downloadv}sec.%{dpmarch}.src.rpm | cpio -ivd DPM-%{realversion}.src.tar.gz

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines