From 74430e901d38e9f76047a6beccb3ca02c47a076e Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 25 Sep 2025 09:15:19 +0200 Subject: add PHP 8.5 module config files --- el9x85.cfg | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 el9x85.cfg (limited to 'el9x85.cfg') diff --git a/el9x85.cfg b/el9x85.cfg new file mode 100644 index 0000000..7a028cb --- /dev/null +++ b/el9x85.cfg @@ -0,0 +1,37 @@ +import datetime; + +include('el9x.tpl') + +config_opts['root'] = 'el9x85' +config_opts['resultdir'] = "/var/lib/mock/el9x85" + +config_opts['module_enable'] = ['php:remi-8.5', 'redis:remi-7.2'] +config_opts['module_install'] = ['php:remi-8.5/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.5" +config_opts['macros']['%_module_version']="90600" + nn; +config_opts['macros']['%_module_context']="00000000" +config_opts['macros']['%modularitylabel']="%{_module_name}:%{_module_stream}:%{_module_version}:%{_module_context}" + +config_opts['macros']['%dist']=".module_php.8.5.el9.remi" +config_opts['macros']['%nophptag']="1" + +config_opts['yum.conf'] += """ +[remi-php85] +name=remi php85 +baseurl=file:/home/rpmbuild/site/rpms/enterprise/9/php85/x86_64/ +enabled=0 +metadata_expire=15 + +[result-el9x85] +name=result-el9x +baseurl=file:/var/lib/mock/el9x85/ +metadata_expire=15 +enabled=1 +module_hotfixes=1 +skip_if_unavailable=True + +""" -- cgit