SCIENTIFIC-LINUX-USERS Archives

May 2008

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Troy Dawson <[log in to unmask]>
Reply To:
Troy Dawson <[log in to unmask]>
Date:
Thu, 15 May 2008 09:46:17 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (32 lines)
Peter Haufschild wrote:
> Hallo,
> I want setup a repo for SL to deploy some config files inside my company.
> 
> When I try to rebuild src rpms I get error like:
> 
> Fehler: Datei nicht gefunden: /var/tmp/yum-conf-50root/usr/etc/yum.repos.d
> 
> The path should be /var/tmp/{name}/etc... but it looks for ../usr/etc....
> 
> What could I do?
> Thanks Peter

When you say you are rebuilding src rpm's, how are you doing it?

Are you unpacking them and then
   rpmbuild -ba <package>.spec
or are you really just rebuilding the src.rpm's
   rpmbuild --rebuild <package>.src.rpm

Because if you are just really rebuliding the src.rpm, then you don't 
have much choice about where it is putting things.
But, if you are changing the spec file, then we can help a bit more.

Troy

-- 
__________________________________________________
Troy Dawson  [log in to unmask]  (630)840-6468
Fermilab  ComputingDivision/LCSI/CSI DSS Group
__________________________________________________

ATOM RSS1 RSS2