summaryrefslogtreecommitdiffstats
path: root/el9a80.cfg
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2022-07-27 16:27:13 +0200
committerRemi Collet <remi@php.net>2022-07-27 16:27:13 +0200
commit6561c4404b9c127d253981d17bb29079f7609937 (patch)
treeab192209a16e2723ea6d9724700aad473ae40ddf /el9a80.cfg
parentd31cdc08073bd320ec40634dbcf492f2210b81c5 (diff)
EL-9 mock config
Diffstat (limited to 'el9a80.cfg')
-rw-r--r--el9a80.cfg27
1 files changed, 27 insertions, 0 deletions
diff --git a/el9a80.cfg b/el9a80.cfg
new file mode 100644
index 0000000..db1b483
--- /dev/null
+++ b/el9a80.cfg
@@ -0,0 +1,27 @@
+import datetime;
+
+include('el9a.tpl')
+
+config_opts['root'] = 'el9a80'
+config_opts['resultdir'] = "/var/lib/mock/el9a80"
+
+config_opts['module_enable'] = ['php:remi-8.0']
+
+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-8.0"
+config_opts['macros']['%_module_version']="90000" + nn;
+config_opts['macros']['%_module_context']="00000000"
+config_opts['macros']['%modularitylabel']="%{_module_name}:%{_module_stream}:%{_module_version}:%{_module_context}"
+
+config_opts['yum.conf'] += """
+[result-el9a80]
+name=result-el9a80
+baseurl=file:/var/lib/mock/el9a80/
+metadata_expire=15
+skip_if_unavailable=True
+enabled=1
+module_hotfixes=1
+
+"""