Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Build source file from within spec file?

8 views
Skip to first unread message

John Gordon

unread,
Mar 31, 2014, 5:56:58 PM3/31/14
to
As I understand it, the purpose of the Source: header in a spec file is
to specify a file (often a tar archive) that is used as the package
payload. This source file is typically generated beforehand, perhaps by
make, and then rpmbuild is executed afterwards.

I'm wondering if it's possible to just use rpmbuild. Can the payload file
be created from within the rpm spec file? And if so, what does one use
as the Source: header? I can't just leave it blank. Is there a way to
tell rpm that the payload file is generated from within the spec file,
and not supplied externally?

--
John Gordon Imagine what it must be like for a real medical doctor to
gor...@panix.com watch 'House', or a real serial killer to watch 'Dexter'.

0 new messages