PaulHowarth/Blog/2006-09-01

Friday 1st September 2006

Local Packages

I'm going to have to rebuild a lot of packages. The macros I've been using in spec files to add distribution tags don't play nicely with development releases. This is easily enough fixed but since the spec files are changing, I'll be rebuilding for all supported releases, not just development, when I populate the repository for Fedora development.

Network Access in Mock

When trying to build perl-HTTP-SimpleLinkChecker in mock, the test suite failed because it couldn't connect to perl.org. This is because /etc/resolv.conf in the buildroot contains:

nameserver 192.168.1.1

I don't happen to have a nameserver at that IP address, so I added to /etc/mock/defaults.cfg:

config_opts['files'] = { \
        "/etc/resolv.conf":"""search intra.city-fan.org
nameserver 127.0.0.1""" \
} 

Problem solved.


Recent