diff options
author | Remi Collet <remi@remirepo.net> | 2020-07-24 11:18:55 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2020-07-24 11:18:55 +0200 |
commit | e620238f5025dc5507feb59270b22ca0baed20ef (patch) | |
tree | 97e49c191d6f2c3dcd779356efefefd39e60517f | |
parent | 42fcbb1aacaaf56c60e7ab1d22afdb8a141dc2f2 (diff) |
add modularitylabel for EL-8 builds
-rw-r--r-- | el8x72.cfg | 10 | ||||
-rw-r--r-- | el8x73.cfg | 10 | ||||
-rw-r--r-- | el8x74.cfg | 10 |
3 files changed, 30 insertions, 0 deletions
@@ -1,3 +1,5 @@ +import datetime; + include('el8x.tpl') config_opts['root'] = 'el8x72' @@ -5,6 +7,14 @@ config_opts['resultdir'] = "/var/lib/mock/el8x72" 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.2', '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.2" +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-php72] name=remi php72 @@ -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 @@ -1,3 +1,5 @@ +import datetime; + include('el8x.tpl') config_opts['root'] = 'el8x74' @@ -5,6 +7,14 @@ config_opts['resultdir'] = "/var/lib/mock/el8x74" 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.4', '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.4" +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-php74] name=remi php74 |