summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2021-12-22 11:22:05 +0100
committerRemi Collet <remi@php.net>2021-12-22 11:22:05 +0100
commitb6e297f41a618fa932e8e1ddac629c6fd07d22e7 (patch)
tree83fd1e8ffa8019169d3833f278f0842ea52e8131
parent3284f6d668b1723c3528ba4e887dd5e2eac19111 (diff)
more 7.4 configHEADmaster
-rw-r--r--el9x74.cfg31
-rw-r--r--el9xscl74.cfg26
-rw-r--r--fc35x74.cfg23
3 files changed, 80 insertions, 0 deletions
diff --git a/el9x74.cfg b/el9x74.cfg
new file mode 100644
index 0000000..252f7b0
--- /dev/null
+++ b/el9x74.cfg
@@ -0,0 +1,31 @@
+import datetime;
+
+include('el9x.tpl')
+
+config_opts['root'] = 'el9x74'
+config_opts['resultdir'] = "/var/lib/mock/el9x74"
+
+config_opts['module_enable'] = ['php:remi-7.4']
+
+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']="90000" + 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
+baseurl=file:/home/rpmbuild/site/rpms/enterprise/9/php74/x86_64/
+enabled=0
+metadata_expire=15
+
+[result-el9x74]
+name=result-el9x
+baseurl=file:/var/lib/mock/el9x74/
+metadata_expire=15
+enabled=1
+
+"""
diff --git a/el9xscl74.cfg b/el9xscl74.cfg
new file mode 100644
index 0000000..afdb6dd
--- /dev/null
+++ b/el9xscl74.cfg
@@ -0,0 +1,26 @@
+include('el9x.tpl')
+
+config_opts['root'] = 'scl74el9x'
+config_opts['resultdir'] = "/var/lib/mock/scl74el9x"
+#onfig_opts['chroot_setup_cmd'] = 'install bash bzip2 coreutils cpio diffutils redhat-release findutils gawk gcc grep gzip info make patch redhat-rpm-config rpm-build sed shadow-utils tar unzip util-linux which xz scl-utils-build nss crypto-policies php74-build php74-php-devel php74-php-pear'
+config_opts['chroot_setup_cmd'] = 'install bash bzip2 coreutils cpio diffutils redhat-release findutils gawk gcc grep gzip info make patch redhat-rpm-config rpm-build sed shadow-utils tar unzip util-linux which xz scl-utils-build nss crypto-policies php74-build php74-php-devel php74-php-pear'
+
+config_opts['module_enable'] = []
+
+config_opts['macros']['%scl_vendor']="remi"
+config_opts['macros']['%_scl_prefix']="/opt/remi"
+config_opts['macros']['%nophptag']="1"
+# Official (but temporary) workaround for https://bugzilla.redhat.com/1484370
+#config_opts['macros']['%_debugsource_packages']="%nil"
+# workaround for https://bugzilla.redhat.com/1485310
+config_opts['macros']['%_build_id_links']='none'
+
+config_opts['yum.conf'] += """
+
+[result-scl74el9x]
+name=result-scl74el9x
+baseurl=file:/var/lib/mock/scl74el9x/
+metadata_expire=30
+enabled=1
+
+"""
diff --git a/fc35x74.cfg b/fc35x74.cfg
new file mode 100644
index 0000000..dd805f9
--- /dev/null
+++ b/fc35x74.cfg
@@ -0,0 +1,23 @@
+include('fc35x.tpl')
+
+config_opts['root'] = 'fc35x74'
+config_opts['resultdir'] = "/var/lib/mock/fc35x74"
+config_opts['chroot_setup_cmd'] = 'install @buildsys-build gcc ccache php-devel php-pear'
+
+config_opts['yum.conf'] += """
+[remi-php74]
+name=remi php74
+baseurl=file:/home/rpmbuild/site/rpms/fedora/35/php74/x86_64/
+enabled=1
+metadata_expire=1
+priority=2
+
+[result-fc35x74]
+name=result-fc35x74
+baseurl=file:/var/lib/mock/fc35x74/
+metadata_expire=10
+enabled=1
+priority=1
+
+"""
+