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

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   20-Sep-2004 14:26:01
  Branch: HEAD                             Handle: 2004092013260100

  Modified files:
    openpkg-src/libffi      libffi.spec

  Log:
    switch to versioned tarball and cleanup packaging

  Summary:
    Revision    Changes     Path
    1.13        +8  -9      openpkg-src/libffi/libffi.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/libffi/libffi.spec
  ============================================================================
  $ cvs diff -u -r1.12 -r1.13 libffi.spec
  --- openpkg-src/libffi/libffi.spec    5 Jul 2004 07:36:25 -0000       1.12
  +++ openpkg-src/libffi/libffi.spec    20 Sep 2004 12:26:01 -0000      1.13
  @@ -33,12 +33,11 @@
   Class:        EVAL
   Group:        Language
   License:      LGPL
  -Version:      20040705
  -Release:      20040705
  +Version:      20040920
  +Release:      20040920
   
   #   list of sources
  -Source0:      libffi.tar.gz
  -Source1:      libffi.tar.gz.sh
  +Source0:      
ftp://ftp.openpkg.org/sources/CPY/VERSIONED/libffi/libffi-%{version}.tar.gz
   
   #   build information
   Prefix:       %{l_prefix}
  @@ -75,16 +74,13 @@
   
   %track
       prog libffi = {
  -        disabled
  -        comment   = "rse: no distribution URL, because tarball rolled manually from 
GCC CVS"
  -        version   = 0
  -        url       = ftp://ftp.example.com/
  +        version   = %{version}
  +        url       = ftp://ftp.openpkg.org/sources/CPY/VERSIONED/libffi/
           regex     = libffi-(__VER__)\.tar\.gz
       }
   
   %prep
       %setup -q -c
  -    #   %{SOURCE1} (make speclint happy)
   
   %build
       cd gcc/libffi
  @@ -104,6 +100,9 @@
       ( cd gcc/libffi
         %{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT"
       ) || exit $?
  +    mv  $RPM_BUILD_ROOT%{l_prefix}/lib/gcc/include/libffi/ffitarget.h \
  +        $RPM_BUILD_ROOT%{l_prefix}/include/ffitarget.h
  +    rm -rf $RPM_BUILD_ROOT%{l_prefix}/lib/gcc
       strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true
       %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
   
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to