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:   16-Apr-2005 19:35:28
  Branch: HEAD                             Handle: 2005041618352800

  Modified files:
    openpkg-src/irssi       irssi.spec

  Log:
    fix perl module installation by using our perl-openpkg afterwards

  Summary:
    Revision    Changes     Path
    1.2         +8  -3      openpkg-src/irssi/irssi.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/irssi/irssi.spec
  ============================================================================
  $ cvs diff -u -r1.1 -r1.2 irssi.spec
  --- openpkg-src/irssi/irssi.spec      15 Apr 2005 13:49:55 -0000      1.1
  +++ openpkg-src/irssi/irssi.spec      16 Apr 2005 17:35:28 -0000      1.2
  @@ -37,7 +37,7 @@
   Group:        Network
   License:      GPL
   Version:      %{V_opkg}
  -Release:      20050415
  +Release:      20050416
   
   #   package options
   %option       with_perl  yes
  @@ -53,7 +53,7 @@
   BuildPreReq:  glib2, gc, openssl, ncurses
   PreReq:       glib2, gc, openssl, ncurses
   %if "%{with_perl}" == "yes"
  -BuildPreReq:  perl
  +BuildPreReq:  perl, perl-openpkg
   PreReq:       perl
   %endif
   AutoReq:      no
  @@ -104,8 +104,13 @@
       rm -rf $RPM_BUILD_ROOT%{l_prefix}/share/doc
       rm -f $RPM_BUILD_ROOT%{l_prefix}/lib/irssi/*.a
       strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true
  +%if "%{with_perl}" == "yes"
  +    %{l_prefix}/bin/perl-openpkg -F perl-openpkg-files fixate cleanup
  +%else
  +    >perl-openpkg-files
  +%endif
       %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
  -        %{l_files_std} \
  +        %{l_files_std} `cat perl-openpkg-files` \
           '%config %{l_prefix}/etc/irssi/*'
   
   %files -f files
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [email protected]

Reply via email to