Nice!

(aside)
Overloading %check like this _IS_ a dirty hack, but popt aliases and rpm macro 
overloading
SHOULD hurt nothing whatsoever -> UNTIL/UNLESS the "dirty hacks" get wired into 
the tedious doco concrete
of the rpm CLI option ecosystem and global warming climate control to meet 
luser expectations.
See e.g. --ftpport/--ftpproxy/--httpport/--httpproxy/--timecheck/... 
coprolites, sigh.

73 de Jeff

On Sep 24, 2010, at 12:11 PM, Pinto Elia wrote:

>  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:   24-Sep-2010 18:11:23
>  Branch: HEAD                             Handle: 2010092416112200
> 
>  Modified files:
>    rpm                     CHANGES rpmpopt.in
> 
>  Log:
>    added --withoutcheck poptalias
> 
>    Permit rpmbuild --bi --short-circuit skipping %check stanza
>    (#lp:634104) (#mdvbz:35423)
> 
>  Summary:
>    Revision    Changes     Path
>    1.3451      +1  -0      rpm/CHANGES
>    2.89        +3  -1      rpm/rpmpopt.in
>  ____________________________________________________________________________
> 
>  patch -p0 <<'@@ .'
>  Index: rpm/CHANGES
>  ============================================================================
>  $ cvs diff -u -r1.3450 -r1.3451 CHANGES
>  --- rpm/CHANGES      21 Sep 2010 22:08:04 -0000      1.3450
>  +++ rpm/CHANGES      24 Sep 2010 16:11:22 -0000      1.3451
>  @@ -1,4 +1,5 @@
>   5.3.3 -> 5.4a1:
>  +    - devzero2000 : added --withoutcheck popt alias (#lp:634104) 
> (#mdvbz:35423) 
>       - jbj: i18n: update po files (Translation Project).
>       - jbj: mongo: handle endianness at runtime, remove MONGO_BIG_ENDIAN.
>       - jbj: mongo: replace internal md5 digest with rpmDigestInit().
>  @@ .
>  patch -p0 <<'@@ .'
>  Index: rpm/rpmpopt.in
>  ============================================================================
>  $ cvs diff -u -r2.88 -r2.89 rpmpopt.in
>  --- rpm/rpmpopt.in   13 Sep 2010 22:36:38 -0000      2.88
>  +++ rpm/rpmpopt.in   24 Sep 2010 16:11:22 -0000      2.89
>  @@ -2,7 +2,7 @@
>   # \verbatim
>   #
>   # @USRLIBRPM@/@configure_input@
>  -# $Id: rpmpopt.in,v 2.88 2010/09/13 22:36:38 jbj Exp $
>  +# $Id: rpmpopt.in,v 2.89 2010/09/24 16:11:22 devzero2000 Exp $
>   #
>   # This file *should not be modified*. Local customizations
>   # belong in /etc/popt, not here. This file will be replaced
>  @@ -444,5 +444,7 @@
>       --define '_use_internal_dependency_generator 0' \
>       --notinlsb
> 
>  +rpmbuild    alias --withoutcheck            --define 'check exit 0' \
>  +    --POPTdesc=$"disable %check stanza for build" 
>   # \endverbatim
>   #*/
>  @@ .
> ______________________________________________________________________
> RPM Package Manager                                    http://rpm5.org
> CVS Sources Repository                                rpm-...@rpm5.org

______________________________________________________________________
RPM Package Manager                                    http://rpm5.org
Developer Communication List                        rpm-devel@rpm5.org

Reply via email to