Re: Can't produce output

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

 



K. Richard Pixley wrote:
Howard Johnson wrote:
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.
Excellent!  Thank you.

Can I get rid of the superfluous i386/ also?

--rich

You should be able to by redefining another macro or two. A quick grep suggests _build_name_fmt might be a good one to try. Look at the definition of it in /usr/lib/rpm/macros, cos it's the full rpm filename, not just the dir.

--
Howard Johnson

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux