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

Comparing COMP/CMSDIST/gdbm.spec (file contents):
Revision 1.2 by elmer, Tue May 30 19:00:58 2006 UTC vs.
Revision 1.9 by eulisse, Fri Jun 22 08:51:17 2007 UTC

# Line 1 | Line 1
1 < ### RPM external gdbm 1.8.3
2 < Source: http://rm.mirror.garr.it/mirrors/gnuftp/gnu/%{n}/%{n}-%{v}.tar.gz
1 > ### RPM external gdbm 1.8.3-wt1
2 > Source: http://rm.mirror.garr.it/mirrors/gnuftp/gnu/%{n}/%{n}-%{realversion}.tar.gz
3  
4   %define thisuser %(id -u)
5   %define thisgroup %(id -g)
6  
7 + %prep
8 + %setup -n %n-%{realversion}
9 +
10   %build
11 < case $(uname) in
12 <  Darwin) perl -p -i -e "s|BINOWN = bin|BINOWN = %{thisuser}|g" Makefile.in;
10 <          perl -p -i -e "s|BINGRP = bin|BINGRP = %{thisgroup}|g" Makefile.in;;
11 < esac  
11 > perl -p -i -e "s|BINOWN = bin|BINOWN = %{thisuser}|g" Makefile.in
12 > perl -p -i -e "s|BINGRP = bin|BINGRP = %{thisgroup}|g" Makefile.in
13   ./configure --prefix=%{i}
14   make %makeprocesses
15 +

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines