Re: Using rpmspec to query .spec file macros

2015-03-05 Thread Panu Matilainen
On 03/05/2015 09:44 PM, Philip Prindeville wrote: I'm trying to write some build automation using mock, etc. and I need to be able to query a .spec file for some values. I did a rpmspec --help and tried to go by the output but it never mentions where the spec file goes in the arguments, for

Using rpmspec to query .spec file macros

2015-03-05 Thread Philip Prindeville
I'm trying to write some build automation using mock, etc. and I need to be able to query a .spec file for some values. I did a rpmspec --help and tried to go by the output but it never mentions where the spec file goes in the arguments, for instance! I tried: target=fedora-21-x86_64 ...