Hello,
I'm trying to define some RPM macros using the config_opts['macros'] option
in a mock.cfg as follows:
config_opts['macros'] = """
%_dist bbc_gems
"""
When this section is present, mock fails with:
No Spec file found in srpm: rubygem-bbc_extractor-0.0.1-1.src.rpm
When I comment out the three lines above, it all works perfectly...
Am I doing something silly? Is there a better way to set up mock with
per-configuration RPM macros?
Thanks,
Matt
--
Matt Patterson
Senior Software Engineer, BBC Audio & Music Interactive
http://www.bbc.co.uk/
This e-mail (and any attachments) is confidential and may contain personal views which are
not the views of the BBC unless specifically stated.
If you have received it in error, please delete it from your system.
Do not use, copy or disclose the information in any way nor act in reliance on it and
notify the sender immediately.
Please note that the BBC monitors e-mails sent or received.
Further communication will signify your consent to this.