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

  Server: rpm5.org                         Name:   Pinto Elia
  Root:   /v/rpm/cvs                       Email:  devzero2...@rpm5.org
  Module: rpm                              Date:   11-May-2011 11:21:51
  Branch: rpm-5_3                          Handle: 2011051109215000

  Modified files:           (Branch: rpm-5_3)
    rpm                     CHANGES
    rpm/doc                 rpm.8

  Log:
    document --whatneeds and --needswhat
       (ref. https://bugzilla.redhat.com/show_bug.cgi?id=142651)
    
       I think it's best to document the feature
       and not what should belong to the ugly tricks department
    
    Submitted by: Elia Pinto

  Summary:
    Revision    Changes     Path
    1.3296.2.228+2  -0      rpm/CHANGES
    1.37.2.2    +10 -1      rpm/doc/rpm.8
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: rpm/CHANGES
  ============================================================================
  $ cvs diff -u -r1.3296.2.227 -r1.3296.2.228 CHANGES
  --- rpm/CHANGES       10 May 2011 02:48:19 -0000      1.3296.2.227
  +++ rpm/CHANGES       11 May 2011 09:21:50 -0000      1.3296.2.228
  @@ -1,5 +1,7 @@
   5.3.11 -> 5.3.12
   
  +    - devzero2000: document --whatneeds and --needswhat
  +      (ref. https://bugzilla.redhat.com/show_bug.cgi?id=142651)
       - proyvind: fix an extremely subtle, corner-case memleak in 
parsePreamble.c
       - mdawkins: openmamba - devtool.conf --with-expat --without-perlembed 
--without-ruby
       - jbj: openmamba: --with-neon=internal needs libs to be added explicitly
  @@ .
  patch -p0 <<'@@ .'
  Index: rpm/doc/rpm.8
  ============================================================================
  $ cvs diff -u -r1.37.2.1 -r1.37.2.2 rpm.8
  --- rpm/doc/rpm.8     26 Oct 2010 14:57:33 -0000      1.37.2.1
  +++ rpm/doc/rpm.8     11 May 2011 09:21:50 -0000      1.37.2.2
  @@ -503,7 +503,7 @@
   \fBrpm\fR's internal
   \fBftp\fR and
   \fBhttp\fR
  -client support. The \fIPACKAGE_FILE\fR argument(s),
  +client support. /--rqThe \fIPACKAGE_FILE\fR argument(s),
   if not a binary package, will be interpreted as an ASCII package
   manifest.  Comments are permitted, starting with a '#', and each
   line of a package manifest file may include white space separated
  @@ -538,11 +538,20 @@
   Query packages that are triggered by package(s)
   \fIPACKAGE_NAME\fR.
   .TP
  +\fB-\-needswhat \fIPACKAGE_NAME\fB\fR
  +List prerequisite packages of package(s)
  +\fIPACKAGE_NAME\fR.
  +.TP
   \fB-\-whatprovides \fICAPABILITY\fB\fR
   Query all packages that provide the \fICAPABILITY\fR capability.
   .TP
   \fB-\-whatrequires \fICAPABILITY\fB\fR
   Query all packages that require \fICAPABILITY\fR for proper functioning.
  +.br
  +Note that this does not return what requires a given package.
  +A package usually provides multiple capabilities and file-names on which
  +other packages may depend. To see the complete dependencies
  +for a capability, use \fB--whatneeds \fICAPABILITY\fB\fR
   .SS "PACKAGE QUERY OPTIONS:"
   .PP
   .TP
  @@ .
______________________________________________________________________
RPM Package Manager                                    http://rpm5.org
CVS Sources Repository                                rpm-cvs@rpm5.org

Reply via email to