1

I created a tarball with multiple files. The rpm generator requires those files to be inside a folder. I don't want to move the files before generating the tar. Is there a way to create this folder while generating the tar or after it?

1 Answer 1

2

The -c option to %setup will allow you to create a directory and extract the files from the various sources within it.

2
  • For me that's not an option right now. But thank you anyway. I'll have to solve the problem in the tar, I can't change the rpm params.
    – Jader Dias
    Jun 9, 2011 at 19:25
  • 1
    Your other alternative is to write a custom tool, since even GNU tar doesn't support this. Jun 9, 2011 at 19:39

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .