[TriLUG] RPM: spec file questions
H Brett Bolen
wingedlizard at nc.rr.com
Thu Dec 19 15:49:27 EST 2002
Is there a way to extract the spec file out of an rpm file?
When I list the files in the spec file, Do I have to use
a full pathname -- is there a way to use relative paths
( aka tar cvf MyDir.tar ./MyDir )
Is there list of %vars I can use in the spec file?
Is Maximum RPM still a good source for info?
b
Tanner Lovelace wrote:
> On Fri, 2002-12-13 at 15:44, H Brett Bolen wrote:
>
>>Is there a way to run rpm as non-root?
>
>
> Use sudo?
>
> Generally, installing system packages needs to be done by
> root. First and foremost, only root should have write privileges
> to system directories. Second, only root should have write
> privileges to the rpm database directory.
>
> Using rpm, however, to examine packages, install src rpms
> to a local setup, query installed packages, etc.. work fine
> as non-root.
>
> Cheers,
> Tanner
More information about the TriLUG
mailing list