mercurial/mercurial.spec

changeset 269
b93b2c78541a
parent 211
ba83f88949c2
child 270
42bbe3abe794
     1.1 --- a/mercurial/mercurial.spec	Mon Oct 18 11:22:37 2010 +0200
     1.2 +++ b/mercurial/mercurial.spec	Tue Oct 19 14:53:19 2010 +0200
     1.3 @@ -1,6 +1,6 @@
     1.4  ##
     1.5  ##  mercurial.spec -- OpenPKG RPM Package Specification
     1.6 -##  Copyright (c) 2000-2009 OpenPKG Foundation e.V. <http://openpkg.net/>
     1.7 +##  Copyright (c) 2000-2010 OpenPKG Foundation e.V. <http://openpkg.net/>
     1.8  ##
     1.9  ##  Permission to use, copy, modify, and distribute this software for
    1.10  ##  any purpose with or without fee is hereby granted, provided that
    1.11 @@ -31,19 +31,15 @@
    1.12  Class:        EVAL
    1.13  Group:        SCM
    1.14  License:      GPL
    1.15 -Version:      1.3.1
    1.16 -Release:      20090804
    1.17 +Version:      1.6.2
    1.18 +Release:      20100803
    1.19  
    1.20  #   list of sources
    1.21  Source0:      http://mercurial.selenic.com/release/mercurial-%{version}.tar.gz
    1.22  
    1.23  #   build information
    1.24 -Prefix:       %{l_prefix}
    1.25 -BuildRoot:    %{l_buildroot}
    1.26 -BuildPreReq:  OpenPKG, openpkg >= 20060823, python
    1.27 -PreReq:       OpenPKG, openpkg >= 20060823, python
    1.28 -AutoReq:      no
    1.29 -AutoReqProv:  no
    1.30 +BuildPreReq:  OpenPKG, openpkg >= 20100101, python
    1.31 +PreReq:       OpenPKG, openpkg >= 20100101, python
    1.32  
    1.33  %description
    1.34      Mercurial is a fast, lightweight Source Control Management (SCM)
    1.35 @@ -59,17 +55,10 @@
    1.36  
    1.37  %prep
    1.38      %setup -q
    1.39 -    %{l_shtool} subst \
    1.40 -        -e 's;[Mm]ercurial [Rr]epositories;Repositories List;' \
    1.41 -        templates/*/index.tmpl
    1.42 -    %{l_shtool} subst \
    1.43 -        -e 's;[Mm]ercurial [Rr]epository;Repository Name;' \
    1.44 -        templates/*/footer.tmpl
    1.45  
    1.46  %build
    1.47  
    1.48  %install
    1.49 -    rm -rf $RPM_BUILD_ROOT
    1.50      %{l_shtool} mkdir -f -p -m 755 \
    1.51          $RPM_BUILD_ROOT%{l_prefix}/bin \
    1.52          $RPM_BUILD_ROOT%{l_prefix}/libexec/mercurial \
    1.53 @@ -100,5 +89,4 @@
    1.54  %files -f files
    1.55  
    1.56  %clean
    1.57 -    rm -rf $RPM_BUILD_ROOT
    1.58  

mercurial