TrigonicSolutions / gradle-rpm-plugin

Gradle plugin for constructing RPM packages.
Apache License 2.0
38 stars 19 forks source link

Don't create directory entries by default. #1

Closed david-resnick closed 12 years ago

david-resnick commented 12 years ago

Because redline-rpm Builder automatically creates parent directories when needed, and, more importantly, skips creating directory entries for system directories (e.g. /etc), directory entries shouldn't be created by default.

A new copyspec property createDirectoryEntry is added to allow specifying that a directory entry should be created enableing specifying directory mode and/or ownership.

david-resnick commented 12 years ago

Please note that I haven't tested this by creating an RPM and examining the entries created, as I'm doing this from home. This should be seen more as a proposal than a final solution (though I hope it actually is complete).