Troy Dawson wrote:
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.
Au contraire, one has quite good control:
rpmbuild --define _topdir\ ${HOME}/redhat \
--rebuild downloads/m4-1.4.8-1.src.rpm
There are other variables to refine the control, and rpmbuild looks at
~/.rpmmacros where all this stuff can be made default.
However, I don't have a clear idea of what Peter's trying to do.
However, he should read the docs mentioned in my sig before going further.
Troy
--
Cheers
John
-- spambait
[EMAIL PROTECTED] [EMAIL PROTECTED]
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375
You cannot reply off-list:-)