From 28aa6eaf965662a4b9453453a13813a822b3edfc Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 14 Feb 2024 09:46:32 +0100 Subject: F40 mock config --- fc40a.cfg | 5 +++ fc40a.tpl | 113 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ fc40a74.cfg | 32 ++++++++++++++++ fc40a80.cfg | 32 ++++++++++++++++ fc40a81.cfg | 32 ++++++++++++++++ fc40a82.cfg | 32 ++++++++++++++++ fc40a83.cfg | 32 ++++++++++++++++ fc40am.cfg | 15 ++++++++ fc40ar60.cfg | 15 ++++++++ fc40ar62.cfg | 15 ++++++++ fc40ar70.cfg | 15 ++++++++ fc40ar72.cfg | 15 ++++++++ fc40ascl74.cfg | 26 +++++++++++++ fc40ascl80.cfg | 26 +++++++++++++ fc40ascl81.cfg | 26 +++++++++++++ fc40ascl82.cfg | 26 +++++++++++++ fc40ascl83.cfg | 26 +++++++++++++ fc40x.cfg | 5 +++ fc40x.tpl | 112 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ fc40x74.cfg | 32 ++++++++++++++++ fc40x80.cfg | 32 ++++++++++++++++ fc40x81.cfg | 32 ++++++++++++++++ fc40x82.cfg | 32 ++++++++++++++++ fc40x83.cfg | 32 ++++++++++++++++ fc40xm.cfg | 15 ++++++++ fc40xr60.cfg | 15 ++++++++ fc40xr62.cfg | 15 ++++++++ fc40xr70.cfg | 15 ++++++++ fc40xr72.cfg | 15 ++++++++ fc40xscl74.cfg | 26 +++++++++++++ fc40xscl80.cfg | 26 +++++++++++++ fc40xscl81.cfg | 26 +++++++++++++ fc40xscl82.cfg | 26 +++++++++++++ fc40xscl83.cfg | 26 +++++++++++++ 34 files changed, 965 insertions(+) create mode 100644 fc40a.cfg create mode 100644 fc40a.tpl create mode 100644 fc40a74.cfg create mode 100644 fc40a80.cfg create mode 100644 fc40a81.cfg create mode 100644 fc40a82.cfg create mode 100644 fc40a83.cfg create mode 100644 fc40am.cfg create mode 100644 fc40ar60.cfg create mode 100644 fc40ar62.cfg create mode 100644 fc40ar70.cfg create mode 100644 fc40ar72.cfg create mode 100644 fc40ascl74.cfg create mode 100644 fc40ascl80.cfg create mode 100644 fc40ascl81.cfg create mode 100644 fc40ascl82.cfg create mode 100644 fc40ascl83.cfg create mode 100644 fc40x.cfg create mode 100644 fc40x.tpl create mode 100644 fc40x74.cfg create mode 100644 fc40x80.cfg create mode 100644 fc40x81.cfg create mode 100644 fc40x82.cfg create mode 100644 fc40x83.cfg create mode 100644 fc40xm.cfg create mode 100644 fc40xr60.cfg create mode 100644 fc40xr62.cfg create mode 100644 fc40xr70.cfg create mode 100644 fc40xr72.cfg create mode 100644 fc40xscl74.cfg create mode 100644 fc40xscl80.cfg create mode 100644 fc40xscl81.cfg create mode 100644 fc40xscl82.cfg create mode 100644 fc40xscl83.cfg diff --git a/fc40a.cfg b/fc40a.cfg new file mode 100644 index 0000000..f63c420 --- /dev/null +++ b/fc40a.cfg @@ -0,0 +1,5 @@ +include('fc40a.tpl') + +# Temp +#config_opts['chroot_setup_cmd'] = 'install @buildsys-build ccache' + diff --git a/fc40a.tpl b/fc40a.tpl new file mode 100644 index 0000000..252ad6d --- /dev/null +++ b/fc40a.tpl @@ -0,0 +1,113 @@ +include('vendor.tpl') + +config_opts['root'] = 'fc40a' +config_opts['target_arch'] = 'aarch64' +config_opts['chroot_setup_cmd'] = 'install @buildsys-build gcc' +config_opts['dist'] = 'fc40' # only useful for --resultdir variable subst +config_opts['extra_chroot_dirs'] = [ '/run/lock', ] +config_opts['releasever'] = '40' +config_opts['package_manager'] = 'dnf' + +config_opts['plugin_conf']['ccache_enable'] = True +config_opts['plugin_conf']['ccache_opts']['max_cache_size'] = '1G' +config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.fc40a/" + +config_opts['basedir'] = '/dev/shm/' +config_opts['resultdir'] = "/var/lib/mock/fc40a" +config_opts['cleanup_on_success'] = True +config_opts['cleanup_on_failure'] = False + +config_opts['createrepo_on_rpms'] = True +config_opts['createrepo_command'] = '/usr/bin/createrepo -d -q -x *.src.rpm' + +config_opts['macros']['%_topdir']="/builddir/build" +config_opts['macros']['%_smp_mflags']="-j10" +config_opts['macros']['%dist']=".fc40.remi" +config_opts['macros']['%fedora']="40" +config_opts['macros']['%_with_ibase']="1" +config_opts['macros']['%_with_oci8']="1" +config_opts['macros']['%runselftest']="1" + +config_opts['environment']['ACCEPT_EULA'] = 'Y' + +config_opts['yum.conf'] = """ +[main] +keepcache=1 +debuglevel=2 +reposdir=/dev/null +logfile=/var/log/yum.log +retries=20 +obsoletes=1 +gpgcheck=0 +assumeyes=1 +metadata_expire=80000 +fastestmirror=1 +max_parallel_downloads=6 + +# repos + +[fedora] +name=fedora +metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch +metadata_expire=80000 +##mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-40&arch=aarch64 +#baseurl=http://fr2.rpmfind.net/linux/fedora/releases/40/Everything/aarch64/os/ +# http://ftp.funet.fi/pub/mirrors/ftp.redhat.com/pub/fedora/linux/releases/40/Everything/aarch64/os/ +#baseurl=https://dl.fedoraproject.org/pub/fedora/linux/development/40/Everything/aarch64/os/ + +[updates] +name=updates +metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-released-f$releasever&arch=$basearch +#mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f40&arch=aarch64 +#baseurl=http://ftp.funet.fi/pub/mirrors/ftp.redhat.com/pub/fedora/linux/updates/1/aarch64/ +# http://mirrors.ircam.fr/pub/fedora/linux/updates/40/aarch64/ +# http://fr2.rpmfind.net/linux/fedora/updates/40/aarch64/ +#baseurl=https://dl.fedoraproject.org/pub/fedora/linux/updates/33/Everything/aarch64/ +enabled=1 + +[updates-testing] +name=updates-testing +#metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-f$releasever&arch=$basearch +#mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f40&arch=aarch64 +baseurl=https://dl.fedoraproject.org/pub/fedora/linux/updates/testing/40/Everything/aarch64/ +enabled=0 + +[remi] +name=remi public +baseurl=http://remi/repo/fedora/40/remi/aarch64/ +enabled=1 +skip_if_unavailable=True +metadata_expire=10 + +[remi-modular] +name=remi modular +baseurl=http://remi/repo/fedora/40/modular/aarch64/ +enabled=1 +skip_if_unavailable=True +metadata_expire=10 + +[remi-priv] +name=remi prive +baseurl=file:/home/remi/priv/fc40.aarch64/ +enabled=1 +metadata_expire=10 +skip_if_unavailable=True + +[remi-debuginfo] +name=remi-debuginfo +baseurl=http://remi/repo/fedora/40/debug-remi/aarch64/ +enabled=0 + +[result-fc40a] +name=result-fc40a +baseurl=file:/var/lib/mock/fc40a/ +metadata_expire=10 +enabled=1 +skip_if_unavailable=True + +[msprod] +name=msprod +baseurl=https://packages.microsoft.com/rhel/8/prod/ +enabled=0 + +""" diff --git a/fc40a74.cfg b/fc40a74.cfg new file mode 100644 index 0000000..01b1fda --- /dev/null +++ b/fc40a74.cfg @@ -0,0 +1,32 @@ +import datetime; + +include('fc40a.tpl') + +config_opts['chroot_setup_cmd'] = 'install @buildsys-build ccache' +config_opts['root'] = 'fc40a74' +config_opts['resultdir'] = "/var/lib/mock/fc40a74" +config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.fc40a74/" + +config_opts['module_enable'] = ['php:remi-7.4'] +config_opts['module_install'] = ['php:remi-7.4/devel'] + +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']="40" + nn; +config_opts['macros']['%_module_context']="00000000" +config_opts['macros']['%modularitylabel']="%{_module_name}:%{_module_stream}:%{_module_version}:%{_module_context}" + +config_opts['yum.conf'] += """ +[result-fc40a74] +name=result-fc40a74 +baseurl=file:/var/lib/mock/fc40a74/ +enabled=1 +metadata_expire=1 +module_hotfixes=1 +priority=1 +skip_if_unavailable=True + +""" + diff --git a/fc40a80.cfg b/fc40a80.cfg new file mode 100644 index 0000000..e16ae0e --- /dev/null +++ b/fc40a80.cfg @@ -0,0 +1,32 @@ +import datetime; + +include('fc40a.tpl') + +config_opts['chroot_setup_cmd'] = 'install @buildsys-build ccache' +config_opts['root'] = 'fc40a80' +config_opts['resultdir'] = "/var/lib/mock/fc40a80" +config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.fc40a80/" + +config_opts['module_enable'] = ['php:remi-8.0'] +config_opts['module_install'] = ['php:remi-8.0/devel'] + +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-8.0" +config_opts['macros']['%_module_version']="40" + nn; +config_opts['macros']['%_module_context']="00000000" +config_opts['macros']['%modularitylabel']="%{_module_name}:%{_module_stream}:%{_module_version}:%{_module_context}" + +config_opts['yum.conf'] += """ +[result-fc40a80] +name=result-fc40a80 +baseurl=file:/var/lib/mock/fc40a80/ +enabled=1 +metadata_expire=1 +module_hotfixes=1 +priority=1 +skip_if_unavailable=True + +""" + diff --git a/fc40a81.cfg b/fc40a81.cfg new file mode 100644 index 0000000..9d13ba2 --- /dev/null +++ b/fc40a81.cfg @@ -0,0 +1,32 @@ +import datetime; + +include('fc40a.tpl') + +config_opts['chroot_setup_cmd'] = 'install @buildsys-build ccache' +config_opts['root'] = 'fc40a81' +config_opts['resultdir'] = "/var/lib/mock/fc40a81" +config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.fc40a81/" + +config_opts['module_enable'] = ['php:remi-8.1'] +config_opts['module_install'] = ['php:remi-8.1/devel'] + +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-8.1" +config_opts['macros']['%_module_version']="40" + nn; +config_opts['macros']['%_module_context']="00000000" +config_opts['macros']['%modularitylabel']="%{_module_name}:%{_module_stream}:%{_module_version}:%{_module_context}" + +config_opts['yum.conf'] += """ +[result-fc40a81] +name=result-fc40a81 +baseurl=file:/var/lib/mock/fc40a81/ +enabled=1 +metadata_expire=1 +module_hotfixes=1 +priority=1 +skip_if_unavailable=True + +""" + diff --git a/fc40a82.cfg b/fc40a82.cfg new file mode 100644 index 0000000..07c695e --- /dev/null +++ b/fc40a82.cfg @@ -0,0 +1,32 @@ +import datetime; + +include('fc40a.tpl') + +config_opts['chroot_setup_cmd'] = 'install @buildsys-build ccache' +config_opts['root'] = 'fc40a82' +config_opts['resultdir'] = "/var/lib/mock/fc40a82" +config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.fc40a82/" + +config_opts['module_enable'] = ['php:remi-8.2'] +config_opts['module_install'] = ['php:remi-8.2/devel'] + +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-8.2" +config_opts['macros']['%_module_version']="40" + nn; +config_opts['macros']['%_module_context']="00000000" +config_opts['macros']['%modularitylabel']="%{_module_name}:%{_module_stream}:%{_module_version}:%{_module_context}" + +config_opts['yum.conf'] += """ +[result-fc40a82] +name=result-fc40a82 +baseurl=file:/var/lib/mock/fc40a82/ +enabled=1 +metadata_expire=1 +module_hotfixes=1 +priority=1 +skip_if_unavailable=True + +""" + diff --git a/fc40a83.cfg b/fc40a83.cfg new file mode 100644 index 0000000..1bcb437 --- /dev/null +++ b/fc40a83.cfg @@ -0,0 +1,32 @@ +import datetime; + +include('fc40a.tpl') + +config_opts['chroot_setup_cmd'] = 'install @buildsys-build ccache' +config_opts['root'] = 'fc40a83' +config_opts['resultdir'] = "/var/lib/mock/fc40a83" +config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.fc40a83/" + +config_opts['module_enable'] = ['php:remi-8.3'] +config_opts['module_install'] = ['php:remi-8.3/devel'] + +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-8.3" +config_opts['macros']['%_module_version']="40" + nn; +config_opts['macros']['%_module_context']="00000000" +config_opts['macros']['%modularitylabel']="%{_module_name}:%{_module_stream}:%{_module_version}:%{_module_context}" + +config_opts['yum.conf'] += """ +[result-fc40a83] +name=result-fc40a83 +baseurl=file:/var/lib/mock/fc40a83/ +enabled=1 +metadata_expire=1 +module_hotfixes=1 +priority=1 +skip_if_unavailable=True + +""" + diff --git a/fc40am.cfg b/fc40am.cfg new file mode 100644 index 0000000..6309036 --- /dev/null +++ b/fc40am.cfg @@ -0,0 +1,15 @@ +import datetime; + +include('fc40a.tpl') + +config_opts['root'] = 'fc40a' +config_opts['resultdir'] = "/var/lib/mock/fc40a" + +nn = datetime.datetime.now().strftime("%Y%m%d%H%M%S"); +config_opts['macros']['%_module_build']="1" +config_opts['macros']['%_module_name']="memcached" +config_opts['macros']['%_module_stream']="remi" +config_opts['macros']['%_module_version']="40" + nn; +config_opts['macros']['%_module_context']="00000000" +config_opts['macros']['%modularitylabel']="%{_module_name}:%{_module_stream}:%{_module_version}:%{_module_context}" + diff --git a/fc40ar60.cfg b/fc40ar60.cfg new file mode 100644 index 0000000..4542db4 --- /dev/null +++ b/fc40ar60.cfg @@ -0,0 +1,15 @@ +import datetime; + +include('fc40a.tpl') + +config_opts['root'] = 'fc40a' +config_opts['resultdir'] = "/var/lib/mock/fc40a" + +nn = datetime.datetime.now().strftime("%Y%m%d%H%M%S"); +config_opts['macros']['%_module_build']="1" +config_opts['macros']['%_module_name']="redis" +config_opts['macros']['%_module_stream']="remi-6.0" +config_opts['macros']['%_module_version']="40" + nn; +config_opts['macros']['%_module_context']="00000000" +config_opts['macros']['%modularitylabel']="%{_module_name}:%{_module_stream}:%{_module_version}:%{_module_context}" + diff --git a/fc40ar62.cfg b/fc40ar62.cfg new file mode 100644 index 0000000..6a3c913 --- /dev/null +++ b/fc40ar62.cfg @@ -0,0 +1,15 @@ +import datetime; + +include('fc40a.tpl') + +config_opts['root'] = 'fc40a' +config_opts['resultdir'] = "/var/lib/mock/fc40a" + +nn = datetime.datetime.now().strftime("%Y%m%d%H%M%S"); +config_opts['macros']['%_module_build']="1" +config_opts['macros']['%_module_name']="redis" +config_opts['macros']['%_module_stream']="remi-6.2" +config_opts['macros']['%_module_version']="40" + nn; +config_opts['macros']['%_module_context']="00000000" +config_opts['macros']['%modularitylabel']="%{_module_name}:%{_module_stream}:%{_module_version}:%{_module_context}" + diff --git a/fc40ar70.cfg b/fc40ar70.cfg new file mode 100644 index 0000000..b2bd7b8 --- /dev/null +++ b/fc40ar70.cfg @@ -0,0 +1,15 @@ +import datetime; + +include('fc40a.tpl') + +config_opts['root'] = 'fc40a' +config_opts['resultdir'] = "/var/lib/mock/fc40a" + +nn = datetime.datetime.now().strftime("%Y%m%d%H%M%S"); +config_opts['macros']['%_module_build']="1" +config_opts['macros']['%_module_name']="redis" +config_opts['macros']['%_module_stream']="remi-7.0" +config_opts['macros']['%_module_version']="40" + nn; +config_opts['macros']['%_module_context']="00000000" +config_opts['macros']['%modularitylabel']="%{_module_name}:%{_module_stream}:%{_module_version}:%{_module_context}" + diff --git a/fc40ar72.cfg b/fc40ar72.cfg new file mode 100644 index 0000000..0669dbd --- /dev/null +++ b/fc40ar72.cfg @@ -0,0 +1,15 @@ +import datetime; + +include('fc40a.tpl') + +config_opts['root'] = 'fc40a' +config_opts['resultdir'] = "/var/lib/mock/fc40a" + +nn = datetime.datetime.now().strftime("%Y%m%d%H%M%S"); +config_opts['macros']['%_module_build']="1" +config_opts['macros']['%_module_name']="redis" +config_opts['macros']['%_module_stream']="remi-7.2" +config_opts['macros']['%_module_version']="40" + nn; +config_opts['macros']['%_module_context']="00000000" +config_opts['macros']['%modularitylabel']="%{_module_name}:%{_module_stream}:%{_module_version}:%{_module_context}" + diff --git a/fc40ascl74.cfg b/fc40ascl74.cfg new file mode 100644 index 0000000..722cbb6 --- /dev/null +++ b/fc40ascl74.cfg @@ -0,0 +1,26 @@ +include('fc40a.tpl') + +config_opts['root'] = 'scl74fc40a' +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/scl74fc40a" +config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.fc40ascl74/" + +# Only needed to build main SCL package +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/1484400 +#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-scl74fc40a] +name=result-scl74fc40a +baseurl=file:///var/lib/mock/scl74fc40a/ +enabled=1 +metadata_expire=10 +skip_if_unavailable=True + +""" diff --git a/fc40ascl80.cfg b/fc40ascl80.cfg new file mode 100644 index 0000000..f0d755c --- /dev/null +++ b/fc40ascl80.cfg @@ -0,0 +1,26 @@ +include('fc40a.tpl') + +config_opts['root'] = 'scl80fc40a' +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/scl80fc40a" +config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.fc40ascl80/" + +# Only needed to build main SCL package +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/1484400 +#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-scl80fc40a] +name=result-scl80fc40a +baseurl=file:///var/lib/mock/scl80fc40a/ +enabled=1 +metadata_expire=10 +skip_if_unavailable=True + +""" diff --git a/fc40ascl81.cfg b/fc40ascl81.cfg new file mode 100644 index 0000000..fda1106 --- /dev/null +++ b/fc40ascl81.cfg @@ -0,0 +1,26 @@ +include('fc40a.tpl') + +config_opts['root'] = 'scl81fc40a' +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/scl81fc40a" +config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.fc40ascl81/" + +# Only needed to build main SCL package +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/1484400 +#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-scl81fc40a] +name=result-scl81fc40a +baseurl=file:///var/lib/mock/scl81fc40a/ +enabled=1 +metadata_expire=10 +skip_if_unavailable=True + +""" diff --git a/fc40ascl82.cfg b/fc40ascl82.cfg new file mode 100644 index 0000000..55c9f2c --- /dev/null +++ b/fc40ascl82.cfg @@ -0,0 +1,26 @@ +include('fc40a.tpl') + +config_opts['root'] = 'scl82fc40a' +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/scl82fc40a" +config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.fc40ascl82/" + +# Only needed to build main SCL package +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/1484400 +#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-scl82fc40a] +name=result-scl82fc40a +baseurl=file:///var/lib/mock/scl82fc40a/ +enabled=1 +metadata_expire=10 +skip_if_unavailable=True + +""" diff --git a/fc40ascl83.cfg b/fc40ascl83.cfg new file mode 100644 index 0000000..d330648 --- /dev/null +++ b/fc40ascl83.cfg @@ -0,0 +1,26 @@ +include('fc40a.tpl') + +config_opts['root'] = 'scl83fc40a' +config_opts['chroot_setup_cmd'] = 'install @buildsys-build ccache scl-utils-build php83-build php83-php-devel php83-php-pear' +config_opts['resultdir'] = "/var/lib/mock/scl83fc40a" +config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.fc40ascl83/" + +# Only needed to build main SCL package +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/1484400 +#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-scl83fc40a] +name=result-scl83fc40a +baseurl=file:///var/lib/mock/scl83fc40a/ +enabled=1 +metadata_expire=10 +skip_if_unavailable=True + +""" diff --git a/fc40x.cfg b/fc40x.cfg new file mode 100644 index 0000000..4d337f7 --- /dev/null +++ b/fc40x.cfg @@ -0,0 +1,5 @@ +include('fc40x.tpl') + +# Temp +#config_opts['chroot_setup_cmd'] = 'install @buildsys-build ccache' + diff --git a/fc40x.tpl b/fc40x.tpl new file mode 100644 index 0000000..ae3ff4d --- /dev/null +++ b/fc40x.tpl @@ -0,0 +1,112 @@ +include('vendor.tpl') + +config_opts['root'] = 'fc40x' +config_opts['target_arch'] = 'x86_64' +config_opts['chroot_setup_cmd'] = 'install @buildsys-build gcc' +config_opts['dist'] = 'fc40' # only useful for --resultdir variable subst +config_opts['extra_chroot_dirs'] = [ '/run/lock', ] +config_opts['releasever'] = '40' +config_opts['package_manager'] = 'dnf' + +config_opts['plugin_conf']['ccache_enable'] = True +config_opts['plugin_conf']['ccache_opts']['max_cache_size'] = '1G' +config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.fc40x/" + +config_opts['basedir'] = '/dev/shm/' +config_opts['resultdir'] = "/var/lib/mock/fc40x" +config_opts['cleanup_on_success'] = True +config_opts['cleanup_on_failure'] = False + +config_opts['createrepo_on_rpms'] = True +config_opts['createrepo_command'] = '/usr/bin/createrepo -d -q -x *.src.rpm' + +config_opts['macros']['%_topdir']="/builddir/build" +config_opts['macros']['%_smp_mflags']="-j15" +config_opts['macros']['%dist']=".fc40.remi" +config_opts['macros']['%fedora']="40" +config_opts['macros']['%_with_ibase']="1" +config_opts['macros']['%_with_oci8']="1" +config_opts['macros']['%runselftest']="1" + +config_opts['environment']['ACCEPT_EULA'] = 'Y' + +config_opts['yum.conf'] = """ +[main] +keepcache=1 +debuglevel=2 +reposdir=/dev/null +logfile=/var/log/yum.log +retries=20 +obsoletes=1 +gpgcheck=0 +assumeyes=1 +metadata_expire=80000 +fastestmirror=1 +max_parallel_downloads=6 + +# repos + +[fedora] +name=fedora +metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch +metadata_expire=80000 +##mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-40&arch=x86_64 +#baseurl=http://fr2.rpmfind.net/linux/fedora/releases/40/Everything/x86_64/os/ +# http://ftp.funet.fi/pub/mirrors/ftp.redhat.com/pub/fedora/linux/releases/40/Everything/x86_64/os/ +#baseurl=https://dl.fedoraproject.org/pub/fedora/linux/development/40/Everything/x86_64/os/ + +[updates] +name=updates +metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-released-f$releasever&arch=$basearch +#mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f40&arch=x86_64 +#baseurl=http://ftp.funet.fi/pub/mirrors/ftp.redhat.com/pub/fedora/linux/updates/1/x86_64/ +# http://mirrors.ircam.fr/pub/fedora/linux/updates/40/x86_64/ +# http://fr2.rpmfind.net/linux/fedora/updates/40/x86_64/ +#baseurl=https://dl.fedoraproject.org/pub/fedora/linux/updates/33/Everything/x86_64/ +enabled=1 + +[updates-testing] +name=updates-testing +#metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-f$releasever&arch=$basearch +#mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f40&arch=x86_64 +baseurl=https://dl.fedoraproject.org/pub/fedora/linux/updates/testing/40/Everything/x86_64/ +enabled=1 + +[remi] +name=remi public +baseurl=file:/home/rpmbuild/site/rpms/fedora/40/remi/x86_64/ +enabled=1 +skip_if_unavailable=True +metadata_expire=10 + +[remi-modular] +name=remi modular +baseurl=file:/home/rpmbuild/site/rpms/fedora/40/modular/x86_64/ +enabled=1 +skip_if_unavailable=True +metadata_expire=10 + +[remi-priv] +name=remi prive +baseurl=file:/home/rpmbuild/site/rpms/priv/x86_64/ +enabled=1 +metadata_expire=10 + +[remi-debuginfo] +name=remi-debuginfo +baseurl=file:/home/rpmbuild/site/rpms/fedora/40/debug-remi/x86_64/ +enabled=1 + +[result-fc40x] +name=result-fc40x +baseurl=file:/var/lib/mock/fc40x/ +metadata_expire=10 +enabled=1 +skip_if_unavailable=True + +[msprod] +name=msprod +baseurl=https://packages.microsoft.com/rhel/8/prod/ +enabled=0 + +""" diff --git a/fc40x74.cfg b/fc40x74.cfg new file mode 100644 index 0000000..8f628ef --- /dev/null +++ b/fc40x74.cfg @@ -0,0 +1,32 @@ +import datetime; + +include('fc40x.tpl') + +config_opts['chroot_setup_cmd'] = 'install @buildsys-build ccache' +config_opts['root'] = 'fc40x74' +config_opts['resultdir'] = "/var/lib/mock/fc40x74" +config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.fc40x74/" + +config_opts['module_enable'] = ['php:remi-7.4'] +config_opts['module_install'] = ['php:remi-7.4/devel'] + +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']="40" + nn; +config_opts['macros']['%_module_context']="00000000" +config_opts['macros']['%modularitylabel']="%{_module_name}:%{_module_stream}:%{_module_version}:%{_module_context}" + +config_opts['yum.conf'] += """ +[result-fc40x74] +name=result-fc40x74 +baseurl=file:/var/lib/mock/fc40x74/ +enabled=1 +metadata_expire=1 +module_hotfixes=1 +priority=1 +skip_if_unavailable=True + +""" + diff --git a/fc40x80.cfg b/fc40x80.cfg new file mode 100644 index 0000000..ff262ce --- /dev/null +++ b/fc40x80.cfg @@ -0,0 +1,32 @@ +import datetime; + +include('fc40x.tpl') + +config_opts['chroot_setup_cmd'] = 'install @buildsys-build ccache' +config_opts['root'] = 'fc40x80' +config_opts['resultdir'] = "/var/lib/mock/fc40x80" +config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.fc40x80/" + +config_opts['module_enable'] = ['php:remi-8.0'] +config_opts['module_install'] = ['php:remi-8.0/devel'] + +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-8.0" +config_opts['macros']['%_module_version']="40" + nn; +config_opts['macros']['%_module_context']="00000000" +config_opts['macros']['%modularitylabel']="%{_module_name}:%{_module_stream}:%{_module_version}:%{_module_context}" + +config_opts['yum.conf'] += """ +[result-fc40x80] +name=result-fc40x80 +baseurl=file:/var/lib/mock/fc40x80/ +enabled=1 +metadata_expire=1 +module_hotfixes=1 +priority=1 +skip_if_unavailable=True + +""" + diff --git a/fc40x81.cfg b/fc40x81.cfg new file mode 100644 index 0000000..09c5dc6 --- /dev/null +++ b/fc40x81.cfg @@ -0,0 +1,32 @@ +import datetime; + +include('fc40x.tpl') + +config_opts['chroot_setup_cmd'] = 'install @buildsys-build ccache' +config_opts['root'] = 'fc40x81' +config_opts['resultdir'] = "/var/lib/mock/fc40x81" +config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.fc40x81/" + +config_opts['module_enable'] = ['php:remi-8.1'] +config_opts['module_install'] = ['php:remi-8.1/devel'] + +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-8.1" +config_opts['macros']['%_module_version']="40" + nn; +config_opts['macros']['%_module_context']="00000000" +config_opts['macros']['%modularitylabel']="%{_module_name}:%{_module_stream}:%{_module_version}:%{_module_context}" + +config_opts['yum.conf'] += """ +[result-fc40x81] +name=result-fc40x81 +baseurl=file:/var/lib/mock/fc40x81/ +enabled=1 +metadata_expire=1 +module_hotfixes=1 +priority=1 +skip_if_unavailable=True + +""" + diff --git a/fc40x82.cfg b/fc40x82.cfg new file mode 100644 index 0000000..ea51a49 --- /dev/null +++ b/fc40x82.cfg @@ -0,0 +1,32 @@ +import datetime; + +include('fc40x.tpl') + +config_opts['chroot_setup_cmd'] = 'install @buildsys-build ccache' +config_opts['root'] = 'fc40x82' +config_opts['resultdir'] = "/var/lib/mock/fc40x82" +config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.fc40x82/" + +config_opts['module_enable'] = ['php:remi-8.2'] +config_opts['module_install'] = ['php:remi-8.2/devel'] + +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-8.2" +config_opts['macros']['%_module_version']="40" + nn; +config_opts['macros']['%_module_context']="00000000" +config_opts['macros']['%modularitylabel']="%{_module_name}:%{_module_stream}:%{_module_version}:%{_module_context}" + +config_opts['yum.conf'] += """ +[result-fc40x82] +name=result-fc40x82 +baseurl=file:/var/lib/mock/fc40x82/ +enabled=1 +metadata_expire=1 +module_hotfixes=1 +priority=1 +skip_if_unavailable=True + +""" + diff --git a/fc40x83.cfg b/fc40x83.cfg new file mode 100644 index 0000000..9750240 --- /dev/null +++ b/fc40x83.cfg @@ -0,0 +1,32 @@ +import datetime; + +include('fc40x.tpl') + +config_opts['chroot_setup_cmd'] = 'install @buildsys-build ccache' +config_opts['root'] = 'fc40x83' +config_opts['resultdir'] = "/var/lib/mock/fc40x83" +config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.fc40x83/" + +config_opts['module_enable'] = ['php:remi-8.3'] +config_opts['module_install'] = ['php:remi-8.3/devel'] + +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-8.3" +config_opts['macros']['%_module_version']="40" + nn; +config_opts['macros']['%_module_context']="00000000" +config_opts['macros']['%modularitylabel']="%{_module_name}:%{_module_stream}:%{_module_version}:%{_module_context}" + +config_opts['yum.conf'] += """ +[result-fc40x83] +name=result-fc40x83 +baseurl=file:/var/lib/mock/fc40x83/ +enabled=1 +metadata_expire=1 +module_hotfixes=1 +priority=1 +skip_if_unavailable=True + +""" + diff --git a/fc40xm.cfg b/fc40xm.cfg new file mode 100644 index 0000000..4f6ef22 --- /dev/null +++ b/fc40xm.cfg @@ -0,0 +1,15 @@ +import datetime; + +include('fc40x.tpl') + +config_opts['root'] = 'fc40x' +config_opts['resultdir'] = "/var/lib/mock/fc40x" + +nn = datetime.datetime.now().strftime("%Y%m%d%H%M%S"); +config_opts['macros']['%_module_build']="1" +config_opts['macros']['%_module_name']="memcached" +config_opts['macros']['%_module_stream']="remi" +config_opts['macros']['%_module_version']="40" + nn; +config_opts['macros']['%_module_context']="00000000" +config_opts['macros']['%modularitylabel']="%{_module_name}:%{_module_stream}:%{_module_version}:%{_module_context}" + diff --git a/fc40xr60.cfg b/fc40xr60.cfg new file mode 100644 index 0000000..ee13c47 --- /dev/null +++ b/fc40xr60.cfg @@ -0,0 +1,15 @@ +import datetime; + +include('fc40x.tpl') + +config_opts['root'] = 'fc40x' +config_opts['resultdir'] = "/var/lib/mock/fc40x" + +nn = datetime.datetime.now().strftime("%Y%m%d%H%M%S"); +config_opts['macros']['%_module_build']="1" +config_opts['macros']['%_module_name']="redis" +config_opts['macros']['%_module_stream']="remi-6.0" +config_opts['macros']['%_module_version']="40" + nn; +config_opts['macros']['%_module_context']="00000000" +config_opts['macros']['%modularitylabel']="%{_module_name}:%{_module_stream}:%{_module_version}:%{_module_context}" + diff --git a/fc40xr62.cfg b/fc40xr62.cfg new file mode 100644 index 0000000..e29f8e0 --- /dev/null +++ b/fc40xr62.cfg @@ -0,0 +1,15 @@ +import datetime; + +include('fc40x.tpl') + +config_opts['root'] = 'fc40x' +config_opts['resultdir'] = "/var/lib/mock/fc40x" + +nn = datetime.datetime.now().strftime("%Y%m%d%H%M%S"); +config_opts['macros']['%_module_build']="1" +config_opts['macros']['%_module_name']="redis" +config_opts['macros']['%_module_stream']="remi-6.2" +config_opts['macros']['%_module_version']="40" + nn; +config_opts['macros']['%_module_context']="00000000" +config_opts['macros']['%modularitylabel']="%{_module_name}:%{_module_stream}:%{_module_version}:%{_module_context}" + diff --git a/fc40xr70.cfg b/fc40xr70.cfg new file mode 100644 index 0000000..7de3575 --- /dev/null +++ b/fc40xr70.cfg @@ -0,0 +1,15 @@ +import datetime; + +include('fc40x.tpl') + +config_opts['root'] = 'fc40x' +config_opts['resultdir'] = "/var/lib/mock/fc40x" + +nn = datetime.datetime.now().strftime("%Y%m%d%H%M%S"); +config_opts['macros']['%_module_build']="1" +config_opts['macros']['%_module_name']="redis" +config_opts['macros']['%_module_stream']="remi-7.0" +config_opts['macros']['%_module_version']="40" + nn; +config_opts['macros']['%_module_context']="00000000" +config_opts['macros']['%modularitylabel']="%{_module_name}:%{_module_stream}:%{_module_version}:%{_module_context}" + diff --git a/fc40xr72.cfg b/fc40xr72.cfg new file mode 100644 index 0000000..66361ed --- /dev/null +++ b/fc40xr72.cfg @@ -0,0 +1,15 @@ +import datetime; + +include('fc40x.tpl') + +config_opts['root'] = 'fc40x' +config_opts['resultdir'] = "/var/lib/mock/fc40x" + +nn = datetime.datetime.now().strftime("%Y%m%d%H%M%S"); +config_opts['macros']['%_module_build']="1" +config_opts['macros']['%_module_name']="redis" +config_opts['macros']['%_module_stream']="remi-7.2" +config_opts['macros']['%_module_version']="40" + nn; +config_opts['macros']['%_module_context']="00000000" +config_opts['macros']['%modularitylabel']="%{_module_name}:%{_module_stream}:%{_module_version}:%{_module_context}" + diff --git a/fc40xscl74.cfg b/fc40xscl74.cfg new file mode 100644 index 0000000..7bf6dd7 --- /dev/null +++ b/fc40xscl74.cfg @@ -0,0 +1,26 @@ +include('fc40x.tpl') + +config_opts['root'] = 'scl74fc40x' +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/scl74fc40x" +config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.fc40xscl74/" + +# Only needed to build main SCL package +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/1484400 +#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-scl74fc40x] +name=result-scl74fc40x +baseurl=file:///var/lib/mock/scl74fc40x/ +enabled=1 +metadata_expire=10 +skip_if_unavailable=True + +""" diff --git a/fc40xscl80.cfg b/fc40xscl80.cfg new file mode 100644 index 0000000..76570a8 --- /dev/null +++ b/fc40xscl80.cfg @@ -0,0 +1,26 @@ +include('fc40x.tpl') + +config_opts['root'] = 'scl80fc40x' +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/scl80fc40x" +config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.fc40xscl80/" + +# Only needed to build main SCL package +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/1484400 +#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-scl80fc40x] +name=result-scl80fc40x +baseurl=file:///var/lib/mock/scl80fc40x/ +enabled=1 +metadata_expire=10 +skip_if_unavailable=True + +""" diff --git a/fc40xscl81.cfg b/fc40xscl81.cfg new file mode 100644 index 0000000..875a915 --- /dev/null +++ b/fc40xscl81.cfg @@ -0,0 +1,26 @@ +include('fc40x.tpl') + +config_opts['root'] = 'scl81fc40x' +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/scl81fc40x" +config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.fc40xscl81/" + +# Only needed to build main SCL package +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/1484400 +#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-scl81fc40x] +name=result-scl81fc40x +baseurl=file:///var/lib/mock/scl81fc40x/ +enabled=1 +metadata_expire=10 +skip_if_unavailable=True + +""" diff --git a/fc40xscl82.cfg b/fc40xscl82.cfg new file mode 100644 index 0000000..507d385 --- /dev/null +++ b/fc40xscl82.cfg @@ -0,0 +1,26 @@ +include('fc40x.tpl') + +config_opts['root'] = 'scl82fc40x' +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/scl82fc40x" +config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.fc40xscl82/" + +# Only needed to build main SCL package +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/1484400 +#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-scl82fc40x] +name=result-scl82fc40x +baseurl=file:///var/lib/mock/scl82fc40x/ +enabled=1 +metadata_expire=10 +skip_if_unavailable=True + +""" diff --git a/fc40xscl83.cfg b/fc40xscl83.cfg new file mode 100644 index 0000000..f9e43b0 --- /dev/null +++ b/fc40xscl83.cfg @@ -0,0 +1,26 @@ +include('fc40x.tpl') + +config_opts['root'] = 'scl83fc40x' +config_opts['chroot_setup_cmd'] = 'install @buildsys-build ccache scl-utils-build php83-build php83-php-devel php83-php-pear' +config_opts['resultdir'] = "/var/lib/mock/scl83fc40x" +config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.fc40xscl83/" + +# Only needed to build main SCL package +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/1484400 +#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-scl83fc40x] +name=result-scl83fc40x +baseurl=file:///var/lib/mock/scl83fc40x/ +enabled=1 +metadata_expire=10 +skip_if_unavailable=True + +""" -- cgit