[Rpm-maint] RPM supports variable group name ?

Sangeeta Varma Sangeeta.Varma at Sun.COM
Wed Feb 28 21:19:34 UTC 2007


Olivier,

Thanks for the response.

How is that the same though ?
I want to query the administrator installing the RPM (at install time) 
as to which group to set for the binary and then use that to set the 
group of the binary.

Doesn't this ::
 > %attr(755, user, group) /a/file

imply that "group" is a known entity at build time ?

-Sangeeta


Olivier Thauvin wrote:
> Le Wednesday 28 February 2007, Sangeeta Varma a écrit :
> 
>>Hello,
>>
>>I have an urgent requirement to be able to deliver a binary in an RPM
>>with an unknown group name, at the rpm build time.  The Group name will
>>be known only at install time.
> 
> 
> Isn't it what wo do in rpm since rpm 4, maybe rpm 3 ?
> 
> %attr(755, user, group) /a/file
> 
> in pre, something that more or less does: 
> adduser user -g group ...
> 
> Iirc, RH/fedora does more or less the same, and probaly other distros.



More information about the Rpm-maint mailing list