Reputation: 3873
I have a question about the RPM spec file.
I'm sorry of these questions seem vague or amateurish but I really have issues with the concept and the various site I referenced all use make install
Upvotes: 1
Views: 623
Reputation: 91017
ad 2.:
In one of the stages, you unpack your tar into the %buildroot
, and the others remain empty. The tasks for the stages are more or less deliberate: in %prep
, you normally unpack your source, in %build
you build the binaries and in %install
you put the binaries into your build root. As you have no build process here, you can leave this empty.
Now it gets philosophical: is unpacking your tar into the destination folder %prep
"unpacking" or "installing"? I think it is both, so you can choose either one.
The pure theory would be to unpack the source onto your working space in %prep
and to copy the files over in %install
, but that seems academical and unnecessary to me.
Upvotes: 0
Reputation: 2615
Upvotes: 6