Hi:
Have an rpm I'm building for an application. The application's makefile has an install target. Inside
it issues a set permissions block that changes some of the executables within the package as root.root
for owner and group and sets a couple of them as setuid.
Given the cardinal rule of not building the package rpm's as root, this block will fail during the %install in the spec.
I've worked around this by passing an option from the make issued in the %install section to the Makefile which gets pushed down to this script and determine if the make install is being done by root or the package creator. If the package creator, don't attempt to set owner/group to root.root.
Is this the usual method?
thx.
W. MacKenzie