From bb413fe7b0ea84327d91006cbbeaf084d32267d8 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 16 Nov 2017 15:54:00 +0100 Subject: enable networking in mock --- fc26i72.cfg | 2 ++ site-defaults.cfg | 2 ++ 2 files changed, 4 insertions(+) diff --git a/fc26i72.cfg b/fc26i72.cfg index 9ea5113..cc3e26f 100644 --- a/fc26i72.cfg +++ b/fc26i72.cfg @@ -54,6 +54,7 @@ metadata_expire=800000 #mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-26&arch=i386 #baseurl=http://fr2.rpmfind.net/linux/fedora/releases/26/Everything/i386/os/ # http://ftp.funet.fi/pub/mirrors/ftp.redhat.com/pub/fedora/linux/releases/26/Everything/i386/os/ +exclude=php-pecl-* [updates-released] name=updates @@ -63,6 +64,7 @@ failovermethod=priority #baseurl=http://ftp.funet.fi/pub/mirrors/ftp.redhat.com/pub/fedora/linux/updates/26/i386/ # http://mirrors.ircam.fr/pub/fedora/linux/updates/26/i386/ # http://fr2.rpmfind.net/linux/fedora/updates/26/i386/ +exclude=php-pecl-* enabled=1 [updates-testing] diff --git a/site-defaults.cfg b/site-defaults.cfg index 8c2c6f6..da5aefc 100644 --- a/site-defaults.cfg +++ b/site-defaults.cfg @@ -64,6 +64,8 @@ # If you're using nspawn, then by default networking will be turned off # for rpmbuild. This helps ensure more reproducible builds. # config_opts['rpmbuild_networking'] = False +# Workaround for mock 1.4.7 - https://bugzilla.redhat.com/1514028 +config_opts['rpmbuild_networking'] = True ## When RPM is build in container then build hostname is set to name of ## container. This sets the build hostname to name of container's host. ## Works only in F25+ chroots -- cgit