summaryrefslogtreecommitdiffstats
path: root/fc40xscl81.cfg
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2024-02-14 09:46:32 +0100
committerRemi Collet <remi@php.net>2024-02-14 09:46:32 +0100
commit28aa6eaf965662a4b9453453a13813a822b3edfc (patch)
treeeff30b601edfc13cd5b887eb4aae57395542f749 /fc40xscl81.cfg
parent8a461c45099368240a5e3bc845dffdbb0a59dc3f (diff)
F40 mock config
Diffstat (limited to 'fc40xscl81.cfg')
-rw-r--r--fc40xscl81.cfg26
1 files changed, 26 insertions, 0 deletions
diff --git a/fc40xscl81.cfg b/fc40xscl81.cfg
new file mode 100644
index 0000000..875a915
--- /dev/null
+++ b/fc40xscl81.cfg
@@ -0,0 +1,26 @@
+include('fc40x.tpl')
+
+config_opts['root'] = 'scl81fc40x'
+config_opts['chroot_setup_cmd'] = 'install @buildsys-build ccache scl-utils-build php81-build php81-php-devel php81-php-pear'
+config_opts['resultdir'] = "/var/lib/mock/scl81fc40x"
+config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.fc40xscl81/"
+
+# 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/1484400
+#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-scl81fc40x]
+name=result-scl81fc40x
+baseurl=file:///var/lib/mock/scl81fc40x/
+enabled=1
+metadata_expire=10
+skip_if_unavailable=True
+
+"""