summaryrefslogtreecommitdiffstats
path: root/el8x73.cfg
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-07-24 11:18:55 +0200
committerRemi Collet <remi@remirepo.net>2020-07-24 11:18:55 +0200
commite620238f5025dc5507feb59270b22ca0baed20ef (patch)
tree97e49c191d6f2c3dcd779356efefefd39e60517f /el8x73.cfg
parent42fcbb1aacaaf56c60e7ab1d22afdb8a141dc2f2 (diff)
add modularitylabel for EL-8 builds
Diffstat (limited to 'el8x73.cfg')
-rw-r--r--el8x73.cfg10
1 files changed, 10 insertions, 0 deletions
diff --git a/el8x73.cfg b/el8x73.cfg
index ceb1007..6bc1599 100644
--- a/el8x73.cfg
+++ b/el8x73.cfg
@@ -1,3 +1,5 @@
+import datetime;
+
include('el8x.tpl')
config_opts['root'] = 'el8x73'
@@ -5,6 +7,14 @@ config_opts['resultdir'] = "/var/lib/mock/el8x73"
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-5.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-7.3"
+config_opts['macros']['%_module_version']="80200" + nn;
+config_opts['macros']['%_module_context']="00000000"
+config_opts['macros']['%modularitylabel']="%{_module_name}:%{_module_stream}:%{_module_version}:%{_module_context}"
+
config_opts['yum.conf'] += """
[remi-php73]
name=remi php73