%distribution and %vendir are perfectly okay, been there forever.

But you ought to target a url for _EXACTLY_ the SRPM instead
of the generic http://qa.mandriva.com.

All I'm saying is to collude with yer bugzilla guy and
add some ?foo=bar magic to the URL to target a specific
distro/version/source name for each package somehow.

If you can't make the entry simple, you can make the
retrieval simple: figger the URL needed to pull
a summary line from a bugzilla query for exactly
this package.

Its not too much harder (a header tag extension) to then
map bugzilla summaries through --queryformat and into URPMI
using headerSprintf(). A pattern to strip awaythe HTML
goop perhaps.

hth

73 de Jeff

On Mar 31, 2011, at 8:00 PM, Per Øyvind Karlsen wrote:

>  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:   01-Apr-2011 02:00:29
>  Branch: HEAD                             Handle: 2011040100002900
> 
>  Modified files:
>    rpm/macros              mandriva.in
> 
>  Log:
>    add %distribution, %vendor & %bugurl
> 
>  Summary:
>    Revision    Changes     Path
>    1.13        +4  -0      rpm/macros/mandriva.in
>  ____________________________________________________________________________
> 
>  patch -p0 <<'@@ .'
>  Index: rpm/macros/mandriva.in
>  ============================================================================
>  $ cvs diff -u -r1.12 -r1.13 mandriva.in
>  --- rpm/macros/mandriva.in   30 Mar 2011 14:33:34 -0000      1.12
>  +++ rpm/macros/mandriva.in   1 Apr 2011 00:00:29 -0000       1.13
>  @@ -1,3 +1,7 @@
>  +%distribution               Mandriva Linux
>  +%vendor                     Mandriva
>  +%bugurl                     http://qa.mandriva.com
>  +
>   # This macro will disable the transaction lock on /var/lib/rpm/__db.*.
>   # This lock is of no use to us and will also result in errors when trying to
>   # install src.rpms as regular user.
>  @@ .
> ______________________________________________________________________
> 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