OpenPKG CVS Repository
  http://cvs.openpkg.org/
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   23-Sep-2006 10:09:56
  Branch: HEAD                             Handle: 2006092309095600

  Modified files:
    openpkg-src/erlang      erlang.spec

  Log:
    some harmless packaging cosmetics: avoid underscore and use dot in
    version to be more in sync with other packages; requires gcc as it
    used -Wall and friends; pass %description through par(1); avoid
    hard-coded version numbers; unpack only man1 and avoid wildcard shell
    expansion; use $? to be fully in sync with other packages

  Summary:
    Revision    Changes     Path
    1.3         +13 -12     openpkg-src/erlang/erlang.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/erlang/erlang.spec
  ============================================================================
  $ cvs diff -u -r1.2 -r1.3 erlang.spec
  --- openpkg-src/erlang/erlang.spec    22 Sep 2006 21:38:32 -0000      1.2
  +++ openpkg-src/erlang/erlang.spec    23 Sep 2006 08:09:56 -0000      1.3
  @@ -24,7 +24,7 @@
   
   #   package version
   %define       V_real R11B-1
  -%define       V_opkg R11B_1
  +%define       V_opkg R11B.1
   
   #   package information
   Name:         erlang
  @@ -37,7 +37,7 @@
   Group:        Language
   License:      Erlang Public License
   Version:      %{V_opkg}
  -Release:      20060922
  +Release:      20060923
   
   #   list of sources
   Source0:      http://www.erlang.org/download/otp_src_%{V_real}.tar.gz
  @@ -46,16 +46,18 @@
   #   build information
   Prefix:       %{l_prefix}
   BuildRoot:    %{l_buildroot}
  -BuildPreReq:  OpenPKG, openpkg >= 20040130, openssl
  -PreReq:       OpenPKG, openpkg >= 20040130, openssl
  +BuildPreReq:  OpenPKG, openpkg >= 20040130, gcc
  +PreReq:       OpenPKG, openpkg >= 20040130
  +BuildPreReq:  openssl
  +PreReq:       openssl
   AutoReq:      no
   AutoReqProv:  no
   
   %description
       Erlang is a general-purpose programming language and runtime
  -    environment. Erlang has built-in support for concurrency, distribution
  -    and fault tolerance. Erlang is used in several large telecommunication
  -    systems from Ericsson.
  +    environment. Erlang has built-in support for concurrency,
  +    distribution and fault tolerance. Erlang is used in several large
  +    telecommunication systems from Ericsson.
   
   %track
       prog erlang = {
  @@ -80,22 +82,21 @@
   %install
       rm -rf $RPM_BUILD_ROOT
       %{l_make} %{l_mflags} install INSTALL_PREFIX=$RPM_BUILD_ROOT
  -    (
  -        cd $RPM_BUILD_ROOT%{l_prefix}/bin
  +    (   cd $RPM_BUILD_ROOT%{l_prefix}/bin
           for file in erl erlc epmd run_erl to_erl dialyzer ; do
               rm -f $file
               ln -s ../lib/erlang/bin/$file $file
           done
           cd $RPM_BUILD_ROOT%{l_prefix}/lib/erlang/bin
           rm -f epmd
  -        ln -s ../erts-5.5.1/bin/epmd epmd
  +        ln -s ../erts-*/bin/epmd epmd
           cd $RPM_BUILD_ROOT%{l_prefix}/lib/erlang/bin
           %{l_shtool} subst \
               -e "s;$RPM_BUILD_ROOT;;" \
               erl start
           cd $RPM_BUILD_ROOT%{l_prefix}
  -        %{l_gzip} -c -d %{SOURCE1} | %{l_tar} xf - man/*
  -    ) || exit 1
  +        %{l_gzip} -c -d %{SOURCE1} | %{l_tar} xf - 'man/man1'
  +    ) || exit $?
       %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
   
   %files -f files
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [email protected]

Reply via email to