E
E
Evgeny Elizarov2014-11-09 22:50:09
CentOS
Evgeny Elizarov, 2014-11-09 22:50:09

How to add a file when building a package?

I just started learning how to work with rpmbuild and spec files, until I googled one single question - how to add a third-party file to a package when building? The directory from the source is created when the build is started and the file cannot be put there, but as I understand it, in the % files section you can specify files from the build tree. In general, how to add your own files when building a package?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Igor Nikolaev, 2016-03-17
@nightvich

I don't understand what you are trying to achieve?
If you are building a package, then you are building it in devdir, which contains all the contents of the package being created.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question