Changing the %Setup Macro
eric.aiken at hcl.in
Tue Feb 3 23:24:31 UTC 2009
I realize it is intentional that the %setup macro extracts files and
then chown/chmod's the extracted files. Is there a way around this?
I need to create an rpm of files (no compile, make install,etc). There
are a large number of files with very disparate owner/group/perms.
Creating a bunch of %file statements to create external file lists with
sed's is not my preference. If I could only:
tar --atime-preserve --preserve-permissions --same-owner file.tar
that would quick and easy.
Could I create a macro for chown/chmod to point to echo or some other
harmless command within the spec file and trick rpmbuild?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Rpm-list