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.6 by ratnik, Wed Apr 18 23:46:01 2007 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines