summaryrefslogtreecommitdiffstats
path: root/fc38xscl83.cfg
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2023-06-05 17:47:01 +0200
committerRemi Collet <remi@php.net>2023-06-05 17:47:01 +0200
commit8f1fd4f87289e467c94c8658d63b2e3fdc97240d (patch)
treeb55512c0a9237d9adbc9f2232c0074ab10288369 /fc38xscl83.cfg
parent0f325b2116770fe57c3d4850c5034876d23f12e1 (diff)
scl83 mock config
Diffstat (limited to 'fc38xscl83.cfg')
-rw-r--r--fc38xscl83.cfg26
1 files changed, 26 insertions, 0 deletions
diff --git a/fc38xscl83.cfg b/fc38xscl83.cfg
new file mode 100644
index 0000000..7129da5
--- /dev/null
+++ b/fc38xscl83.cfg
@@ -0,0 +1,26 @@
+include('fc38x.tpl')
+
+config_opts['root'] = 'scl83fc38x'
+config_opts['chroot_setup_cmd'] = 'install @buildsys-build ccache scl-utils-build php83-build php83-php-devel php83-php-pear'
+config_opts['resultdir'] = "/var/lib/mock/scl83fc38x"
+config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.fc38xscl83/"
+
+# Only needed to build main SCL package
+config_opts['macros']['%scl_vendor']="remi"
+config_opts['macros']['%_scl_prefix']="/opt/remi"
+
+config_opts['macros']['%nophptag']="1"
+# Official (but temporary) workaround for https://bugzilla.redhat.com/1484380
+#config_opts['macros']['%_debugsource_packages']="%nil"
+# workaround for https://bugzilla.redhat.com/1485310
+config_opts['macros']['%_build_id_links']='none'
+
+config_opts['yum.conf'] += """
+[result-scl83fc38x]
+name=result-scl83fc38x
+baseurl=file:///var/lib/mock/scl83fc38x/
+enabled=1
+metadata_expire=10
+skip_if_unavailable=True
+
+"""