Re: [Rpm-maint] How to get RPM requires quickly

2014-09-15 Thread Panu Matilainen
On 09/13/2014 04:13 PM, Richard W.M. Jones wrote: We have a program[1] that needs to take a list of installed RPM package names, and quickly generate all of the installed dependencies (recursively). *Note* this is NOT a question about yum/dnf/zypper/etc depsolving. It's about doing 'rpm -qR'

Re: [Rpm-maint] How to get RPM requires quickly

2014-09-15 Thread Florian Festi
On 09/15/2014 02:42 PM, Panu Matilainen wrote: On 09/13/2014 04:13 PM, Richard W.M. Jones wrote: We have a program[1] that needs to take a list of installed RPM package names, and quickly generate all of the installed dependencies (recursively). To get rpm do a bit more work for you, use

Re: [Rpm-maint] How to get RPM requires quickly

2014-09-15 Thread Richard W.M. Jones
On Mon, Sep 15, 2014 at 03:42:37PM +0300, Panu Matilainen wrote: On 09/13/2014 04:13 PM, Richard W.M. Jones wrote: We have a program[1] that needs to take a list of installed RPM package names, and quickly generate all of the installed dependencies (recursively). *Note* this is NOT a

[Rpm-maint] [PATCH] perl.{prov,req} improvments

2014-09-15 Thread Thierry Vignaud
Hi Mageia just switched to internal deps generator (at least). In the process, I unforked as most scripts as possible. Here's some old fixes: skip-plain-regular-comments.diff: just skip plain, regular perl comments... support-for-_-in-perl-module-version.diff: support for _ in perl module

[Rpm-maint] speeding up internal deps generator

2014-09-15 Thread Thierry Vignaud
Hi We've recently switched to internal deps generator. However one of the deps scripts we use [1] is very slow b/c of this[2]: +for path in \ +$(for tlpath in \ +$(find ${RPM_BUILD_ROOT}/usr/lib64 ${RPM_BUILD_ROOT}/usr/lib /usr/lib64 /usr/lib -name '*.typelib'); do +dirname

Re: [Rpm-maint] speeding up internal deps generator

2014-09-15 Thread Michael Schroeder
On Mon, Sep 15, 2014 at 05:34:48PM +0200, Thierry Vignaud wrote: We've recently switched to internal deps generator. However one of the deps scripts we use [1] is very slow b/c of this[2]: +for path in \ +$(for tlpath in \ +$(find ${RPM_BUILD_ROOT}/usr/lib64