diff options
author | Remi Collet <remi@remirepo.net> | 2022-08-17 16:26:23 +0200 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2022-08-17 16:26:23 +0200 |
commit | 509e5e4d2fda30ab2d1939560f84361c6f9c6c41 (patch) | |
tree | 60c69eea14a90052e91361fa9e89712b32c16374 | |
parent | 13570fd715a91d9a1f60e975d16a8606862b53c9 (diff) |
f37 config
-rw-r--r-- | fc37x.cfg | 5 | ||||
-rw-r--r-- | fc37x.tpl | 110 | ||||
-rw-r--r-- | fc37x74.cfg | 32 | ||||
-rw-r--r-- | fc37x80.cfg | 32 | ||||
-rw-r--r-- | fc37x81.cfg | 32 | ||||
-rw-r--r-- | fc37xr.cfg | 26 | ||||
-rw-r--r-- | fc37xscl74.cfg | 25 | ||||
-rw-r--r-- | fc37xscl80.cfg | 25 | ||||
-rw-r--r-- | fc37xscl81.cfg | 25 | ||||
-rw-r--r-- | fc37xscl82.cfg | 25 |
10 files changed, 337 insertions, 0 deletions
diff --git a/fc37x.cfg b/fc37x.cfg new file mode 100644 index 0000000..07224af --- /dev/null +++ b/fc37x.cfg @@ -0,0 +1,5 @@ +include('fc37x.tpl') + +# Temp +#config_opts['chroot_setup_cmd'] = 'install @buildsys-build ccache' + diff --git a/fc37x.tpl b/fc37x.tpl new file mode 100644 index 0000000..1ee5284 --- /dev/null +++ b/fc37x.tpl @@ -0,0 +1,110 @@ +include('vendor.tpl') + +config_opts['root'] = 'fc37x' +config_opts['target_arch'] = 'x86_64' +config_opts['chroot_setup_cmd'] = 'install @buildsys-build gcc' +config_opts['dist'] = 'fc37' # only useful for --resultdir variable subst +config_opts['extra_chroot_dirs'] = [ '/run/lock', ] +config_opts['releasever'] = '37' +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.fc37x/" + +config_opts['basedir'] = '/dev/shm/' +config_opts['resultdir'] = "/var/lib/mock/fc37x" +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']=".fc37.remi" +config_opts['macros']['%fedora']="37" +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-37&arch=x86_64 +#baseurl=http://fr2.rpmfind.net/linux/fedora/releases/37/Everything/x86_64/os/ +# http://ftp.funet.fi/pub/mirrors/ftp.redhat.com/pub/fedora/linux/releases/37/Everything/x86_64/os/ +#baseurl=https://dl.fedoraproject.org/pub/fedora/linux/development/37/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-f37&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/37/x86_64/ +# http://fr2.rpmfind.net/linux/fedora/updates/37/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-f37&arch=x86_64 +baseurl=https://dl.fedoraproject.org/pub/fedora/linux/updates/testing/37/Everything/x86_64/ +enabled=1 + +[remi] +name=remi public +baseurl=file:/home/rpmbuild/site/rpms/fedora/37/remi/x86_64/ +enabled=1 +metadata_expire=10 + +[remi-modular] +name=remi modular +baseurl=file:/home/rpmbuild/site/rpms/fedora/37/modular/x86_64/ +enabled=1 +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/37/debug-remi/x86_64/ +enabled=1 + +[result-fc37x] +name=result-fc37x +baseurl=file:/var/lib/mock/fc37x/ +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/fc37x74.cfg b/fc37x74.cfg new file mode 100644 index 0000000..324e732 --- /dev/null +++ b/fc37x74.cfg @@ -0,0 +1,32 @@ +import datetime; + +include('fc37x.tpl') + +config_opts['chroot_setup_cmd'] = 'install @buildsys-build ccache' +config_opts['root'] = 'fc37x74' +config_opts['resultdir'] = "/var/lib/mock/fc37x74" +config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.fc37x74/" + +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']="37" + nn; +config_opts['macros']['%_module_context']="00000000" +config_opts['macros']['%modularitylabel']="%{_module_name}:%{_module_stream}:%{_module_version}:%{_module_context}" + +config_opts['yum.conf'] += """ +[result-fc37x74] +name=result-fc37x74 +baseurl=file:/var/lib/mock/fc37x74/ +enabled=1 +metadata_expire=1 +module_hotfixes=1 +priority=1 +skip_if_unavailable=True + +""" + diff --git a/fc37x80.cfg b/fc37x80.cfg new file mode 100644 index 0000000..79336cb --- /dev/null +++ b/fc37x80.cfg @@ -0,0 +1,32 @@ +import datetime; + +include('fc37x.tpl') + +config_opts['chroot_setup_cmd'] = 'install @buildsys-build ccache' +config_opts['root'] = 'fc37x80' +config_opts['resultdir'] = "/var/lib/mock/fc37x80" +config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.fc37x80/" + +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']="37" + nn; +config_opts['macros']['%_module_context']="00000000" +config_opts['macros']['%modularitylabel']="%{_module_name}:%{_module_stream}:%{_module_version}:%{_module_context}" + +config_opts['yum.conf'] += """ +[result-fc37x80] +name=result-fc37x80 +baseurl=file:/var/lib/mock/fc37x80/ +enabled=1 +metadata_expire=1 +module_hotfixes=1 +priority=1 +skip_if_unavailable=True + +""" + diff --git a/fc37x81.cfg b/fc37x81.cfg new file mode 100644 index 0000000..45f83cc --- /dev/null +++ b/fc37x81.cfg @@ -0,0 +1,32 @@ +import datetime; + +include('fc37x.tpl') + +config_opts['chroot_setup_cmd'] = 'install @buildsys-build ccache' +config_opts['root'] = 'fc37x81' +config_opts['resultdir'] = "/var/lib/mock/fc37x81" +config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.fc37x81/" + +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']="37" + nn; +config_opts['macros']['%_module_context']="00000000" +config_opts['macros']['%modularitylabel']="%{_module_name}:%{_module_stream}:%{_module_version}:%{_module_context}" + +config_opts['yum.conf'] += """ +[result-fc37x81] +name=result-fc37x81 +baseurl=file:/var/lib/mock/fc37x81/ +enabled=1 +metadata_expire=1 +module_hotfixes=1 +priority=1 +skip_if_unavailable=True + +""" + diff --git a/fc37xr.cfg b/fc37xr.cfg new file mode 100644 index 0000000..47cebd3 --- /dev/null +++ b/fc37xr.cfg @@ -0,0 +1,26 @@ +include('fc37x.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-37&arch=x86_64 +enabled=1 + +[rpmfusion-free-updates] +name=rpmfusion-free-updates +mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=free-fedora-updates-released-37&arch=x86_64 +enabled=0 + +[rpmfusion-nonfree] +name=rpmfusion-nonfree +mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-fedora-37&arch=x86_64 +enabled=0 + +[rpmfusion-nonfree-updates] +name=rpmfusion-nonfree +mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-fedora-updates-released-37&arch=x86_64 +enabled=0 + +""" diff --git a/fc37xscl74.cfg b/fc37xscl74.cfg new file mode 100644 index 0000000..96f1c4b --- /dev/null +++ b/fc37xscl74.cfg @@ -0,0 +1,25 @@ +include('fc37x.tpl') + +config_opts['root'] = 'scl74fc37x' +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/scl74fc37x" +config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.fc37xscl74/" + +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-scl74fc37x] +name=result-scl74fc37x +baseurl=file:///var/lib/mock/scl74fc37x/ +enabled=1 +metadata_expire=10 +skip_if_unavailable=True + +""" diff --git a/fc37xscl80.cfg b/fc37xscl80.cfg new file mode 100644 index 0000000..ca5e383 --- /dev/null +++ b/fc37xscl80.cfg @@ -0,0 +1,25 @@ +include('fc37x.tpl') + +config_opts['root'] = 'scl80fc37x' +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/scl80fc37x" +config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.fc37xscl80/" + +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-scl80fc37x] +name=result-scl80fc37x +baseurl=file:///var/lib/mock/scl80fc37x/ +enabled=1 +metadata_expire=10 +skip_if_unavailable=True + +""" diff --git a/fc37xscl81.cfg b/fc37xscl81.cfg new file mode 100644 index 0000000..569f4b3 --- /dev/null +++ b/fc37xscl81.cfg @@ -0,0 +1,25 @@ +include('fc37x.tpl') + +config_opts['root'] = 'scl81fc37x' +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/scl81fc37x" +config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.fc37xscl81/" + +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-scl81fc37x] +name=result-scl81fc37x +baseurl=file:///var/lib/mock/scl81fc37x/ +enabled=1 +metadata_expire=10 +skip_if_unavailable=True + +""" diff --git a/fc37xscl82.cfg b/fc37xscl82.cfg new file mode 100644 index 0000000..10c77c6 --- /dev/null +++ b/fc37xscl82.cfg @@ -0,0 +1,25 @@ +include('fc37x.tpl') + +config_opts['root'] = 'scl82fc37x' +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/scl82fc37x" +config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.fc37xscl82/" + +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-scl82fc37x] +name=result-scl82fc37x +baseurl=file:///var/lib/mock/scl82fc37x/ +enabled=1 +metadata_expire=10 +skip_if_unavailable=True + +""" |