[Rpm-maint] field in queryformat to print file associated w/line output

2017-01-07 Thread L A Walsh

Is there a queryfield in rpm to let me print the file
that I'm querying (if it is part of an rpm). 


Trying to do:

rpm -qf file1 file2 file3...filen

to see what rpms the files are in, but I have no certain way
to print something like:

rpm -qf file1..filen --qf="%{QUERYFILE} %{NVR}\n"

where the file I am querying about is printed along with the rpm NVR..

If it isn't there, maybe it's something that could be added?

It's alot more efficient throwing a bunch of files at rpm than to
invoke it on 1 file at a time...

Thx,
-l

___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] configure.ac: reference zlib when checking libmagic (#118)

2017-01-07 Thread ニール・ゴンパ
The correct change is to get the file/libmagic project to ship a file for 
pkg-config to use and stop relying on creaky manual tests.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/118#issuecomment-271089313___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] rpm2cpio and rpm2archive: don't write archive data to a terminal. (#116)

2017-01-07 Thread Dmitry V. Levin
First of all, the github review process is awful, a traditional post to the 
mailing list would be much better.

wrt your patch,

> fprintf(stderr, "%s: refusing to output archive data to a terminal.\n");
> fprintf(stderr, "%s: refusing to output cpio data to a terminal.\n");

what do you mean by not passing any argument to %s format specifier?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/116#issuecomment-271085647___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] rpm2cpio and rpm2archive: don't write archive data to a terminal. (#116)

2017-01-07 Thread soig
On 6 January 2017 at 05:11, Neal Gompa (ニール・ゴンパ) 
wrote:

> *@Conan-Kudo* approved this pull request.
>
> Looks fantastic to me!
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> ,
> or mute the thread
> 
> .
>
​+1
This often annoyed me too​ but I never bothered trying to fixing it.
So thanks!


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/116#issuecomment-271085180___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint