summaryrefslogtreecommitdiffstats
path: root/fc42x83.cfg
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2025-02-13 14:13:41 +0100
committerRemi Collet <remi@php.net>2025-02-13 14:13:41 +0100
commit8e7d68e1446b1e3ff9ef8310213775cab8b3cfae (patch)
tree1586de403580baf530e18fdc624a35a54962ec2f /fc42x83.cfg
parent48107e7d71c775b5be13bec2aa32fc9d978b9453 (diff)
F42 modules config
Diffstat (limited to 'fc42x83.cfg')
-rw-r--r--fc42x83.cfg31
1 files changed, 31 insertions, 0 deletions
diff --git a/fc42x83.cfg b/fc42x83.cfg
new file mode 100644
index 0000000..1dc2b56
--- /dev/null
+++ b/fc42x83.cfg
@@ -0,0 +1,31 @@
+import datetime;
+
+include('fc42x.tpl')
+
+config_opts['root'] = 'fc42x83'
+config_opts['resultdir'] = "/var/lib/mock/fc42x83"
+config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/build/ccache.fc42x83/"
+
+config_opts['module_enable'] = ['php:remi-8.3']
+config_opts['module_install'] = ['php:remi-8.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-8.3"
+config_opts['macros']['%_module_version']="42" + nn;
+config_opts['macros']['%_module_context']="00000000"
+config_opts['macros']['%modularitylabel']="%{_module_name}:%{_module_stream}:%{_module_version}:%{_module_context}"
+
+config_opts['yum.conf'] += """
+[result-fc42x83]
+name=result-fc42x83
+baseurl=file:/var/lib/mock/fc42x83/
+enabled=1
+metadata_expire=1
+module_hotfixes=1
+priority=1
+skip_if_unavailable=True
+
+"""
+