Changing the %Setup Macro

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Title: Changing the %Setup Macro

I realize it is intentional that the %setup macro extracts files and then chown/chmods 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 seds  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

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux