summaryrefslogtreecommitdiffstats
path: root/fc39xscl74.cfg
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2023-08-22 15:11:22 +0200
committerRemi Collet <remi@php.net>2023-08-22 15:11:22 +0200
commit4c69d8c7595f5d2b5f41ed84d2cc9d326995957a (patch)
treecb814b02341bf197bbe69780d57550e20a2e3e9a /fc39xscl74.cfg
parentb1f94e991acc30a2c49a5768c369b30f650316f4 (diff)
Fedora 39 mock config
Diffstat (limited to 'fc39xscl74.cfg')
-rw-r--r--fc39xscl74.cfg26
1 files changed, 26 insertions, 0 deletions
diff --git a/fc39xscl74.cfg b/fc39xscl74.cfg
new file mode 100644
index 0000000..549c360
--- /dev/null
+++ b/fc39xscl74.cfg
@@ -0,0 +1,26 @@
+include('fc39x.tpl')
+
+config_opts['root'] = 'scl74fc39x'
+config_opts['chroot_setup_cmd'] = 'install @buildsys-build ccache scl-utils-build php74-build php74-php-devel php74-php-pear'
+config_opts['resultdir'] = "/var/lib/mock/scl74fc39x"
+config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.fc39xscl74/"
+
+# 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/1484390
+#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-scl74fc39x]
+name=result-scl74fc39x
+baseurl=file:///var/lib/mock/scl74fc39x/
+enabled=1
+metadata_expire=10
+skip_if_unavailable=True
+
+"""