summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2022-02-11 15:22:30 +0100
committerRemi Collet <remi@php.net>2022-02-11 15:22:30 +0100
commit0a8c59180735125dad1c564971be208524f33c25 (patch)
tree8fed444e93a96b58b134b1917e67869b24b809df
parent1e1eae3da8ca4108dda57a7fd5f870cb19e1398b (diff)
F36 SCL mock config
-rw-r--r--fc36xr.cfg26
-rw-r--r--fc36xscl74.cfg23
-rw-r--r--fc36xscl80.cfg23
-rw-r--r--fc36xscl81.cfg23
4 files changed, 95 insertions, 0 deletions
diff --git a/fc36xr.cfg b/fc36xr.cfg
new file mode 100644
index 0000000..87ae569
--- /dev/null
+++ b/fc36xr.cfg
@@ -0,0 +1,26 @@
+include('fc36x.tpl')
+
+config_opts['macros']['%_with_rpmfusion']="1"
+
+config_opts['yum.conf'] += """
+[rpmfusion-free]
+name=rpmfusion-free
+mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=free-fedora-36&arch=x86_64
+enabled=1
+
+[rpmfusion-free-updates]
+name=rpmfusion-free-updates
+mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=free-fedora-updates-released-36&arch=x86_64
+enabled=0
+
+[rpmfusion-nonfree]
+name=rpmfusion-nonfree
+mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-fedora-36&arch=x86_64
+enabled=0
+
+[rpmfusion-nonfree-updates]
+name=rpmfusion-nonfree
+mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-fedora-updates-released-36&arch=x86_64
+enabled=0
+
+"""
diff --git a/fc36xscl74.cfg b/fc36xscl74.cfg
new file mode 100644
index 0000000..0225cfd
--- /dev/null
+++ b/fc36xscl74.cfg
@@ -0,0 +1,23 @@
+include('fc36x.tpl')
+
+config_opts['root'] = 'scl74fc36x'
+config_opts['chroot_setup_cmd'] = 'install @buildsys-build ccache scl-utils-build php74-build php74-php-devel php74-php-pear'
+config_opts['resultdir'] = "/var/lib/mock/scl74fc36x"
+
+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-scl74fc36x]
+name=result-scl74fc36x
+baseurl=file:///var/lib/mock/scl74fc36x/
+enabled=1
+metadata_expire=10
+
+"""
diff --git a/fc36xscl80.cfg b/fc36xscl80.cfg
new file mode 100644
index 0000000..b4928bf
--- /dev/null
+++ b/fc36xscl80.cfg
@@ -0,0 +1,23 @@
+include('fc36x.tpl')
+
+config_opts['root'] = 'scl80fc36x'
+config_opts['chroot_setup_cmd'] = 'install @buildsys-build ccache scl-utils-build php80-build php80-php-devel php80-php-pear'
+config_opts['resultdir'] = "/var/lib/mock/scl80fc36x"
+
+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-scl80fc36x]
+name=result-scl80fc36x
+baseurl=file:///var/lib/mock/scl80fc36x/
+enabled=1
+metadata_expire=10
+
+"""
diff --git a/fc36xscl81.cfg b/fc36xscl81.cfg
new file mode 100644
index 0000000..cd90cfe
--- /dev/null
+++ b/fc36xscl81.cfg
@@ -0,0 +1,23 @@
+include('fc36x.tpl')
+
+config_opts['root'] = 'scl81fc36x'
+config_opts['chroot_setup_cmd'] = 'install @buildsys-build ccache scl-utils-build php81-build php81-php-devel php81-php-pear'
+config_opts['resultdir'] = "/var/lib/mock/scl81fc36x"
+
+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-scl81fc36x]
+name=result-scl81fc36x
+baseurl=file:///var/lib/mock/scl81fc36x/
+enabled=1
+metadata_expire=10
+
+"""