[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Can't produce output



K. Richard Pixley wrote:
What I'm looking for is a way to set the implicit rpm directories, preferably from the command line.

Aha, gotcha. Try this:

rpmbuild --define "_sourcedir $(SOURCEDIR)" \
		--define "_builddir $(BUILDDIR)" \
		--define "_srcrpmdir $(SRCRPMDIR)" \
		--define "_rpmdir $(RPMDIR)" \
		<other args>

Fedora uses that set of defines in it's makefiles.

--

Howard Johnson


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]