RPM Community Forums

Mailing List Message of <rpm-cvs>

[CVS] RPM: rpm/ rpmpopt.in

From: Pinto Elia <devzero2000@rpm5.org>
Date: Thu 09 Sep 2010 - 10:19:09 CEST
Message-Id: <20100909081909.36816C8485@rpm5.org>
  RPM Package Manager, CVS Repository
  /cvs/
  ____________________________________________________________________________

  Server: rpm5.org                         Name:   Pinto Elia
  Root:   /v/rpm/cvs                       Email:  devzero2000@rpm5.org
  Module: rpm                              Date:   09-Sep-2010 10:19:09
  Branch: HEAD                             Handle: 2010090908190800

  Modified files:
    rpm                     rpmpopt.in

  Log:
    Added --arch rpm popt option.
    Update --info rpm popt option for displaying Architecture
    
    Should be close lp#633719
    
    Free to revert if not desidered

  Summary:
    Revision    Changes     Path
    2.87        +5  -1      rpm/rpmpopt.in
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: rpm/rpmpopt.in
  ============================================================================
  $ cvs diff -u -r2.86 -r2.87 rpmpopt.in
  --- rpm/rpmpopt.in	22 Mar 2010 16:44:12 -0000	2.86
  +++ rpm/rpmpopt.in	9 Sep 2010 08:19:08 -0000	2.87
  @@ -2,7 +2,7 @@
   # \verbatim
   #
   # @USRLIBRPM@/@configure_input@
  -# $Id: rpmpopt.in,v 2.86 2010/03/22 16:44:12 jbj Exp $
  +# $Id: rpmpopt.in,v 2.87 2010/09/09 08:19:08 devzero2000 Exp $
   #
   # This file *should not be modified*. Local customizations
   # belong in /etc/popt, not here. This file will be replaced
  @@ -113,6 +113,7 @@
   %|PACKAGER?{Packager    : %{PACKAGER}\n}|\
   %|URL?{URL         : %{URL}\n}|\
   Summary     : %{SUMMARY}\n\
  +Architecture: %{ARCH}\n\
   Description :\n%{DESCRIPTION}\n' \
   	--POPTdesc=$"list descriptive information from package(s)"
   
  @@ -400,6 +401,9 @@
   rpm	alias --without		--define "_without_!#:+    --without-!#:+" \
   	--POPTdesc=$"disable configure <option> for build" \
   	--POPTargs=$"<option>"
  +
  +rpm	alias --arch --qf '%-34{=NAME}\t%{ARCH}\n' \
  +	--POPTdesc=$"list package architecture"
   #==============================================================================
   rpmb	alias --dbpath		--define '_dbpath !#:+' \
   	--POPTdesc=$"use database in DIRECTORY" \
  @@ .
Received on Thu Sep 9 10:19:09 2010
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.