summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--el8a72.cfg28
-rw-r--r--el8a73.cfg28
-rw-r--r--el8ascl72.cfg25
-rw-r--r--el8ascl73.cfg25
4 files changed, 106 insertions, 0 deletions
diff --git a/el8a72.cfg b/el8a72.cfg
new file mode 100644
index 0000000..e44b560
--- /dev/null
+++ b/el8a72.cfg
@@ -0,0 +1,28 @@
+import datetime;
+
+include('el8a.tpl')
+
+config_opts['root'] = 'el8a72'
+config_opts['resultdir'] = "/var/lib/mock/el8a72"
+
+config_opts['module_enable'] = ['varnish:6', 'postgresql:10', 'python27:2.7', 'python36:3.6', 'virt:rhel', 'httpd:2.4', 'nginx:1.14', 'php:remi-7.2', 'redis:remi-7.0']
+config_opts['module_install'] = ['php:remi-7.2/devel']
+
+nn = datetime.datetime.now().strftime("%Y%m%d%H%M%S");
+config_opts['macros']['%_module_build']="1"
+config_opts['macros']['%_module_name']="php"
+config_opts['macros']['%_module_stream']="remi-7.2"
+config_opts['macros']['%_module_version']="80800" + nn;
+config_opts['macros']['%_module_context']="00000000"
+config_opts['macros']['%modularitylabel']="%{_module_name}:%{_module_stream}:%{_module_version}:%{_module_context}"
+
+config_opts['yum.conf'] += """
+[result-el8a72]
+name=result-el8a72
+baseurl=file:/var/lib/mock/el8a72/
+metadata_expire=15
+enabled=1
+module_hotfixes=1
+skip_if_unavailable=True
+"""
+
diff --git a/el8a73.cfg b/el8a73.cfg
new file mode 100644
index 0000000..d1daba8
--- /dev/null
+++ b/el8a73.cfg
@@ -0,0 +1,28 @@
+import datetime;
+
+include('el8a.tpl')
+
+config_opts['root'] = 'el8a73'
+config_opts['resultdir'] = "/var/lib/mock/el8a73"
+
+config_opts['module_enable'] = ['varnish:6', 'postgresql:10', 'python27:2.7', 'python36:3.6', 'virt:rhel', 'httpd:2.4', 'nginx:1.14', 'php:remi-7.3', 'redis:remi-7.0']
+config_opts['module_install'] = ['php:remi-7.3/devel']
+
+nn = datetime.datetime.now().strftime("%Y%m%d%H%M%S");
+config_opts['macros']['%_module_build']="1"
+config_opts['macros']['%_module_name']="php"
+config_opts['macros']['%_module_stream']="remi-7.3"
+config_opts['macros']['%_module_version']="80800" + nn;
+config_opts['macros']['%_module_context']="00000000"
+config_opts['macros']['%modularitylabel']="%{_module_name}:%{_module_stream}:%{_module_version}:%{_module_context}"
+
+config_opts['yum.conf'] += """
+[result-el8a73]
+name=result-el8a73
+baseurl=file:/var/lib/mock/el8a73/
+metadata_expire=15
+enabled=1
+module_hotfixes=1
+skip_if_unavailable=True
+"""
+
diff --git a/el8ascl72.cfg b/el8ascl72.cfg
new file mode 100644
index 0000000..9c4f72a
--- /dev/null
+++ b/el8ascl72.cfg
@@ -0,0 +1,25 @@
+include('el8a.tpl')
+
+config_opts['root'] = 'scl72el8a'
+config_opts['resultdir'] = "/var/lib/mock/scl72el8a"
+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 php72-build php72-php-devel php72-php-pear'
+
+config_opts['module_enable'] = ['subversion:1.10', 'php:7.2', 'varnish:6', 'swig', 'javapackages-runtime', 'mariadb:10.3', 'nodejs:10', 'postgresql:10', 'python27:2.7', 'python36:3.6', 'virt:rhel', 'httpd:2.4', 'nginx:1.14', 'redis:remi-7.0']
+
+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-scl72el8a]
+name=result-scl72el8a
+baseurl=file:/var/lib/mock/scl72el8a/
+metadata_expire=30
+enabled=1
+skip_if_unavailable=True
+"""
diff --git a/el8ascl73.cfg b/el8ascl73.cfg
new file mode 100644
index 0000000..9b48432
--- /dev/null
+++ b/el8ascl73.cfg
@@ -0,0 +1,25 @@
+include('el8a.tpl')
+
+config_opts['root'] = 'scl73el8a'
+config_opts['resultdir'] = "/var/lib/mock/scl73el8a"
+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 php73-build php73-php-devel php73-php-pear'
+
+config_opts['module_enable'] = ['subversion:1.10', 'php:7.2', 'varnish:6', 'swig', 'javapackages-runtime', 'mariadb:10.3', 'nodejs:10', 'postgresql:10', 'python27:2.7', 'python36:3.6', 'virt:rhel', 'httpd:2.4', 'nginx:1.14', 'redis:remi-7.0']
+
+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-scl73el8a]
+name=result-scl73el8a
+baseurl=file:/var/lib/mock/scl73el8a/
+metadata_expire=30
+enabled=1
+skip_if_unavailable=True
+"""