RPM Package Manager, CVS Repository
  http://rpm5.org/cvs/
  ____________________________________________________________________________

  Server: rpm5.org                         Name:   Per Øyvind Karlsen
  Root:   /v/rpm/cvs                       Email:  pkarl...@rpm5.org
  Module: rpm                              Date:   13-Dec-2010 16:54:27
  Branch: HEAD                             Handle: 2010121315542601

  Modified files:
    rpm                     CHANGES
    rpm/scripts             rubygems.rb

  Log:
    rubygems: only add runtime dependencies (Rémy Clouard)

  Summary:
    Revision    Changes     Path
    1.3504      +1  -0      rpm/CHANGES
    1.6         +1  -1      rpm/scripts/rubygems.rb
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: rpm/CHANGES
  ============================================================================
  $ cvs diff -u -r1.3503 -r1.3504 CHANGES
  --- rpm/CHANGES       9 Dec 2010 20:40:10 -0000       1.3503
  +++ rpm/CHANGES       13 Dec 2010 15:54:26 -0000      1.3504
  @@ -1,6 +1,7 @@
   5.3.7 -> 5.4a1:
   
   5.3.6 -> 5.3.7:
  +    - proyvind: rubygems: only add runtime dependencies (Rémy Clouard).
       - proyvind: export rpmbf.h & rpmgi.h to public API.
       - proyvind: rpm4compat: add RPMTAG_FILENAMES & RPMDBI_LABEL.
       - proyvind: rpmconstant: update constants.
  @@ .
  patch -p0 <<'@@ .'
  Index: rpm/scripts/rubygems.rb
  ============================================================================
  $ cvs diff -u -r1.5 -r1.6 rubygems.rb
  --- rpm/scripts/rubygems.rb   18 Oct 2010 12:49:05 -0000      1.5
  +++ rpm/scripts/rubygems.rb   13 Dec 2010 15:54:27 -0000      1.6
  @@ -74,7 +74,7 @@
       end
       if requires
         for d in spec.dependencies
  -        print d.requirement.to_rpm(d.name)
  +        print d.requirement.to_rpm(d.name) unless d.type != :runtime
         end
         for d in spec.required_rubygems_version.to_rpm("rubygems")
           print d.gsub(/(rubygem\()|(\))/, "")
  @@ .
______________________________________________________________________
RPM Package Manager                                    http://rpm5.org
CVS Sources Repository                                rpm-cvs@rpm5.org

Reply via email to