summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-03-26 12:29:11 +0100
committerRemi Collet <remi@remirepo.net>2020-03-26 12:29:11 +0100
commitd169757fa021ff6c7640212c38f8d530b85373e1 (patch)
treee27f799eae6e32df6d8af094e77b1c847bab952a
parent0f9e88386b574abfa20fc80ad9be295e22a04846 (diff)
add temporary mock config for EPEL-8 target
-rw-r--r--el8x.tpl2
-rw-r--r--epel872.cfg21
-rw-r--r--epel873.cfg21
3 files changed, 43 insertions, 1 deletions
diff --git a/el8x.tpl b/el8x.tpl
index 45e8298..ebd74fa 100644
--- a/el8x.tpl
+++ b/el8x.tpl
@@ -30,7 +30,7 @@ config_opts['macros']['%runselftest']="1"
config_opts['environment']['ACCEPT_EULA'] = 'Y'
-config_opts['module_enable'] = ['swig', 'javapackages-runtime', 'mariadb:10.3', 'nodejs:10', 'postgresql:10', 'python27:2.7', 'python36:3.6', 'virt:rhel', 'httpd:2.4', 'nginx:1.14', 'php:remi-7.2', 'redis:remi-5.0']
+config_opts['module_enable'] = ['swig', 'javapackages-runtime', 'mariadb:10.3', 'nodejs:10', 'postgresql:10', 'python27:2.7', 'python36:3.6', 'virt:rhel', 'httpd:2.4', 'nginx:1.14', 'php:remi-7.3', 'redis:remi-5.0']
config_opts['yum.conf'] = """
[main]
diff --git a/epel872.cfg b/epel872.cfg
new file mode 100644
index 0000000..e094434
--- /dev/null
+++ b/epel872.cfg
@@ -0,0 +1,21 @@
+include('el8x.tpl')
+
+config_opts['root'] = 'epel872'
+config_opts['resultdir'] = "/var/lib/mock/epel872"
+config_opts['module_enable'] = ['swig', 'javapackages-runtime', 'mariadb:10.3', 'nodejs:10', 'postgresql:10', 'python27:2.7', 'python36:3.6', 'virt:rhel', 'httpd:2.4', 'nginx:1.14', 'php:7.2', 'redis:remi-5.0']
+config_opts['macros']['%dist']=".epel8.7.2"
+
+config_opts['yum.conf'] += """
+[remi-epel872]
+name=remi-epel872
+baseurl=file:/home/rpmbuild/site/rpms/temp/epel-8-php-7.2
+enabled=0
+metadata_expire=15
+
+[result-epel872]
+name=result-epel872
+baseurl=file:/var/lib/mock/epel872/
+metadata_expire=15
+enabled=1
+
+"""
diff --git a/epel873.cfg b/epel873.cfg
new file mode 100644
index 0000000..3ec92f3
--- /dev/null
+++ b/epel873.cfg
@@ -0,0 +1,21 @@
+include('el8x.tpl')
+
+config_opts['root'] = 'epel873'
+config_opts['resultdir'] = "/var/lib/mock/epel873"
+config_opts['module_enable'] = ['swig', 'javapackages-runtime', 'mariadb:10.3', 'nodejs:10', 'postgresql:10', 'python27:2.7', 'python36:3.6', 'virt:rhel', 'httpd:2.4', 'nginx:1.14', 'php:7.3', 'redis:remi-5.0']
+config_opts['macros']['%dist']=".epel8.7.3"
+
+config_opts['yum.conf'] += """
+[remi-epel873]
+name=remi-epel873
+baseurl=file:/home/rpmbuild/site/rpms/temp/epel-8-php-7.3
+enabled=0
+metadata_expire=15
+
+[result-epel873]
+name=result-epel873
+baseurl=file:/var/lib/mock/epel873/
+metadata_expire=15
+enabled=1
+
+"""