summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2021-11-08 08:53:17 +0100
committerRemi Collet <remi@php.net>2021-11-08 08:53:17 +0100
commit660ce118e92fc94480e5781f80dedd37d93b2020 (patch)
tree9b8ae566c21b2c1496e7c78dd5593b4fcd7c449c
parent2b6ae0d40a3785c43aeefb9af4af1ca066ccc7a4 (diff)
EL-9 mock config for SCL
-rw-r--r--el9xscl80.cfg26
-rw-r--r--el9xscl81.cfg26
2 files changed, 52 insertions, 0 deletions
diff --git a/el9xscl80.cfg b/el9xscl80.cfg
new file mode 100644
index 0000000..e59082d
--- /dev/null
+++ b/el9xscl80.cfg
@@ -0,0 +1,26 @@
+include('el9x.tpl')
+
+config_opts['root'] = 'scl80el9x'
+config_opts['resultdir'] = "/var/lib/mock/scl80el9x"
+#config_opts['chroot_setup_cmd'] = 'install bash bzip2 ccache coreutils cpio diffutils redhat-release findutils gawk gcc grep gzip info make patch redhat-rpm-config rpm-build sed shadow-utils tar unzip util-linux which xz scl-utils-build nss crypto-policies php80-build php80-php-devel php80-php-pear'
+config_opts['chroot_setup_cmd'] = 'install bash bzip2 coreutils cpio diffutils redhat-release findutils gawk gcc grep gzip info make patch redhat-rpm-config rpm-build sed shadow-utils tar unzip util-linux which xz scl-utils-build nss crypto-policies php80-build php80-php-devel php80-php-pear'
+
+config_opts['module_enable'] = []
+
+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/1484370
+#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-scl80el9x]
+name=result-scl80el9x
+baseurl=file:/var/lib/mock/scl80el9x/
+metadata_expire=30
+enabled=1
+
+"""
diff --git a/el9xscl81.cfg b/el9xscl81.cfg
new file mode 100644
index 0000000..aabaa4d
--- /dev/null
+++ b/el9xscl81.cfg
@@ -0,0 +1,26 @@
+include('el9x.tpl')
+
+config_opts['root'] = 'scl81el9x'
+config_opts['resultdir'] = "/var/lib/mock/scl81el9x"
+#config_opts['chroot_setup_cmd'] = 'install bash bzip2 ccache coreutils cpio diffutils redhat-release findutils gawk gcc grep gzip info make patch redhat-rpm-config rpm-build sed shadow-utils tar unzip util-linux which xz scl-utils-build nss crypto-policies php81-build php81-php-devel php81-php-pear'
+config_opts['chroot_setup_cmd'] = 'install bash bzip2 coreutils cpio diffutils redhat-release findutils gawk gcc grep gzip info make patch redhat-rpm-config rpm-build sed shadow-utils tar unzip util-linux which xz scl-utils-build nss crypto-policies php81-build php81-php-devel php81-php-pear'
+
+config_opts['module_enable'] = []
+
+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/1484370
+#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-scl81el9x]
+name=result-scl81el9x
+baseurl=file:/var/lib/mock/scl81el9x/
+metadata_expire=30
+enabled=1
+
+"""