Re: Newbie trying to build a binary RPM

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

 



> 
> If you live in a hostile environment, make your
> buildroot in $HOME/tmp,
> which is likely to be already protected, instead of
> /var/tmp. Actually,
> setting %_tmppath in .rpmmacros could be a good
> idea, so that you can
It'll be simpler for packager, but i don't sure it's a
good idea: anyone who will rebuild such rpm from .srpm
with default _tmppath setting will be on risk.
I think better specify package's buildroot under
_topdir - this way it'll be safe for everyone.

Valery

> leave the .spec unchanged (and other tmp files will
> be created in your
> home tmp as well).
> 
> Building in /var/tmp but having to closely review
> your %install scripts
> to pay attention to permissions because of a hostile
> environment doesn't
> make much sense to me. You'll have to do that for
> every .spec you build
> from!
> 
> .TM.
> -- 
>       ____/  ____/   /
>      /      /       /                   Marco
> Colombo
>     ___/  ___  /   /                  Technical
> Manager
>    /          /   /                      ESI s.r.l.
>  _____/ _____/  _/                     
> Colombo@xxxxxx
> 
> _______________________________________________
> Rpm-list mailing list
> Rpm-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/rpm-list
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


[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