From 6701f02977131b8c8081c4ad8baaac227f65381d Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 21 Aug 2024 11:59:32 +0200 Subject: F41 config + SCL --- el8x.tpl | 2 +- fc41a.cfg | 5 +++ fc41a.tpl | 114 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ fc41ascl74.cfg | 26 +++++++++++++ fc41ascl80.cfg | 26 +++++++++++++ fc41ascl81.cfg | 26 +++++++++++++ fc41ascl82.cfg | 26 +++++++++++++ fc41ascl83.cfg | 26 +++++++++++++ fc41ascl84.cfg | 26 +++++++++++++ fc41x.cfg | 5 +++ fc41x.tpl | 119 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ fc41xscl74.cfg | 26 +++++++++++++ fc41xscl80.cfg | 26 +++++++++++++ fc41xscl81.cfg | 26 +++++++++++++ fc41xscl82.cfg | 26 +++++++++++++ fc41xscl83.cfg | 26 +++++++++++++ fc41xscl84.cfg | 26 +++++++++++++ 17 files changed, 556 insertions(+), 1 deletion(-) create mode 100644 fc41a.cfg create mode 100644 fc41a.tpl create mode 100644 fc41ascl74.cfg create mode 100644 fc41ascl80.cfg create mode 100644 fc41ascl81.cfg create mode 100644 fc41ascl82.cfg create mode 100644 fc41ascl83.cfg create mode 100644 fc41ascl84.cfg create mode 100644 fc41x.cfg create mode 100644 fc41x.tpl create mode 100644 fc41xscl74.cfg create mode 100644 fc41xscl80.cfg create mode 100644 fc41xscl81.cfg create mode 100644 fc41xscl82.cfg create mode 100644 fc41xscl83.cfg create mode 100644 fc41xscl84.cfg diff --git a/el8x.tpl b/el8x.tpl index 277f95a..121be76 100644 --- a/el8x.tpl +++ b/el8x.tpl @@ -88,7 +88,7 @@ metadata_expire=30 [remi-priv] name=remi prive baseurl=file:/home/rpmbuild/site/rpms/priv/x86_64/ -enabled=1 +enabled=0 metadata_expire=30 [remi-priv-el8] diff --git a/fc41a.cfg b/fc41a.cfg new file mode 100644 index 0000000..c84f91c --- /dev/null +++ b/fc41a.cfg @@ -0,0 +1,5 @@ +include('fc41a.tpl') + +# Temp +#config_opts['chroot_setup_cmd'] = 'install @buildsys-build ccache' + diff --git a/fc41a.tpl b/fc41a.tpl new file mode 100644 index 0000000..42806d4 --- /dev/null +++ b/fc41a.tpl @@ -0,0 +1,114 @@ +include('vendor.tpl') + +config_opts['root'] = 'fc41a' +config_opts['target_arch'] = 'aarch64' +config_opts['chroot_setup_cmd'] = 'install @buildsys-build gcc remi-crypto-legacy' +config_opts['dist'] = 'fc41' # only useful for --resultdir variable subst +config_opts['extra_chroot_dirs'] = [ '/run/lock', ] +config_opts['releasever'] = '41' +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.fc41a/" + +config_opts['basedir'] = '/dev/shm/' +config_opts['resultdir'] = "/var/lib/mock/fc41a" +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']="-j24" +config_opts['macros']['%dist']=".fc41.remi" +config_opts['macros']['%fedora']="41" +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-41&arch=aarch64 +#baseurl=http://fr2.rpmfind.net/linux/fedora/releases/41/Everything/aarch64/os/ +# http://ftp.funet.fi/pub/mirrors/ftp.redhat.com/pub/fedora/linux/releases/41/Everything/aarch64/os/ +baseurl=https://dl.fedoraproject.org/pub/fedora/linux/development/41/Everything/aarch64/os/ +#baseurl=https://dl.fedoraproject.org/pub/fedora/linux/releases/41/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-f41&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/41/aarch64/ +# http://fr2.rpmfind.net/linux/fedora/updates/41/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-f41&arch=aarch64 +baseurl=https://dl.fedoraproject.org/pub/fedora/linux/updates/testing/41/Everything/aarch64/ +enabled=0 + +[remi] +name=remi public +baseurl=http://remi/repo/fedora/41/remi/aarch64/ +enabled=1 +skip_if_unavailable=True +metadata_expire=10 + +[remi-modular] +name=remi modular +baseurl=http://remi/repo/fedora/41/modular/aarch64/ +enabled=1 +skip_if_unavailable=True +metadata_expire=10 + +[remi-priv] +name=remi prive +baseurl=file:/home/remi/priv/fc41.aarch64/ +enabled=1 +metadata_expire=10 +skip_if_unavailable=True + +[remi-debuginfo] +name=remi-debuginfo +baseurl=http://remi/repo/fedora/41/debug-remi/aarch64/ +enabled=0 + +[result-fc41a] +name=result-fc41a +baseurl=file:/var/lib/mock/fc41a/ +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/fc41ascl74.cfg b/fc41ascl74.cfg new file mode 100644 index 0000000..0caa541 --- /dev/null +++ b/fc41ascl74.cfg @@ -0,0 +1,26 @@ +include('fc41a.tpl') + +config_opts['root'] = 'scl74fc41a' +config_opts['chroot_setup_cmd'] = 'install @buildsys-build remi-crypto-legacy ccache scl-utils-build php74-build php74-php-devel php74-php-pear' +config_opts['resultdir'] = "/var/lib/mock/scl74fc41a" +config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.fc41ascl74/" + +# 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/1484410 +#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-scl74fc41a] +name=result-scl74fc41a +baseurl=file:///var/lib/mock/scl74fc41a/ +enabled=1 +metadata_expire=10 +skip_if_unavailable=True + +""" diff --git a/fc41ascl80.cfg b/fc41ascl80.cfg new file mode 100644 index 0000000..81c3e6c --- /dev/null +++ b/fc41ascl80.cfg @@ -0,0 +1,26 @@ +include('fc41a.tpl') + +config_opts['root'] = 'scl80fc41a' +config_opts['chroot_setup_cmd'] = 'install @buildsys-build remi-crypto-legacy ccache scl-utils-build php80-build php80-php-devel php80-php-pear' +config_opts['resultdir'] = "/var/lib/mock/scl80fc41a" +config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.fc41ascl80/" + +# 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/1484410 +#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-scl80fc41a] +name=result-scl80fc41a +baseurl=file:///var/lib/mock/scl80fc41a/ +enabled=1 +metadata_expire=10 +skip_if_unavailable=True + +""" diff --git a/fc41ascl81.cfg b/fc41ascl81.cfg new file mode 100644 index 0000000..1a3a456 --- /dev/null +++ b/fc41ascl81.cfg @@ -0,0 +1,26 @@ +include('fc41a.tpl') + +config_opts['root'] = 'scl81fc41a' +config_opts['chroot_setup_cmd'] = 'install @buildsys-build remi-crypto-legacy ccache scl-utils-build php81-build php81-php-devel php81-php-pear' +config_opts['resultdir'] = "/var/lib/mock/scl81fc41a" +config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.fc41ascl81/" + +# 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/1484410 +#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-scl81fc41a] +name=result-scl81fc41a +baseurl=file:///var/lib/mock/scl81fc41a/ +enabled=1 +metadata_expire=10 +skip_if_unavailable=True + +""" diff --git a/fc41ascl82.cfg b/fc41ascl82.cfg new file mode 100644 index 0000000..cadff74 --- /dev/null +++ b/fc41ascl82.cfg @@ -0,0 +1,26 @@ +include('fc41a.tpl') + +config_opts['root'] = 'scl82fc41a' +config_opts['chroot_setup_cmd'] = 'install @buildsys-build remi-crypto-legacy ccache scl-utils-build php82-build php82-php-devel php82-php-pear' +config_opts['resultdir'] = "/var/lib/mock/scl82fc41a" +config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.fc41ascl82/" + +# 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/1484410 +#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-scl82fc41a] +name=result-scl82fc41a +baseurl=file:///var/lib/mock/scl82fc41a/ +enabled=1 +metadata_expire=10 +skip_if_unavailable=True + +""" diff --git a/fc41ascl83.cfg b/fc41ascl83.cfg new file mode 100644 index 0000000..c546739 --- /dev/null +++ b/fc41ascl83.cfg @@ -0,0 +1,26 @@ +include('fc41a.tpl') + +config_opts['root'] = 'scl83fc41a' +config_opts['chroot_setup_cmd'] = 'install @buildsys-build remi-crypto-legacy ccache scl-utils-build php83-build php83-php-devel php83-php-pear' +config_opts['resultdir'] = "/var/lib/mock/scl83fc41a" +config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.fc41ascl83/" + +# 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/1484410 +#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-scl83fc41a] +name=result-scl83fc41a +baseurl=file:///var/lib/mock/scl83fc41a/ +enabled=1 +metadata_expire=10 +skip_if_unavailable=True + +""" diff --git a/fc41ascl84.cfg b/fc41ascl84.cfg new file mode 100644 index 0000000..221d831 --- /dev/null +++ b/fc41ascl84.cfg @@ -0,0 +1,26 @@ +include('fc41a.tpl') + +config_opts['root'] = 'scl84fc41a' +config_opts['chroot_setup_cmd'] = 'install @buildsys-build remi-crypto-legacy ccache scl-utils-build php84-build php84-php-devel php84-php-pear' +config_opts['resultdir'] = "/var/lib/mock/scl84fc41a" +config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.fc41ascl84/" + +# 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/1484410 +#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-scl84fc41a] +name=result-scl84fc41a +baseurl=file:///var/lib/mock/scl84fc41a/ +enabled=1 +metadata_expire=10 +skip_if_unavailable=True + +""" diff --git a/fc41x.cfg b/fc41x.cfg new file mode 100644 index 0000000..51c6d67 --- /dev/null +++ b/fc41x.cfg @@ -0,0 +1,5 @@ +include('fc41x.tpl') + +# Temp +#config_opts['chroot_setup_cmd'] = 'install @buildsys-build ccache' + diff --git a/fc41x.tpl b/fc41x.tpl new file mode 100644 index 0000000..0a9332f --- /dev/null +++ b/fc41x.tpl @@ -0,0 +1,119 @@ +include('vendor.tpl') + +config_opts['root'] = 'fc41x' +config_opts['target_arch'] = 'x86_64' +config_opts['chroot_setup_cmd'] = 'install @buildsys-build gcc ccache remi-crypto-legacy' +config_opts['dist'] = 'fc41' # only useful for --resultdir variable subst +config_opts['extra_chroot_dirs'] = [ '/run/lock', ] +config_opts['releasever'] = '41' +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.fc41x/" + +config_opts['basedir'] = '/dev/shm/' +config_opts['resultdir'] = "/var/lib/mock/fc41x" +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']=".fc41.remi" +config_opts['macros']['%fedora']="41" +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-41&arch=x86_64 +#baseurl=http://fr2.rpmfind.net/linux/fedora/releases/41/Everything/x86_64/os/ +# http://ftp.funet.fi/pub/mirrors/ftp.redhat.com/pub/fedora/linux/releases/41/Everything/x86_64/os/ +baseurl=https://dl.fedoraproject.org/pub/fedora/linux/development/41/Everything/x86_64/os/ +#baseurl=https://dl.fedoraproject.org/pub/fedora/linux/releases/41/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-f41&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/41/x86_64/ +# http://fr2.rpmfind.net/linux/fedora/updates/41/x86_64/ +baseurl=https://dl.fedoraproject.org/pub/fedora/linux/updates/41/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-f41&arch=x86_64 +baseurl=https://dl.fedoraproject.org/pub/fedora/linux/updates/testing/41/Everything/x86_64/ +enabled=0 + +[remi] +name=remi public +baseurl=file:/home/rpmbuild/site/rpms/fedora/41/remi/x86_64/ +enabled=1 +skip_if_unavailable=True +metadata_expire=10 + +[remi-modular] +name=remi modular +baseurl=file:/home/rpmbuild/site/rpms/fedora/41/modular/x86_64/ +enabled=1 +skip_if_unavailable=True +metadata_expire=10 + +[remi-priv-1] +name=remi prive 1 +baseurl=file:/home/rpmbuild/site/rpms/priv/x86_64/ +enabled=1 +metadata_expire=10 + +[remi-priv-2] +name=remi prive 2 +baseurl=file:/home/rpmbuild/site/rpms/priv/fc41.x86_64/ +enabled=1 +metadata_expire=10 + +[remi-debuginfo] +name=remi-debuginfo +baseurl=file:/home/rpmbuild/site/rpms/fedora/41/debug-remi/x86_64/ +enabled=1 + +[result-fc41x] +name=result-fc41x +baseurl=file:/var/lib/mock/fc41x/ +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/fc41xscl74.cfg b/fc41xscl74.cfg new file mode 100644 index 0000000..e9df0af --- /dev/null +++ b/fc41xscl74.cfg @@ -0,0 +1,26 @@ +include('fc41x.tpl') + +config_opts['root'] = 'scl74fc41x' +config_opts['chroot_setup_cmd'] = 'install @buildsys-build remi-crypto-legacy ccache scl-utils-build php74-build php74-php-devel php74-php-pear' +config_opts['resultdir'] = "/var/lib/mock/scl74fc41x" +config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.fc41xscl74/" + +# 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/1484410 +#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-scl74fc41x] +name=result-scl74fc41x +baseurl=file:///var/lib/mock/scl74fc41x/ +enabled=1 +metadata_expire=10 +skip_if_unavailable=True + +""" diff --git a/fc41xscl80.cfg b/fc41xscl80.cfg new file mode 100644 index 0000000..81ca100 --- /dev/null +++ b/fc41xscl80.cfg @@ -0,0 +1,26 @@ +include('fc41x.tpl') + +config_opts['root'] = 'scl80fc41x' +config_opts['chroot_setup_cmd'] = 'install @buildsys-build remi-crypto-legacy ccache scl-utils-build php80-build php80-php-devel php80-php-pear' +config_opts['resultdir'] = "/var/lib/mock/scl80fc41x" +config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.fc41xscl80/" + +# 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/1484410 +#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-scl80fc41x] +name=result-scl80fc41x +baseurl=file:///var/lib/mock/scl80fc41x/ +enabled=1 +metadata_expire=10 +skip_if_unavailable=True + +""" diff --git a/fc41xscl81.cfg b/fc41xscl81.cfg new file mode 100644 index 0000000..8b067b4 --- /dev/null +++ b/fc41xscl81.cfg @@ -0,0 +1,26 @@ +include('fc41x.tpl') + +config_opts['root'] = 'scl81fc41x' +config_opts['chroot_setup_cmd'] = 'install @buildsys-build remi-crypto-legacy ccache scl-utils-build php81-build php81-php-devel php81-php-pear' +config_opts['resultdir'] = "/var/lib/mock/scl81fc41x" +config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.fc41xscl81/" + +# 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/1484410 +#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-scl81fc41x] +name=result-scl81fc41x +baseurl=file:///var/lib/mock/scl81fc41x/ +enabled=1 +metadata_expire=10 +skip_if_unavailable=True + +""" diff --git a/fc41xscl82.cfg b/fc41xscl82.cfg new file mode 100644 index 0000000..3319f3a --- /dev/null +++ b/fc41xscl82.cfg @@ -0,0 +1,26 @@ +include('fc41x.tpl') + +config_opts['root'] = 'scl82fc41x' +config_opts['chroot_setup_cmd'] = 'install @buildsys-build remi-crypto-legacy ccache scl-utils-build php82-build php82-php-devel php82-php-pear' +config_opts['resultdir'] = "/var/lib/mock/scl82fc41x" +config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.fc41xscl82/" + +# 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/1484410 +#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-scl82fc41x] +name=result-scl82fc41x +baseurl=file:///var/lib/mock/scl82fc41x/ +enabled=1 +metadata_expire=10 +skip_if_unavailable=True + +""" diff --git a/fc41xscl83.cfg b/fc41xscl83.cfg new file mode 100644 index 0000000..7471080 --- /dev/null +++ b/fc41xscl83.cfg @@ -0,0 +1,26 @@ +include('fc41x.tpl') + +config_opts['root'] = 'scl83fc41x' +config_opts['chroot_setup_cmd'] = 'install @buildsys-build remi-crypto-legacy ccache scl-utils-build php83-build php83-php-devel php83-php-pear' +config_opts['resultdir'] = "/var/lib/mock/scl83fc41x" +config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.fc41xscl83/" + +# 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/1484410 +#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-scl83fc41x] +name=result-scl83fc41x +baseurl=file:///var/lib/mock/scl83fc41x/ +enabled=1 +metadata_expire=10 +skip_if_unavailable=True + +""" diff --git a/fc41xscl84.cfg b/fc41xscl84.cfg new file mode 100644 index 0000000..da491f3 --- /dev/null +++ b/fc41xscl84.cfg @@ -0,0 +1,26 @@ +include('fc41x.tpl') + +config_opts['root'] = 'scl84fc41x' +config_opts['chroot_setup_cmd'] = 'install @buildsys-build remi-crypto-legacy ccache scl-utils-build php84-build php84-php-devel php84-php-pear' +config_opts['resultdir'] = "/var/lib/mock/scl84fc41x" +config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.fc41xscl84/" + +# 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/1484410 +#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-scl84fc41x] +name=result-scl84fc41x +baseurl=file:///var/lib/mock/scl84fc41x/ +enabled=1 +metadata_expire=10 +skip_if_unavailable=True + +""" -- cgit