From 15275fb4857d88ed3ea2e4e76c71bf35c6c89e04 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 10 Feb 2023 14:54:01 +0100 Subject: F38 mock config --- el8n81.cfg | 9 +++++ el9n81.cfg | 9 +++++ fc35n81.cfg | 22 ++++++++++++ fc38x.cfg | 5 +++ fc38x.tpl | 110 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ fc38x74.cfg | 32 +++++++++++++++++ fc38x80.cfg | 32 +++++++++++++++++ fc38x81.cfg | 32 +++++++++++++++++ fc38x82.cfg | 32 +++++++++++++++++ fc38xm.cfg | 15 ++++++++ fc38xr.cfg | 26 ++++++++++++++ fc38xr60.cfg | 15 ++++++++ fc38xr62.cfg | 15 ++++++++ fc38xr70.cfg | 15 ++++++++ 14 files changed, 369 insertions(+) create mode 100644 el8n81.cfg create mode 100644 el9n81.cfg create mode 100644 fc35n81.cfg create mode 100644 fc38x.cfg create mode 100644 fc38x.tpl create mode 100644 fc38x74.cfg create mode 100644 fc38x80.cfg create mode 100644 fc38x81.cfg create mode 100644 fc38x82.cfg create mode 100644 fc38xm.cfg create mode 100644 fc38xr.cfg create mode 100644 fc38xr60.cfg create mode 100644 fc38xr62.cfg create mode 100644 fc38xr70.cfg diff --git a/el8n81.cfg b/el8n81.cfg new file mode 100644 index 0000000..0b1e05c --- /dev/null +++ b/el8n81.cfg @@ -0,0 +1,9 @@ +# build noarch package using PHP 8.1 + +include('el8x.tpl') + +config_opts['root'] = 'el8x81' +config_opts['resultdir'] = "/var/lib/mock/el8x" + +config_opts['module_enable'] = ['swig', 'javapackages-runtime', 'mariadb:10.3', 'nodejs:10', 'postgresql:10', 'python27:2.7', 'python36:3.6', 'virt:rhel', 'httpd:2.4', 'nginx:1.14', 'php:remi-8.1', 'redis:remi-5.0'] + diff --git a/el9n81.cfg b/el9n81.cfg new file mode 100644 index 0000000..fdb053d --- /dev/null +++ b/el9n81.cfg @@ -0,0 +1,9 @@ +# build noarch package using PHP 8.1 + +include('el9x.tpl') + +config_opts['root'] = 'el9x81' +config_opts['resultdir'] = "/var/lib/mock/el9x" + +config_opts['module_enable'] = ['php:remi-8.1'] + diff --git a/fc35n81.cfg b/fc35n81.cfg new file mode 100644 index 0000000..57a2505 --- /dev/null +++ b/fc35n81.cfg @@ -0,0 +1,22 @@ +# build noarch package using PHP 8.1 + +include('fc35x.tpl') + +config_opts['root'] = 'fc35x81' +config_opts['resultdir'] = "/var/lib/mock/fc35x" + +config_opts['yum.conf'] += """ +[remi-php81] +name=remi php81 +baseurl=file:/home/rpmbuild/site/rpms/fedora/35/php81/x86_64/ +enabled=1 +metadata_expire=1 + +[result-fc35x] +name=result-fc35x +baseurl=file:/var/lib/mock/fc35x/ +metadata_expire=10 +enabled=1 + +""" + diff --git a/fc38x.cfg b/fc38x.cfg new file mode 100644 index 0000000..72891da --- /dev/null +++ b/fc38x.cfg @@ -0,0 +1,5 @@ +include('fc38x.tpl') + +# Temp +#config_opts['chroot_setup_cmd'] = 'install @buildsys-build ccache' + diff --git a/fc38x.tpl b/fc38x.tpl new file mode 100644 index 0000000..dc46b35 --- /dev/null +++ b/fc38x.tpl @@ -0,0 +1,110 @@ +include('vendor.tpl') + +config_opts['root'] = 'fc38x' +config_opts['target_arch'] = 'x86_64' +config_opts['chroot_setup_cmd'] = 'install @buildsys-build gcc' +config_opts['dist'] = 'fc38' # only useful for --resultdir variable subst +config_opts['extra_chroot_dirs'] = [ '/run/lock', ] +config_opts['releasever'] = '38' +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.fc38x/" + +config_opts['basedir'] = '/dev/shm/' +config_opts['resultdir'] = "/var/lib/mock/fc38x" +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']=".fc38.remi" +config_opts['macros']['%fedora']="38" +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-38&arch=x86_64 +#baseurl=http://fr2.rpmfind.net/linux/fedora/releases/38/Everything/x86_64/os/ +# http://ftp.funet.fi/pub/mirrors/ftp.redhat.com/pub/fedora/linux/releases/38/Everything/x86_64/os/ +#baseurl=https://dl.fedoraproject.org/pub/fedora/linux/development/38/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-f38&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/38/x86_64/ +# http://fr2.rpmfind.net/linux/fedora/updates/38/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-f38&arch=x86_64 +baseurl=https://dl.fedoraproject.org/pub/fedora/linux/updates/testing/38/Everything/x86_64/ +enabled=1 + +[remi] +name=remi public +baseurl=file:/home/rpmbuild/site/rpms/fedora/38/remi/x86_64/ +enabled=1 +metadata_expire=10 + +[remi-modular] +name=remi modular +baseurl=file:/home/rpmbuild/site/rpms/fedora/38/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/38/debug-remi/x86_64/ +enabled=1 + +[result-fc38x] +name=result-fc38x +baseurl=file:/var/lib/mock/fc38x/ +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/fc38x74.cfg b/fc38x74.cfg new file mode 100644 index 0000000..7d4b70a --- /dev/null +++ b/fc38x74.cfg @@ -0,0 +1,32 @@ +import datetime; + +include('fc38x.tpl') + +config_opts['chroot_setup_cmd'] = 'install @buildsys-build ccache' +config_opts['root'] = 'fc38x74' +config_opts['resultdir'] = "/var/lib/mock/fc38x74" +config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.fc38x74/" + +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']="38" + nn; +config_opts['macros']['%_module_context']="00000000" +config_opts['macros']['%modularitylabel']="%{_module_name}:%{_module_stream}:%{_module_version}:%{_module_context}" + +config_opts['yum.conf'] += """ +[result-fc38x74] +name=result-fc38x74 +baseurl=file:/var/lib/mock/fc38x74/ +enabled=1 +metadata_expire=1 +module_hotfixes=1 +priority=1 +skip_if_unavailable=True + +""" + diff --git a/fc38x80.cfg b/fc38x80.cfg new file mode 100644 index 0000000..d69a1a2 --- /dev/null +++ b/fc38x80.cfg @@ -0,0 +1,32 @@ +import datetime; + +include('fc38x.tpl') + +config_opts['chroot_setup_cmd'] = 'install @buildsys-build ccache' +config_opts['root'] = 'fc38x80' +config_opts['resultdir'] = "/var/lib/mock/fc38x80" +config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.fc38x80/" + +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']="38" + nn; +config_opts['macros']['%_module_context']="00000000" +config_opts['macros']['%modularitylabel']="%{_module_name}:%{_module_stream}:%{_module_version}:%{_module_context}" + +config_opts['yum.conf'] += """ +[result-fc38x80] +name=result-fc38x80 +baseurl=file:/var/lib/mock/fc38x80/ +enabled=1 +metadata_expire=1 +module_hotfixes=1 +priority=1 +skip_if_unavailable=True + +""" + diff --git a/fc38x81.cfg b/fc38x81.cfg new file mode 100644 index 0000000..bbc98f1 --- /dev/null +++ b/fc38x81.cfg @@ -0,0 +1,32 @@ +import datetime; + +include('fc38x.tpl') + +config_opts['chroot_setup_cmd'] = 'install @buildsys-build ccache' +config_opts['root'] = 'fc38x81' +config_opts['resultdir'] = "/var/lib/mock/fc38x81" +config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.fc38x81/" + +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']="38" + nn; +config_opts['macros']['%_module_context']="00000000" +config_opts['macros']['%modularitylabel']="%{_module_name}:%{_module_stream}:%{_module_version}:%{_module_context}" + +config_opts['yum.conf'] += """ +[result-fc38x81] +name=result-fc38x81 +baseurl=file:/var/lib/mock/fc38x81/ +enabled=1 +metadata_expire=1 +module_hotfixes=1 +priority=1 +skip_if_unavailable=True + +""" + diff --git a/fc38x82.cfg b/fc38x82.cfg new file mode 100644 index 0000000..2011bff --- /dev/null +++ b/fc38x82.cfg @@ -0,0 +1,32 @@ +import datetime; + +include('fc38x.tpl') + +config_opts['chroot_setup_cmd'] = 'install @buildsys-build ccache' +config_opts['root'] = 'fc38x82' +config_opts['resultdir'] = "/var/lib/mock/fc38x82" +config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.fc38x82/" + +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']="38" + nn; +config_opts['macros']['%_module_context']="00000000" +config_opts['macros']['%modularitylabel']="%{_module_name}:%{_module_stream}:%{_module_version}:%{_module_context}" + +config_opts['yum.conf'] += """ +[result-fc38x82] +name=result-fc38x82 +baseurl=file:/var/lib/mock/fc38x82/ +enabled=1 +metadata_expire=1 +module_hotfixes=1 +priority=1 +skip_if_unavailable=True + +""" + diff --git a/fc38xm.cfg b/fc38xm.cfg new file mode 100644 index 0000000..a448cd3 --- /dev/null +++ b/fc38xm.cfg @@ -0,0 +1,15 @@ +import datetime; + +include('fc38x.tpl') + +config_opts['root'] = 'fc38x' +config_opts['resultdir'] = "/var/lib/mock/fc38x" + +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']="38" + nn; +config_opts['macros']['%_module_context']="00000000" +config_opts['macros']['%modularitylabel']="%{_module_name}:%{_module_stream}:%{_module_version}:%{_module_context}" + diff --git a/fc38xr.cfg b/fc38xr.cfg new file mode 100644 index 0000000..7625895 --- /dev/null +++ b/fc38xr.cfg @@ -0,0 +1,26 @@ +include('fc38x.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-38&arch=x86_64 +enabled=1 + +[rpmfusion-free-updates] +name=rpmfusion-free-updates +mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=free-fedora-updates-released-38&arch=x86_64 +enabled=1 + +[rpmfusion-nonfree] +name=rpmfusion-nonfree +mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-fedora-38&arch=x86_64 +enabled=0 + +[rpmfusion-nonfree-updates] +name=rpmfusion-nonfree +mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-fedora-updates-released-38&arch=x86_64 +enabled=0 + +""" diff --git a/fc38xr60.cfg b/fc38xr60.cfg new file mode 100644 index 0000000..e709dc8 --- /dev/null +++ b/fc38xr60.cfg @@ -0,0 +1,15 @@ +import datetime; + +include('fc38x.tpl') + +config_opts['root'] = 'fc38x' +config_opts['resultdir'] = "/var/lib/mock/fc38x" + +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']="38" + nn; +config_opts['macros']['%_module_context']="00000000" +config_opts['macros']['%modularitylabel']="%{_module_name}:%{_module_stream}:%{_module_version}:%{_module_context}" + diff --git a/fc38xr62.cfg b/fc38xr62.cfg new file mode 100644 index 0000000..797afcd --- /dev/null +++ b/fc38xr62.cfg @@ -0,0 +1,15 @@ +import datetime; + +include('fc38x.tpl') + +config_opts['root'] = 'fc38x' +config_opts['resultdir'] = "/var/lib/mock/fc38x" + +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']="38" + nn; +config_opts['macros']['%_module_context']="00000000" +config_opts['macros']['%modularitylabel']="%{_module_name}:%{_module_stream}:%{_module_version}:%{_module_context}" + diff --git a/fc38xr70.cfg b/fc38xr70.cfg new file mode 100644 index 0000000..54145ff --- /dev/null +++ b/fc38xr70.cfg @@ -0,0 +1,15 @@ +import datetime; + +include('fc38x.tpl') + +config_opts['root'] = 'fc38x' +config_opts['resultdir'] = "/var/lib/mock/fc38x" + +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']="38" + nn; +config_opts['macros']['%_module_context']="00000000" +config_opts['macros']['%modularitylabel']="%{_module_name}:%{_module_stream}:%{_module_version}:%{_module_context}" + -- cgit