summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2017-11-16 15:54:00 +0100
committerRemi Collet <remi@remirepo.net>2017-11-16 15:54:00 +0100
commitbb413fe7b0ea84327d91006cbbeaf084d32267d8 (patch)
treea924311ee6299b8a109b13f4454ab5d1b4a47b06
parent51559c99acfa5a38ef2f1dadc2dabb6463c64a0f (diff)
enable networking in mock
-rw-r--r--fc26i72.cfg2
-rw-r--r--site-defaults.cfg2
2 files changed, 4 insertions, 0 deletions
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