[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: passing macros into mock
- From: Rex Dieter <rdieter math unl edu>
- To: fedora-extras-list redhat com
- Subject: Re: passing macros into mock
- Date: Thu, 04 May 2006 19:41:48 -0500
Tim Jackson wrote:
> Is there any way (not in the live buildsys, but locally for testing
> purposes) to pass a macro that isn't normally defined into a mock build
> environment? I was hoping to do something like:
>
> mock --define "something 123" blah.src.rpm
>
> I had a search around but couldn't find any obvious answers. Any easy
> way short of rebuilding the SRPM outside the mock environment with the
> necessary macro defined?
Put
%define something 123
at the top of the specfile?
-- Rex
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]