[Scribus] scribus fedora core 5

Craig Ringer craig
Sun Mar 26 18:24:01 CEST 2006


Paul F. Johnson wrote:

>Hi,
>
>  
>
>>>a Scribus RPM has been created in the RPMBUILD/RPMS/i386 directory
>>>      
>>>
>>That should be /usr/src/redhat/RPMS/i386
>>    
>>
>
>It depends if you have the fedora-rpmbuildutils system installed. Then
>it is ~/rpmbuild/RPMS/%{_basearch}
>  
>
Yep. And you should ALWAYS use a buildroot as a normal user. Use 
fedora-rpmdevtools to create a per-user buildroot and use that, 
preferably with a separate uid only used for package builds, like I 
described in my post.

Why? Because a Makefile or script that's part of a program's build 
sequence can go awry and do rather nasty things to your system - 
delete/replace files, insert malicious code, etc. It need not be 
intentional - a simple typo or "minor" bug can be sufficient (think "rm 
-rf $somevar/*" where $somevar ends up being undefined on your system 
... ouch).

Similarly, when compiling software, try to do the build as a normal 
user, and fall back to root only for `make install'. Actually, 
preferably not even that. I ususally just create the install path 
prefix, give myself write permission using sudo, and make install as a 
normal user. That way, if it tries any funny business I'll typically get 
an error message. This doesn't work well when installing into "shared" 
paths like /usr/local, though.

--
Craig Ringer



More information about the scribus mailing list