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:24:04
  Branch: rpm-5_4                          Handle: 2011051109240301

  Modified files:           (Branch: rpm-5_4)
    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.3501.2.124+2  -0      rpm/CHANGES
    1.38.2.1    +10 -1      rpm/doc/rpm.8
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: rpm/CHANGES
  ============================================================================
  $ cvs diff -u -r1.3501.2.123 -r1.3501.2.124 CHANGES
  --- rpm/CHANGES       10 May 2011 02:46:42 -0000      1.3501.2.123
  +++ rpm/CHANGES       11 May 2011 09:24:03 -0000      1.3501.2.124
  @@ -1,4 +1,6 @@
   5.4.0 -> 5.4.1:
  +    - 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
       - jbj: dreamplug: build options.
       - jbj: openmamba: explicit neon linkage isn't right solution, 
revert/todo++.
  @@ .
  patch -p0 <<'@@ .'
  Index: rpm/doc/rpm.8
  ============================================================================
  $ cvs diff -u -r1.38 -r1.38.2.1 rpm.8
  --- rpm/doc/rpm.8     21 Sep 2010 16:08:32 -0000      1.38
  +++ rpm/doc/rpm.8     11 May 2011 09:24:04 -0000      1.38.2.1
  @@ -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