Thorsten Leemhuis <fedora(a)leemhuis.info> writes:
> But maybe the following can make you happy: A script that greps
> through the CVS and extracts these for you automatically.
If that works: sure. But we should not force sysadmins to download the
whole cvs and run such a script
Before I see such a script I do not believe that a such one is possible.
E.g. please extract the needed information (username, homedir, gecos)
from:
| %global user foo
| %global home %_var/lib/%name
|
| %post
| useradd -r -d '%home' %user
|
| u='%user'
| prog=/usr/sbin/useradd
| $prog -r \
| $u
Enrico