RPM Community Forums

Mailing List Message of <rpm-users>

Re: vcheck question

From: devzero2000 <pinto.elia@gmail.com>
Date: Sat 05 Apr 2008 - 22:55:49 CEST
Message-ID: <b086760e0804051355v4690d27ex174daca4b5ed1c72@mail.gmail.com>
Thanks a lot for your answer.

For Jeff,
I know that %track is an rpm stanza.

The macros to which I alluded was the several %_Rxxxxx from this link
http://wraptastic.org/pub/F/macros

that i haven't understood well.

Thanks again





On Sat, Apr 5, 2008 at 8:27 PM, Jeff Johnson <n3npq@mac.com> wrote:

>
> On Apr 5, 2008, at 2:11 PM, Ralf S. Engelschall wrote:
>
>  On Sat, Apr 05, 2008, Jeff Johnson wrote:
> >
> >  [...]
> > > AFAIK vcheck is functional in rpm, but there may be some slight
> > > differences in rpmbuild options and usage that may still depend on
> > > OpenPKG.
> > >
> >
> > %track is fully functional in RPM 5 -- I've just checked it a few
> > minutes ago (see my reply on rpm-devel@, too). OpenPKG uses %track the
> > same way, it just uses a larger section prolog in order make sure that
> > the external "vcheck" package is installed (which exists because vcheck
> > depends on "perl", "perl-www" and a bunch of other packages):
> >
> >
> I thought vcheck "worked" in rpm-5.0, but I can never remember all the
> bleeping options to rpm
> and was too lazy to check ;-)
>
> Now that there is the means to deliver explicit custom %track data for the
> everyone-has-to-be-different case, its likely time to drill a header
> extension
> through a headerSprintf template that looks like
>
> prog %{NAME} = { \
>    version   = %{VERSION} \
>    url       = %{URL} \
>    regex     = %{NAME}-(__VER__)\.tar\.gz \
> }
>
> that has a better than even chance of working for most upstream sources.
> Certainly
> trivial to add Yet Another popt alias to spew the expansion.
>
> Yes more would need to be done with %{URL}, perhaps adding
> RPMTAG_SOURCEURL
> to capture the base of the SourceN: directive and add to headers.
>
> 73 de Jeff
>
> ______________________________________________________________________
> RPM Package Manager                                    http://rpm5.org
> User Communication List                             rpm-users@rpm5.org
>
Received on Sat Apr 5 22:55:56 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.