From 660ce118e92fc94480e5781f80dedd37d93b2020 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 8 Nov 2021 08:53:17 +0100 Subject: EL-9 mock config for SCL --- el9xscl80.cfg | 26 ++++++++++++++++++++++++++ el9xscl81.cfg | 26 ++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 el9xscl80.cfg create mode 100644 el9xscl81.cfg 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 + +""" -- cgit