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?
thanks
_______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxxxxx http://lists.rpm.org/mailman/listinfo/rpm-list