summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2022-05-11 12:17:00 +0200
committerRemi Collet <remi@php.net>2022-05-11 12:17:00 +0200
commitcabfd7c62176cf2936357aab8c60aabaebc7ba75 (patch)
tree6fcf7ba3ef0015e48b8a14e594713b3cd2f72137
parent852470937f569ef4695df6fe7cd31e241dabbc08 (diff)
scl php82 config
-rw-r--r--el7xscl82.cfg119
-rw-r--r--el8xscl82.cfg25
-rw-r--r--el9xscl82.cfg25
-rw-r--r--fc35xscl82.cfg23
-rw-r--r--fc36xscl82.cfg23
5 files changed, 215 insertions, 0 deletions
diff --git a/el7xscl82.cfg b/el7xscl82.cfg
new file mode 100644
index 0000000..be74afb
--- /dev/null
+++ b/el7xscl82.cfg
@@ -0,0 +1,119 @@
+include('el7x.tpl')
+
+config_opts['root'] = 'scl82el7x'
+config_opts['chroot_setup_cmd'] = 'install @buildsys-build ccache scl-utils-build devtoolset-10-toolchain ccache php82-build php82-php-devel php82-php-pear'
+config_opts['resultdir'] = "/var/lib/mock/scl82el7x"
+
+config_opts['macros']['%scl_vendor']="remi"
+config_opts['macros']['%_scl_prefix']="/opt/remi"
+config_opts['macros']['%nophptag']="1"
+config_opts['macros']['%dtsversion']="10"
+config_opts['macros']['%dtsenable']="source /opt/rh/devtoolset-10/enable"
+config_opts['macros']['%dtsprefix']="devtoolset-10-"
+
+config_opts['yum.conf'] = """
+[main]
+cachedir=/var/cache/yum
+debuglevel=1
+reposdir=/dev/null
+logfile=/var/log/yum.log
+retries=20
+obsoletes=1
+gpgcheck=0
+assumeyes=1
+syslog_ident=mock
+syslog_device=
+
+# repos
+[rhel-7]
+name=rhel-7
+baseurl=file:///mnt/rhel-7-x86_64/
+enabled=1
+exclude=libicu-devel
+
+[rc]
+name=rc
+baseurl=http://ftp.redhat.com/redhat/rhel/rc/7/Server/x86_64/os/
+enabled=0
+
+[rc-optional]
+name=rc-optional
+baseurl=http://ftp.redhat.com/redhat/rhel/rc/7/Server-optional/x86_64/os/
+enabled=0
+
+[centos-base]
+name=BaseOS
+mirrorlist=http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os
+enabled=0
+
+[centos-updates]
+name=updates
+mirrorlist=http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=updates
+enabled=0
+
+[epel]
+name=epel
+mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-7&arch=x86_64
+exclude=epel-rpm-macros
+enabled=1
+
+[epel-testing]
+name=epel-testing
+mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=testing-epel6&arch=x86_64
+enabled=0
+
+[remi]
+name=remi public
+baseurl=file:///home/rpmbuild/site/rpms/enterprise/7/remi/x86_64/
+exclude=libicu-last-devel
+enabled=1
+
+[remi-test]
+name=remi test
+baseurl=file:///home/rpmbuild/site/rpms/enterprise/7/test/x86_64/
+enabled=0
+
+[remi-priv]
+name=remi prive
+baseurl=file:///home/rpmbuild/site/rpms/priv/el7.x86_64/
+enabled=1
+
+[rpmfusion-free]
+name=rpmfusion-free
+mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=free-el-6&arch=x86_64
+enabled=0
+
+[rpmfusion-free-updates]
+name=rpmfusion-free-updates
+mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=free-el-updates-released-6&arch=x86_64
+enabled=0
+
+[local]
+name=local
+baseurl=http://kojipkgs.fedoraproject.org/repos/dist-6E-epel-build/latest/x86_64/
+cost=2000
+enabled=0
+
+[result-el7x]
+name=result
+baseurl=file:///var/lib/mock/el7x/
+enabled=1
+
+[result-scl82el7x]
+name=result
+baseurl=file:///var/lib/mock/scl82el7x/
+enabled=1
+
+[centos-sclo-rh]
+name=CentOS-7 - SCLo rh
+baseurl=http://mirror.centos.org/centos/7/sclo/$basearch/rh/
+enabled=0
+
+[msprod]
+name=msprod
+baseurl=https://packages.microsoft.com/rhel/7/prod/
+enabled=0
+includepkgs=msodbcsql17
+
+"""
+
diff --git a/el8xscl82.cfg b/el8xscl82.cfg
new file mode 100644
index 0000000..da76b28
--- /dev/null
+++ b/el8xscl82.cfg
@@ -0,0 +1,25 @@
+include('el8x.tpl')
+
+config_opts['root'] = 'scl82el8x'
+config_opts['resultdir'] = "/var/lib/mock/scl82el8x"
+config_opts['chroot_setup_cmd'] = 'install bash bzip2 ccache 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 php82-build php82-php-devel php82-php-pear'
+
+config_opts['module_enable'] = ['subversion:1.10', 'php:7.2', 'varnish:6', 'swig', 'javapackages-runtime', 'mariadb:10.3', 'nodejs:10', 'postgresql:10', 'python27:2.7', 'python36:3.6', 'virt:rhel', 'httpd:2.4', 'nginx:1.14', 'redis:remi-6.0']
+
+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-scl82el8x]
+name=result-scl82el8x
+baseurl=file:/var/lib/mock/scl82el8x/
+metadata_expire=30
+enabled=1
+
+"""
diff --git a/el9xscl82.cfg b/el9xscl82.cfg
new file mode 100644
index 0000000..0cafbdb
--- /dev/null
+++ b/el9xscl82.cfg
@@ -0,0 +1,25 @@
+include('el9x.tpl')
+
+config_opts['root'] = 'scl82el9x'
+config_opts['resultdir'] = "/var/lib/mock/scl82el9x"
+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 php82-build php82-php-devel php82-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-scl82el9x]
+name=result-scl82el9x
+baseurl=file:/var/lib/mock/scl82el9x/
+metadata_expire=30
+enabled=1
+
+"""
diff --git a/fc35xscl82.cfg b/fc35xscl82.cfg
new file mode 100644
index 0000000..8ca2c4f
--- /dev/null
+++ b/fc35xscl82.cfg
@@ -0,0 +1,23 @@
+include('fc35x.tpl')
+
+config_opts['root'] = 'scl82fc35x'
+config_opts['chroot_setup_cmd'] = 'install @buildsys-build ccache scl-utils-build php82-build php82-php-devel php82-php-pear'
+config_opts['resultdir'] = "/var/lib/mock/scl82fc35x"
+
+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-scl82fc35x]
+name=result-scl82fc35x
+baseurl=file:///var/lib/mock/scl82fc35x/
+enabled=1
+metadata_expire=10
+
+"""
diff --git a/fc36xscl82.cfg b/fc36xscl82.cfg
new file mode 100644
index 0000000..640d6a1
--- /dev/null
+++ b/fc36xscl82.cfg
@@ -0,0 +1,23 @@
+include('fc36x.tpl')
+
+config_opts['root'] = 'scl82fc36x'
+config_opts['chroot_setup_cmd'] = 'install @buildsys-build ccache scl-utils-build php82-build php82-php-devel php82-php-pear'
+config_opts['resultdir'] = "/var/lib/mock/scl82fc36x"
+
+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-scl82fc36x]
+name=result-scl82fc36x
+baseurl=file:///var/lib/mock/scl82fc36x/
+enabled=1
+metadata_expire=10
+
+"""